generated from s9a/templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
80 lines (67 loc) · 1.01 KB
/
index.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
* {
box-sizing: border-box;
}
[href] {
background: hotpink;
border-style: solid;
border-width: thick;
border-color: magenta;
color: #111;
padding: 2rem;
display: inline-block;
}
:focus {
outline-style: outset;
outline-color: violet;
outline-width: 2mm;
}
:link:hover {
border-style: outset;
border-color: violet;
}
::selection {
background: lime;
color: black;
}
html {
font-size: calc(1em + 1vmax);
font-family: sans-serif;
background: salmon;
color: #111;
}
body {
margin: 0;
padding: 1rem;
overflow-wrap: anywhere;
}
h1 {
font-weight: 500;
font-size: 2rem;
margin: 0;
}
address {
font-size: 2rem;
font-style: inherit;
}
menu {
list-style: none;
padding: 0;
}
li {
margin-block-start: 1ex;
margin-block-end: 1rem;
margin-inline-start: 0;
margin-inline-end: 1ex;
}
li:last-of-type {
margin-block-end: 0;
}
li a:first-of-type {
font-weight: 600;
margin-inline-end: -1ch;
}
@media (orientation: landscape) {
li {
margin-block-end: -1ex;
}
}