-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
51 lines (44 loc) · 1.89 KB
/
Copy pathstyle.css
File metadata and controls
51 lines (44 loc) · 1.89 KB
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
:root {
--maxw: 960px;
--fg: #222;
--muted: #666;
--border: #e7e7e7;
--accent: #005a9e;
--bg: #fff;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: system-ui, Segoe UI, Roboto, sans-serif; color: var(--fg); background: var(--bg); line-height: 1.5; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 1rem; }
h1 { margin: 0 0 .25rem; font-size: 1.6rem; }
h2 { margin: 1.25rem 0 .5rem; font-size: 1.2rem; }
.muted { color: var(--muted); }
.controls { display: flex; gap: .75rem; flex-wrap: wrap; margin: .75rem 0; }
input[type="search"], select {
padding: .6rem .7rem; border: 1px solid #ccc; border-radius: 6px; min-width: 240px;
}
.select-wrap .label { display: none; }
.tags { display: flex; gap: .75rem 1.25rem; flex-wrap: wrap; border: 1px solid var(--border); padding: .75rem; border-radius: 8px; }
.tags label { display: inline-flex; align-items: center; gap: .4rem; cursor: pointer; }
#entries { border-top: 1px solid var(--border); }
.entry { padding: .9rem 0; border-bottom: 1px solid var(--border); }
.entry-title { font-weight: 600; margin-bottom: .25rem; }
.entry-meta { color: var(--muted); font-size: .95rem; margin-bottom: .25rem; }
.entry-links a { color: var(--accent); text-decoration: none; }
.entry-links a:hover { text-decoration: underline; }
.badge {
display: inline-block; padding: .15rem .45rem; margin-right: .35rem;
border: 1px solid var(--border); border-radius: 999px; font-size: .8rem; color: var(--muted);
}
/* Accessibility helpers */
.sr-only {
position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
/* Settings for desktop screens */
@media (min-width: 720px) {
.container {
max-width: 95vw; /* 95% of the viewport width */
}
.entry { display: grid; grid-template-columns: 1fr auto; gap: .5rem 1rem; align-items: start; }
}