summaryrefslogtreecommitdiff
path: root/design/sass/_src.scss
blob: ef7221e327f2f09759dedde5ecbce288056b10aa (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
.src-archive {
    .topic-hed {
        @include fontsize(20);
        @include constrain_narrow;
        margin-top: 1.5em;
        margin-bottom: 1.5em;
        @include breakpoint(beta) {
            @include fontsize(28);
            margin-top: 1em;
        }
    }
    article {
        margin-bottom: 3em;
        p { 
            color: lighten($body_font, 15);
        }
    }
    h2 {
        @include constrain_narrow;
        @include fontsize(24);
        @include generic_sans;
        font-weight: 400;
        margin-bottom: .25em;
        a {
            color: $body_font;
            color: lighten($body_font, 15);
        }
    }
    p {
        text-align: left;
    }

    @include breakpoint(beta) {
        text-align: left;
    }
}
.src-topics {
    @include smcaps;
    @include fontsize(11);
}
.src article {
    ol {
        text-align: left;
        @include constrain_narrow;
        padding-left: 1em;
        @include fontsize(18);
        @include breakpoint(beta) {
            max-width: 580px;
            @include fontsize(17);
        }
        li {
            margin-top: .75em;
        }
    }
}
.post--body pre {
    margin: 1em auto !important;
}
code.language-bash:before {
    content: "$ ";
}
code > .comment::after {
    display:none;
}