aboutsummaryrefslogtreecommitdiff
path: root/extensions/stylus/tangled.org.css
blob: db3ef3775acaee4a4404040e48d0f20915c469b3 (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
:root {
    font-size: 16px;
    
    --gap-text: 0.75rem;
    
    --tw-prose-invert-body: #e0e3e9;
    
    --content-width: 750px;
}

.max-w-screen-lg {
    max-width: 1100px;
}

code {
    font-family: ui-monospace, monospace!important;
    font-size: 14px!important;
    line-height: 1.4em!important;
}

section article {
    display: block;
    max-width: var(--content-width);
    margin: 0 auto;
    
    font-size: 18px;
    line-height: 1.6em;
}

.prose :where(p):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
    margin: var(--gap-text) 0;
}

details[data-callout] {
    > summary { margin-bottom: var(--gap-text); }
    
    > div {
        display: flex;
        flex-direction: column;
        gap: var(--gap-text);
        
        p { margin: 0; }
    }
}

div:has(> #subs) {
    display: grid;
    grid-template:
        "a b c"
        ". . e";
    row-gap: 1rem;
}

#files {
    grid-area: a;
    max-width: 30vw!important;
    padding-bottom: 0;
}

#resize-files {
    grid-area: b;
}

#diff-files {
    position: static;
    grid-area: c;
    padding-bottom: 0;
}

#resize-subs {
    display: none;
}

#subs {
    position: static;
    grid-area: e;
    width: 100%!important;
    max-width: 100%!important;
    max-height: 100%!important;
    
    > details > div {
        max-height: 100%!important;
    }
    
    .group\/comments {
        max-width: var(--content-width);
        margin: 0 auto;
        
        > div > div {
            margin-right: 0;
        }
    }
}