-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
115 lines (115 loc) · 2.25 KB
/
style.css
File metadata and controls
115 lines (115 loc) · 2.25 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
@font-face {
font-family: 'Raleway';
font-style: normal;
font-weight: 100;
src: local('Raleway Thin'), local('Raleway-Thin'), url(font/Raleway-100.woff2) format('woff2'), url(font/Raleway-100.ttf) format('truetype');
unicode-range: U+0000—001F;
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 300;
src: local('Open Sans Light'), local('Open Sans-Light'), url(font/OpenSans-300.woff2) format('woff2'), url(font/OpenSans-300.ttf) format('truetype');
unicode-range: U+0000—001F;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Open Sans', sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
color: white;
}
h1,
h2,
h3 {
font-family: 'Raleway', 'Open Sans', sans-serif;
margin: 0;
font-weight: 100;
}
h1 {
font-size: 6em;
}
nav {
position: absolute;
top: 0;
left: 0;
right: 0;
font-size: 1.1em;
padding: 20px 0;
}
nav ul {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
width: 100vw;
}
nav ul {
list-style: none;
}
nav li {
width: auto;
margin: 0 10px;
padding: 5px;
cursor: pointer;
}
nav li {
display: inline-block;
vertical-align: middle;
transform: translateZ(0);
box-shadow: 0 0 1px rgba(0, 0, 0, 0);
position: relative;
overflow: hidden;
}
nav li:before {
content: '';
position: absolute;
z-index: -1;
left: 50%;
right: 50%;
bottom: 0;
background: white;
height: 1px;
transition: 0.2s ease-out;
}
nav li:hover:before,
nav li:focus:before,
nav li:active:before {
left: 0;
right: 0;
}
header {
background: url(images/bg1.jpg);
/*background-image: linear-gradient(175deg, transparent 85%, white 5%), url(images/bg1.jpg);*/
background-size: cover;
background-repeat: no-repeat;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 2em;
}
article {
background: white;
color: #333;
padding: 2em;
}
h2 {
font-size: 3em;
text-align: center;
}
p {
font-size: 1.1em;
text-align: justify;
}
.videos {
margin: 20px auto;
}
iframe {
border: 0;
}