-
Notifications
You must be signed in to change notification settings - Fork 0
/
common-styles.css
62 lines (52 loc) · 1.11 KB
/
common-styles.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
/*
These are all styles intended for presentational purposes
and aren't important for the content mentioned in the article
*/
body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto,
Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji,
Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
margin: 1em;
}
:root {
--pale-blue: #4299e1;
}
* {
box-sizing: border-box;
}
[lang="ja"] {
font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka,
メイリオ, Meiryo, "MS Pゴシック", "MS PGothic", "MS ゴシック",
"MS Gothic", "Noto Sans CJK JP", TakaoPGothic, sans-serif;
}
h1 {
color: var(--pale-blue);
font-size: 1.5rem;
}
h2 {
font-size: 1.2rem;
}
a {
text-decoration: none;
color: var(--pale-blue);
}
ul {
list-style: none;
}
ul li::before {
content: "\2022";
color: var(--pale-blue);
font-weight: bold;
display: inline-block;
width: 1em;
margin-left: -1em;
}
header nav a {
padding: 0.5rem 0.5rem;
}
header nav a.active {
border-bottom: 1px solid var(--pale-blue);
}
footer {
margin-top: 1rem;
}