-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstylesheet.css
123 lines (99 loc) · 1.96 KB
/
stylesheet.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
123
:root {
/* daytime colors */
--color_background: rgb(240, 240, 240);
--color_text: rgb(32, 32, 32);
--color_link: #2C5F78;
--color_link_hover: #1C3D52;
--color_nav_link: rgb(180, 180, 180);
--color_nav_link_hover: rgb(240, 240,240);
--color_nav_background: #444444;
--color_nav_background_hover: #222222;
}
@media (prefers-color-scheme: dark) {
:root {
/* nighttime colors */
--color_background: rgb(32, 32, 32);
--color_text: rgb(240, 240, 240);
--color_link: #51ACC5;
--color_link_hover: #2C5F78;
--color_nav_background: #333333;
--color_nav_background_hover: #444444;
}
}
/* base page */
body {
font-family: 'Outfit', sans-serif;
background-color: var(--color_background);
color: var(--color_text);
padding: 0;
margin: 0;
}
.pageheader {
width: 100%;
text-align: center;
margin-top: 1em;
}
/* general links */
a {
color: var(--color_link);
transition: color .2s;
text-decoration: none;
}
a:hover {
color: var(--color_link_hover);
}
/* base container, centered */
#page {
width: 80%;
min-width: 600px;
max-width: 600px;
}
.logo {
padding: 1em 0;
width: 367px;
height: 82px;
}
/* fixed menu thumbnails size */
.main_menu img {
width: 16px;
height: 16px;
padding-right: 0.4em;
}
.main_menu ul {
list-style-type: none;
margin: 0;
padding: 0;
background-color: var(--color_nav_background);
flex-wrap: nowrap;
display: flex;
}
.main_menu li {
white-space: nowrap;
vertical-align: top;
}
.main_menu span {
white-space: nowrap;
}
.main_menu a {
padding: 0.5em 1em;
color: var(--color_nav_link);
background-color: var(--color_nav_background);
transition: all .2s;
font-weight: bold;
display: flex;
align-items: center;
}
.main_menu a:hover {
background-color: var(--color_nav_background_hover);
color: var(--color_nav_link_hover);
}
.divcentered {
margin: auto;
}
.articlemain {
margin-top: .5em;
margin-bottom: 1em;
}
.articleheader {
font-weight: bold;
}