summaryrefslogtreecommitdiff
path: root/design/sass/_src.scss
blob: 309a8b8f5f19c10fc1cbce154f2da7ca147630b3 (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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
.latest {
    @include constrain_narrow;
    @include fontsize(12);
    @include smcaps;        
    font-weight: 400;
}
.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(22);
        font-weight: 400;
        margin-bottom: .25em;
        a {
            color: $body_font;
            color: lighten($body_font, 15);
            text-decoration: none;
        }
    }

    p {
        text-align: left;
        @include fontsize(16);
    }

    @include breakpoint(beta) {
        text-align: left;
    }
}
.src-topics {
    @include smcaps;
    @include fontsize(11);
}
.src article {
    ul { 
        @include constrain_narrow;
        margin-top: 2em;
        margin-bottom: 2em;
    }
    ul li {
        text-align: left;
        list-style-type: disc;
        margin-left: 1em;
        padding-left: .5em;
    }
    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;
        }
    }
    .footnote ol {
        list-style-position: outside;
        @include breakpoint(beta) {
            max-width: 680px;
        }
    }
}
.post--body pre {
    margin: 1em auto !important;
}
.highlight {
    @include constrain_narrow;    
    padding: .5em;
    margin-bottom: 1em;
}
.go:before {
    content: "$ ";
}
code > .comment::after {
    display:none;
}
#book-page .book-list {
    @include constrain_narrow;
    @include breakpoint(beta) {
        .book-list-item {
            width: 45%; 
        }
    }
}
#book-page section {
    @include constrain_narrow;
    max-width: 100%;
    @include breakpoint(gamma) {
        margin-left: 80px;
        p {
            margin-left: 0;
        }
    }
}
.paypal-form-wrapper {
    @include constrain_narrow;
    text-align: left;
        @include breakpoint(gamma) {
        form {
            margin: 2em 5em;
        }
    }
}

@include breakpoint(beta) {
    .btn-top {
        margin-left: 1.2em
    }
    .btn-bottom {
        margin-left: 5em;
    }
}

.smcaps{
    font-weight: 500;
    letter-spacing: 1px;
    margin: 3em 0 .5em 0;
    @include generic_sans;
    @include smcaps;
    @include fontsize(14);
    @include breakpoint(gamma) {
        margin-left: 80px;
    }
}
.dotted {
    list-style-type: disc;
    li {
        margin-top: .5em;
        margin-bottom: .5em;
    }
    @include breakpoint(gamma) {
        font-size: 1.25rem;
        line-height: 1.6;
    }
}

#essay-archive h1 {
    @include constrain_narrow;
}
#essay-archive h4 {
    margin-bottom: 3em;
    margin-top: -.85em;
}