-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
319 lines (300 loc) · 5.8 KB
/
styles.css
File metadata and controls
319 lines (300 loc) · 5.8 KB
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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
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
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
body {
background-color: #000000;
color: #fafafafa;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 20px;
}
#logo {
float: left;
display: inline-block;
}
/* Menu */
/*Strip the ul of padding and list styling*/
nav {
width: 100%;
height: 2.5em;
}
#menu {
list-style-type:none;
margin:0;
padding:0;
text-align: center;
}
/*Create a horizontal list with spacing*/
.menuitem {
display:inline-block;
margin-right: 1px;
}
/*Style for menu links*/
.menuitem a {
display:block;
min-width:140px;
height: 50px;
text-align: center;
line-height: 50px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #fff;
text-decoration: none;
background-color: rgba(0,0,0,.5);
}
.current {
background: rgba(200,200,200, .1);
}
/*Hover state for top level links*/
.menuitem:hover a {
background: rgba(200,200,200, .1);
}
/*Style for dropdown links*/
.menuitem:hover ul a {
background: #f3f3f3;
color: #2f3036;
height: 40px;
line-height: 40px;
}
/*Hover state for dropdown links*/
.menuitem:hover ul a:hover {
background: rgba(200,200,200, .1);
color: #fff;
}
/*Hide dropdown links until they are needed*/
.menuitem ul {
display: none;
}
/*Make dropdown links vertical*/
.menuitem ul li {
display: block;
float: none;
}
/*Prevent text wrapping*/
li ul li a {
width: auto;
min-width: 100px;
padding: 0 20px;
}
/*Display the dropdown on hover*/
ul li a:hover + .hidden, .hidden:hover {
display: block;
}
/*Style 'show menu' label button and hide it by default*/
.show-menu {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
text-decoration: none;
color: #fff;
background: #390000;
text-align: center;
padding: 10px 0;
display: none;
}
/*Hide checkbox*/
#show-menu {
display: none;
}
/*Show menu when invisible checkbox is checked*/
#show-menu:checked ~ #menu{
display: block;
}
@media screen and (max-width : 760px){
ul#menu {
position: static;
display: none;
}
ul#menu li {
margin-bottom: 1px;
}
ul li, li a {
width: 100%;
}
.show-menu {
display:block;
}
.menuitem {
float: left;
}
}
.intro {
width: 100%;
height: calc(100vh - 4em);
box-sizing: border-box;
background-image: url('/images/intro.jpg');
background-size: contain;
background-repeat: no-repeat;
background-position: center top;
}
.content {
top: 3em;
width: 100%;
}
@keyframes fade-in {
from {opacity:0;}
to {opacity:1;}
}
// setlist
h1{
font-size: 2em; /* 25px/16px */
}
#content
{
width: 100%; /* 650/960 */
max-width: 960px;
text-align: middle;
margin: auto; /*auto centers the container */
}
.linklist{
list-style-type:none;
}
.linklist li {
display: inline-block;
padding: 1em;
}
/*CSS3 multiple columns.*/
/* Get em size for colums: 184/16 */
.setlist
{
-moz-column-width: 11.5em; /* Firefox */
-webkit-column-width: 11.5em; /* webkit, Safari, Chrome */
column-width: 11.5em;
}
/*remove standard list and bullet formatting from ul*/
.setlist ul
{
margin: 0;
padding: 0;
list-style-type: none;
}
/* correct webkit/chrome uneven margin on the first column*/
.setlist ul li:first-child
{
margin-top:0px;
}
// imageviewer
.imageviewer.a {
text-decoration: none;
cursor: pointer;
animation: pulse 2s ease infinite;
border: 1px solid black;
padding: 10px;
color: #F7FFF1;
}
.imageviewer.img {
width: 50%;
display: none;
opacity: 0;
animation: fadeThatDisplay 1s;
&.is-visible {
display: block;
opacity: 1;
box-shadow: 0px 0px 14px #aaa;
}
}
.imageviewer.next, .imageviewer.prev {
color: #F7FFF1;
position: absolute;
top: 50%;
transform: translateY(-50%);
font-size: 0px;
border-top: 17px solid transparent;
border-bottom: 17px solid transparent;
}
.imageviewer.next {
right: 0px;
margin-right: 10px;
border-right: 17px solid transparent;
border-left: 17px solid #F7FFF1;
}
.imageviewer.prev {
left: 0px;
margin-left: 10px;
border-right: 17px solid #F7FFF1;
border-left: 17px solid transparent;
}
.imageviewer.close {
color: white;
font-size: 24px;
font-family: sans-serif;
position: absolute;
top: -45px;
left: 74%;
cursor: pointer;
}
.imageviewer.container {
position: relative;
display: flex;
justify-content: center;
align-items: center;
}
imageviewer {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: rgba(0,0,0,.9);
display: flex;
justify-content: center;
align-items: center;
transform: scale3d(0,0,0);
transition: all .5s ease-in-out;
&.is-visible {
transform: scale3d(1,1,1);
}
}
@keyframes fadeThatDisplay {
0% {
display: none;
opacity: 0;
}
100% {
display: block;
opacity: 1;
}
}
@keyframes pulse {
0%, 100% {
-webkit-transform: scale(1.0);
transform: scale(1.0);
}
50% {
-webkit-transform: scale(1.1);
transform: scale(1.1);
box-shadow: 0px 0px 10px black;
}
}
/* foto slider */
* {
box-sizing: border-box;
}
*/* Position the image container (needed to position the left and right arrows) */
.container {
position: relative;
}
.mySlides img {
display: block;
margin-left: auto;
margin-right: auto;
}
/* Next & previous buttons */
.prev,
.next {
cursor: pointer;
position: absolute;
top: 40%;
width: auto;
padding: 16px;
margin-top: -50px;
color: white;
font-weight: bold;
font-size: 20px;
border-radius: 0 3px 3px 0;
user-select: none;
-webkit-user-select: none;
}
/* Position the "next button" to the right */
.next {
right: 0;
border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
background-color: rgba(0, 0, 0, 0.8);
}