generated from webmural/fnuv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuv.css
84 lines (70 loc) · 1.04 KB
/
nuv.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
:any-link {
color: inherit;
display: inline-flex;
}
:focus {
text-shadow: 0 0 2ex;
box-shadow: 0 0 1ex 1ex;
outline: thick groove;
text-decoration-style: dotted;
}
:hover {
text-decoration-style: double;
}
* {
box-sizing: border-box;
}
html {
font-size: max(3ch, 4vmax + 1vmin);
line-height: 1.5;
}
body {
margin: 1ch;
overflow-wrap: anywhere;
}
article {
contain: layout;
padding: 1ch;
}
nav {
contain: layout;
display: flex;
flex-flow: column;
font-size: 1.236em;
margin-block: 1rem;
min-height: 100vh;
font-family: sans-serif;
}
nav a {
padding-inline: 1ch;
}
h1 {
font-family: fantasy;
font-weight: unset;
margin: 0;
margin-inline-end: 1em;
float: right;
writing-mode: vertical-rl;
}
p {
float: right;
font-family: sans-serif;
margin: 0;
padding: 1em;
}
code {
font-family: fantasy;
}
em {
font-family: monospace;
}
::first-letter {
font-family: sans-serif;
font-weight: bold;
}
@media (orientation: portrait) {
nav {
clear: both;
writing-mode: sideways-rl;
}
}