-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
96 lines (96 loc) · 1.95 KB
/
style.css
File metadata and controls
96 lines (96 loc) · 1.95 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
* {
margin: 0;
padding: 0;
}
html {
background-color: white;
color: black;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size: 1.25em;
font-weight: 400;
line-height: 1.45;
}
header {
-webkit-animation: slideshow 20s infinite;
-moz-animation: slideshow 20s infinite;
-o-animation: slideshow 20s infinite;
animation: slideshow 20s infinite;
background-color: gray;
background-image: url("strip.jpg");
background-repeat: no-repeat;
background-size: 500% 100%;
box-sizing: border-box;
color: white;
display: block;
height: 66.66vw;
padding: 3vw;
width: 100%;
}
nav {
-webkit-backdrop-filter: blur(.25rem);
backdrop-filter: blur(.25rem);
background-color: hsla(0, 0%, 0%, .5);
border-radius: .5rem;
display: block;
padding: 1rem 1rem .9rem;
width: auto;
}
main {
margin: 2rem auto;
max-width: 64ch;
padding: 0 2rem;
}
h1 {
font-size: 1rem;
font-weight: 700;
letter-spacing: .05em;
line-height: 1;
text-align: center;
text-transform: uppercase;
}
h2 {
font-size: 1.25rem;
font-weight: 700;
line-height: 1.2;
padding: 0 0 .5rem;
}
p {
-webkit-hyphens: auto;
hyphens: auto;
padding: 0 0 .5rem;
}
@keyframes slideshow {
0% {
background-position: 0% 0px;
}
18% {
background-position: 0% 0px;
}
20% {
background-position: 25% 0px;
}
38% {
background-position: 25% 0px;
}
40% {
background-position: 50% 0px;
}
58% {
background-position: 50% 0px;
}
60% {
background-position: 75% 0px;
}
78% {
background-position: 75% 0px;
}
80% {
background-position: 100% 0px;
}
98% {
background-position: 100% 0px;
}
100% {
background-position: 0% 0px;
}
}