-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.css
112 lines (107 loc) · 2.21 KB
/
index.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'dosis', sans-serif;
letter-spacing: 0.2px;
line-height: 1.2;
}
body {
position: relative;
background-image: url('./img/bigstock-chart-background-203062333.png');
background-attachment: fixed;
background-size: cover;
background-repeat: no-repeat;
min-height: 100vh;
}
nav, footer {
position: relative; /* moves these elements in front of mainContainer border*/
display: flex;
justify-content: center;
align-items: center;
width: 100%;
min-width: 800px;
height: 100px;
color: #ddf;
font-size: 1.1rem;
text-transform: uppercase;
background-color: rgba(0,0,20,0.4);
}
nav {
border-bottom: 1px solid black;
}
footer {
border-top: 1px solid black;
}
nav ul, footer ul {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
min-width: 800px;
max-width: 1200px;
height: 80%;
list-style-type: none;
}
nav li, footer li {
display: flex;
justify-content: center;
align-items: center;
flex: 1 0 100px;
}
nav a, footer a {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
text-decoration: none;
color: inherit;
cursor: pointer;
}
.mainContent {
box-sizing: content-box;
overflow-x: scroll;
min-height: 100vh;
margin: -100px auto;
border: 2px solid black;
border-bottom: 100px solid rgba(0,0,0,0.6);
border-top: 100px solid rgba(0,0,0,0.4);
background-clip: padding-box;
background-color: #c8c8d0;
width: 80%;
min-width: 800px;
max-width: 1200px;
}
#title {
margin: 2.5em auto 1em;
text-align: center;
}
h3, h4 {
margin: auto;
text-align: center;
}
svg {
position: relative;
display: block;
margin: 3em auto;
border: 1px solid black;
background-color: rgb(238, 238, 238);
}
.bar:hover, .dot:hover {
cursor: pointer;
fill: rgb(0, 238, 255);
}
.dot {
stroke: #000;
opacity: 0.75;
}
div#tooltip {
z-index: 1000;
position: absolute;
padding: 0.5em 0.75em;
border-radius: 3px;
background-color: #000;
color: #eef;
line-height: 1.6;
}