-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
173 lines (141 loc) · 3.2 KB
/
style.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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
#intro {
font-size: 18px;
font-family: "Overpass";
margin: 40px auto;
max-width: 650px;
line-height: 1.6;
color: #444;
padding: 0 10px;
font-weight: 300;
}
#credit {
position: fixed;
bottom: 0;
font-size: 12px;
font-family: "Overpass";
font-weight: 300;
margin: auto;
max-width: 650px;
color: #BBB;
}
#blog {
font-family: "Overpass";
font-weight: 300;
margin: 40px auto;
max-width: 650px;
line-height: 1.6;
color: #444;
padding: 0 10px;
}
#blog p {
font-size: 14px;
}
#blog ul {
font-size: 14px;
}
.tooltip {
border-bottom: 1px dotted black;
/* If you want dots under the hoverable text */
}
/* Tooltip text */
.tooltip .tooltiptext {
visibility: hidden;
width: 200px;
background-color: rgb(79, 79, 79);
color: #fff;
text-align: center;
padding: 0 0;
border-radius: 6px;
/* Use half of the width (120/2 = 60), to center the tooltip */
z-index: 1;
position: absolute;
}
.tooltip .tooltiptextwide {
visibility: hidden;
width: 400px;
background-color: rgb(79, 79, 79);
color: #fff;
text-align: center;
padding: 0 0;
border-radius: 6px;
/* Use half of the width (120/2 = 60), to center the tooltip */
z-index: 1;
position: absolute;
}
/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
visibility: visible;
}
.tooltip:hover .tooltiptextwide {
visibility: visible;
}
a {
color: #00679E;
}
.quiet {
text-decoration: none;
color: #444;
}
h2 {
line-height: 1.2;
}
body {
background: #F2F2F2;
}
/* for navbar */
/* Add a black background color to the top navigation */
.topnav {
background-color: #333;
overflow: hidden;
font-family: "Overpass";
}
/* Style the links inside the navigation bar */
.topnav a {
float: left;
display: block;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}
/* Change the color of links on hover */
.topnav a:hover {
background-color: #ddd;
color: black;
}
/* Add an active class to highlight the current page */
.topnav a.active {
background-color: #0083c9;
color: white;
}
/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
display: none;
}
/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
.topnav a:not(:first-child) {
display: none;
}
.topnav a.icon {
float: right;
display: block;
}
}
/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
.topnav.responsive {
position: relative;
}
.topnav.responsive a.icon {
position: absolute;
right: 0;
top: 0;
}
.topnav.responsive a {
float: none;
display: block;
text-align: left;
}
}