Migration This is my new public git source viewer. Source coming soon. Please contact with concerns/bugs. Contact me

static/css/readme.css

c0427d5fc7c0fcf8606c546071085e8af231fb81 · 1.6 KB · 66 lines raw

1 /* README prose — owned by views/repo.html and views/commit.html (commit
2 messages render through the same markdown pipeline) */
3
4 .readme {
5 margin-top: 1rem;
6 padding: 1rem 1.25rem;
7 background: var(--surface);
8 border: 1px solid var(--line);
9 border-radius: var(--r);
10 overflow-x: auto;
11 }
12 .readme h1, .readme h2, .readme h3 {
13 font-family: var(--sans);
14 color: var(--fg);
15 margin-top: 1.25rem;
16 margin-bottom: .5rem;
17 }
18 .readme h1 { font-size: 1.5rem; border-bottom: 2px solid var(--line); padding-bottom: .5rem; }
19 .readme h2 { font-size: 1.25rem; }
20 .readme h3 { font-size: 1.05rem; }
21 .readme p, .readme ul, .readme ol, .readme blockquote, .readme table {
22 margin: 0 0 1rem;
23 }
24 .readme ul, .readme ol { padding-left: 1.5rem; }
25 .readme li { margin-bottom: .25rem; }
26 .readme blockquote {
27 padding: .5rem 1rem;
28 margin: 1rem 0;
29 background: var(--bg-elev);
30 border-left: 3px solid var(--accent);
31 border-radius: 0 var(--r-sm) var(--r-sm) 0;
32 color: var(--fg-muted);
33 }
34 .readme table {
35 width: 100%;
36 border-collapse: collapse;
37 font-size: .85rem;
38 }
39 .readme th, .readme td {
40 padding: .6rem .8rem;
41 border: 1px solid var(--line);
42 }
43 .readme th {
44 background: var(--surface-2);
45 color: var(--fg);
46 font-weight: 600;
47 }
48 .readme code {
49 font-family: var(--mono);
50 font-size: .85rem;
51 background: var(--bg-elev);
52 padding: .1rem .4rem;
53 border-radius: 4px;
54 border: 1px solid var(--line-soft);
55 }
56 .readme pre {
57 background: var(--bg-elev);
58 padding: 1rem;
59 border-radius: var(--r-sm);
60 overflow-x: auto;
61 }
62 .readme pre code {
63 padding: 0;
64 background: none;
65 border: none;
66 }