-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.css
51 lines (45 loc) · 1011 Bytes
/
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
:root{
--paper-margin: 60px;
--main-color: #4481eb;
--my-gradient: linear-gradient(to right, var(--main-color) 0%, #04befe 100%);
}
body{
margin: 0;
font-family: 'Open Sans';
letter-spacing: 0.05px;
font-size: 1.05em;
display: grid;
grid-template-rows: auto 1fr auto;
height: 100vh;
}
header{
filter: drop-shadow(0 8px #3333);
position: relative;
}
header::before{
content: "";
display: block;
background: var(--my-gradient);
clip-path: polygon(0 0,100% 0,100% 70%,0 100%);
height: 180px;
}
header > a {
position: absolute;
top: 50px;
left: max(var(--paper-margin), (100vw - 900px)/2);
font-size: 1.6em;
font-family: 'Oxanium';
color: inherit;
text-decoration: inherit;
}
footer{
filter: drop-shadow(0 -4px #3333);
position: relative;
}
footer::before{
content: "";
display: block;
background: var(--my-gradient);
clip-path: polygon(0 30%,100% 0,100% 100%,0 100%);
height: 180px;
}