blob: 95244cb601502ffaeb211bf731984a54c3f88d17 (
plain)
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
|
@import url(https://fonts.bunny.net/css?family=dm-sans:400,400i,800,800i);
html,
body {
background: #fdf5ff;
color: #0f070f;
margin: 0;
padding: 0;
font-family: "DM Sans", sans-serif;
font-size: 12pt;
display: flex;
flex-direction: column;
align-items: center;
}
header {
background: #3b005e;
color: white;
padding: 16px;
margin-bottom: 8px;
display: flex;
flex-direction: column;
align-items: center;
width: 100vw;
box-sizing: border-box;
nav {
width: min(800px, 100vw);
display: grid;
grid-template-columns: 1fr max-content 1fr;
}
}
#siteTitle {
font-weight: bold;
}
nav {
ul {
list-style: none;
display: inline;
margin: 0;
margin-left: 8px;
padding: 0;
> li {
display: inline;
> a {
border-radius: 4px;
background: #fff3;
padding: 4px 8px;
color: white;
text-decoration: none;
}
}
}
}
main {
width: min(800px, 100vw);
}
h1 {
margin: 32px 16px;
padding: 0;
}
article.note {
background: #fee4;
border: 1px solid #3b005e44;
border-radius: 8px;
margin: 16px;
padding: 16px;
display: grid;
grid-template-columns: max-content 1fr;
gap: 16px;
img.authorAvatar {
width: 64px;
aspect-ratio: 1;
}
.infoLine {
display: grid;
grid-auto-columns: max-content 1fr max-content;
grid-auto-flow: column;
align-items: baseline;
margin-bottom: 4px;
gap: 8px;
.authorName {
font-weight: bold;
}
.authorHandle,
.timestamp {
font-size: 10pt;
text-overflow: ellipsis;
overflow: hidden;
}
}
}
.alertbox {
border: 1px solid;
border-radius: 8px;
margin: 16px;
padding: 16px;
&.info {
border-color: #23f4;
background: #5673ff44;
}
p {
margin: 0;
padding: 0;
}
}
|