-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
110 lines (99 loc) · 1.72 KB
/
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
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
/*
Made by easrng on Github
DO NOT REDISTRUBUTE
*/
body,
html {
margin: 0;
padding: 0;
width: 100%;
max-height: 100%;
font-family: system-ui, sans-serif;
}
header > img {
filter: drop-shadow(0 2px 3px #000000b8);
object-fit: scale-down;
position: absolute;
top: 0;
}
header {
background: rgb(159, 159, 255);
background: linear-gradient(
90deg,
rgba(159, 159, 255, 1) 0%,
rgba(0, 212, 255, 1) 100%
);
background-size: 100vw;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
height: 20rem;
max-height: 80vh;
color: #ffffff;
text-shadow: 0 1px 2px #0000007a;
box-shadow: 0 -20px 7px 20px #0e0327c7;
position: relative;
}
header h1 {
margin: 0;
flex-grow: 1;
display: flex;
align-items: center;
}
header nav {
width: 100%;
background-color: #ffffff36;
border: 1px solid #ffffff7a;
border-style: solid none;
position: absolute;
bottom: 0;
left: 0;
}
header nav ul {
display: flex;
margin: 0;
justify-content: space-evenly;
width: 100%;
padding: 0;
}
nav ul li {
display: inline-flex;
max-width: 10rem;
flex-grow: 1;
border-radius: 5px;
color: #fff;
margin: 0.5rem;
height: 2rem;
text-align: center;
align-items: center;
justify-content: center;
}
nav ul li a {
color: inherit;
text-decoration: inherit;
margin: 0;
padding: 0;
transform: translateY(-0.1em);
width: 100%;
}
article {
box-shadow: 0 1px 3px #0000009e;
margin: 1rem;
padding: 0.8rem;
border-radius: 1rem;
}
article > * {
margin: 0 0 0.5rem;
}
article > *:last-child {
margin: 0 0 0;
}
footer {
padding-top: 0.5vw;
padding-bottom: 0.5vw;
text-align: center;
background-color: #333;
color: #FFF;
}