-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
122 lines (99 loc) · 2.09 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
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap');
:root {
--page-bg: #1e2030;
--main-bg: #24273a;
--text: #cad3f5;
--accent: #c6a0f6;
--accent-light: #dabcff;
--muted: #a5adcb;
}
* {
box-sizing: border-box
}
body {
padding: 0;
margin: 0;
height: 100vh;
background-color: var(--page-bg);
color: var(--text);
font-family: 'Jetbrains Mono', monospace
}
#wrapper {
max-width: 600px;
margin: 0 auto;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
}
header {
height: 300px;
background-color: var(--accent)
}
header div {
height: 100%;
background-image: url(https://images.unsplash.com/photo-1561344640-2453889cde5b?q=80&w=3067&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);
background-size: cover;
background-position: center;
background-repeat: no-repeat;
filter: grayscale(1);
mix-blend-mode: hard-light;
}
main {
background-color: var(--main-bg);
padding: 2.5em
}
h1#title {
font-weight: bold;
color: var(--accent);
margin-top: 0;
font-size: 2.5em;
margin-bottom: 0.25em;
}
p.small {
font-size: 0.9em
}
p:last-child {
margin-bottom:0
}
a {
text-decoration: none;
color: var(--accent);
transition-duration: 0.5s;
}
a:hover {
color: var(--accent-light);
text-decoration: underline
}
section {
margin-bottom: 2em
}
.text-accent {
color: var(--accent)
}
.text-muted {
color: var(--muted)
}
p#links > span {
display: block;
}
@media only screen and (max-width:768px) {
body {
padding: 0.5em
}
}
@media only screen and (max-width:480px) {
body {
font-size:0.9em
}
h1#title {
font-size:2em
}
p#links > span {
display:inline
}
p#links > span:not(span:last-child)::after {
content:' ﹒ '
}
}