blob: 61b9feb8034fb82796040b3e22260fd33f8582bb (
plain) (
blame)
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
|
$color-main-bg: #f0f0f0;
$color-dark-bg: #070707;
$color-main-blue: #397eaf;
$color-dark-blue: #2e4054;
$color-main-grey: #e1e1e1;
$color-dark-grey: #1f1f1f;
$color-link-idle: #707070;
$color-link-hover: #999999;
$color-nav-current: #333333;
$border-main: 5px solid $color-main-grey;
$border-dark: 5px solid $color-dark-grey;
$font-title: sans-serif;
$body-font: sans-serif;
html {
background: $color-main-bg;
}
body {
max-width: 835px;
min-width: 364px;
margin: 20px auto 0 auto;
padding: 8px;
color: $color-dark-bg;
font: 100% $body-font;
}
a {
color: $color-link-idle;
text-decoration: none;
}
a:hover {
color: $color-link-hover;
}
.current {
color: $color-nav-current;
}
nav {
display: flex;
font: 400 1.5em $font-title;
letter-spacing: -1.2px;
ul {
display: inline-flex;
width: 430px;
height: 32px;
margin: 0;
padding: 50px 30px 0 0;
flex-direction: row;
justify-content: space-between;
list-style-type: none;
border-bottom: $border-main;
}
}
h1, h2, h3, h4, h5, h6 {
margin: 0;
font: 200% $font-title;
color: $color-main-blue;
}
footer {
border-top: $border-main;
text-align: center;
font: 75% $body-font;
p {
margin: 0;
}
}
@media only screen and (max-width: 700px) {
nav {
margin-bottom: 5vh;
ul {
width: 100%;
padding: 0;
padding-top: 30px;
position: relative;
top: 5vh;
}
img {
position: absolute;
top: 0;
}
}
}
@media (prefers-color-scheme: dark) {
html {
background: $color-dark-bg;
}
body {
color: $color-main-bg;
}
nav {
ul {
border-bottom: $border-dark;
}
}
footer {
border-top: $border-dark;
}
}
|