-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
122 lines (102 loc) · 1.83 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
111
112
113
114
115
116
117
118
119
120
121
122
:root {
--accent-color: #55af5a;
--title-color: #fdfef8;
--icon-size: 42px;
--icon-color: rgb(0 0 0 / 80%);
}
::selection {
background-color: var(--accent-color);
text-shadow: none;
}
html {
height: 100%;
min-height: 100%;
}
html * {
box-sizing: border-box;
}
body {
display: flex;
width: 100%;
min-height: 100%;
flex-flow: column nowrap;
align-items: center;
justify-content: center;
background: url("./images/bg.jpg") no-repeat center center fixed;
background-size: cover;
box-shadow:
inset 0 2em 20em rgb(0 0 0 / 80%),
inset -2em 2em 20em rgb(0 0 0 / 80%),
inset 0 -2em 20em rgb(0 0 0 / 80%),
inset 2em -2em 20em rgb(0 0 0 / 80%);
font-family: Montserrat, sans-serif;
}
.quoted {
quotes: "\201c" "\201d";
}
.quoted::before {
content: open-quote;
}
.quoted::after {
content: close-quote;
}
#hero {
display: flex;
width: 100%;
flex-flow: column nowrap;
align-items: center;
justify-content: center;
}
#title {
text-align: center;
}
#title h1 {
margin: 0;
color: var(--title-color);
font-size: 4em;
letter-spacing: -1px;
line-height: 1;
text-shadow: 2px 1px rgb(0 0 0 / 75%);
}
#title .quoted {
color: var(--accent-color);
}
#nav {
margin-top: 1.5rem;
}
#menu {
display: flex;
flex-flow: row wrap;
align-items: center;
justify-content: center;
padding: 0;
margin: 0;
list-style: none;
}
#menu > li {
margin: 0 1rem;
}
#menu > li > a {
display: inline-block;
text-decoration: none;
}
#menu > li > a > .icon {
color: var(--icon-color);
font-size: 3em;
text-shadow: 1px 1px rgb(255 255 255 / 25%);
}
#menu > li > a > .icon:hover {
color: var(--accent-color);
text-shadow: 1px 1px rgb(0 0 0 / 80%);
}
@media (width <= 767px) {
#hero {
margin-top: 100px;
}
#menu {
flex-flow: column wrap;
}
#menu > li {
margin: 1rem;
}
}