Newer
Older
/* file: main.css
author: Leif DeJong
created: Jan 2012
Tristan Wright July 2012
modified to support new elements for eDisplay-v2
removed .menu styles, original in archive
Lillian Gray 2017-2020
*/
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
* {
margin:0;
padding:0;
outline: none;
}
body {
background: url("../images/header_bg.png") repeat-x scroll left top #EDEDED;
font-family: Georgia, Serif;
overflow-x: hidden;
}
#overlay{
visibility: hidden;
position: absolute;
left: 0px;
top: 0px;
width:100%;
height:100%;
text-align:center;
z-index: 10;
color: white;
background-color: rgba(200,200,200,.5);
}
#header{
max-width:1000px;
margin: 0 auto;
}
#header a, #header button{
text-decoration:none;
outline:none;
align-self: flex-end;
}
#page-title{
font-size:30px;
color:#9f2d42;
white-space: nowrap;
}
#page-title:hover, #page-title:active{
color: #000;
}
#dashboard{
width:80%;
margin:20px auto;
position:relative;
overflow: hidden;
background-color: #fff;
/* Border Radius */
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
-moz-border-radius: 5px 5px;
-khtml-border-radius: 5px 5px;
-webkit-border-radius: 5px 5px;
/* Box Shadow */
-moz-box-shadow: 0px 0px 5px #666;
-webkit-box-shadow: 0px 0px 5px #666;
box-shadow: 0px 0px 5px #666;
-webkit-transition: -webkit-box-shadow 0.1s ease-out;
-moz-transition: -webkit-box-shadow 0.1s ease-out;
-o-transition: -webkit-box-shadow 0.1s ease-out;
transition: -webkit-box-shadow 0.1s ease-out;
}
.about{
line-height: 25px;
text-align: justify;
padding: 4%;
text-indent: 6%;
margin: auto;
max-width: 700px;
}
.displayNone{
display: none;
}
#lineChart{
margin-top: 0px;
}
#control{
height: 70px;
}
#sidebar{
width: 80%;
margin: 0px auto;
text-align: center;
}
.btnGroup > button:active{
background-color: #ddd;
}
.btn, .aboutBtn, .getPlink, .csvBtn{
font-size: 18px;
font-family: Georgia, Serif;
border: 1px solid #666;
border-radius: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-moz-box-shadow: 0px 0px 2px #666;
-webkit-box-shadow: 0px 0px 2px #666;
box-shadow: 0px 0px 2px #666;
}
.aboutBtn{
font-size: 15px;
height: 35px;
width: 100px;
background: white;
text-align: center;
vertical-align: text-top;
}
.btn{
font-size: 16px;
height: 50px;
padding: 0px 42px 0 10px;
margin: 1px;
text-align: left;
background: transparent url('../images/cbox1.png') center right no-repeat;
}
.btn.active, .btn.active:active{
background: transparent url('../images/cbox2.png') center right no-repeat;
color: whitesmoke;
}
.btn:hover, .btn.active:hover, .aboutBtn:hover{
border: 1px solid #222;
-moz-box-shadow: 0px 0px 4px #222;
-webkit-box-shadow: 0px 0px 4px #222;
box-shadow: 0px 0px 4px #222;
}
.aboutBtn:active, .getPlink:active, .csvBtn:active{
background-color: #ddd;
}
form{text-align:center; font-family: Georgia, Serif;}
input{font-family: 'Georgia', Serif;}
#plink{
width: 150px;
height: 20px;
font-size: 14px;
}
.getPlink, .csvBtn{
padding: 3px;
font-size: 16px;
background: white;
.getPlink::before, .getPlink::after{
position: absolute;
opacity: 0;
transition: opacity 1s ease-in-out;
}
.getPlink.inactive::before, .getPlink.inactive::after {
.getPlink.active::before, .getPlink.active::after {
opacity: 1;
}
.getPlink::before {
content: 'Permalink Copied!';
font-size: 12px;
color: white;
margin: 0 auto;
width: 60%;
height: 140%;
line-height: 140%;
border-radius: 5px;
background: #9f2d42;
bottom: 150%;
left:20%;
}
.getPlink::after {
content: '';
width: 0;
height: 0;
border: 10px solid transparent;
border-top-color: #9f2d42;
left: calc(50% - 10px);
bottom: calc(150% - 16px);
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
}
#site-details{
margin-bottom: 20px;
text-align: center;
font-size:10px;
color:#888;
}
#site-options{
width: 80%;
margin: 20px auto;
align-items: center;
}
/*Gives support for flexbox in more browsers
Margins can be edited once there is support for row-gap and column-gap*/
.flex-parent{
display: -ms-flexbox;
display: flex;
-ms-flex-pack: distribute;
justify-content: space-around;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
margin: -10px;
}
.flex-parent>*{
margin: 10px;
}