summaryrefslogtreecommitdiff
path: root/design/sass/_writing_archive.scss
blob: c1970c91172f7d411bc7e9e3bc4a4830938c4d85 (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
.archive {
    @extends %clearfix;
    @include constrain_wide();
    margin-top: 3em;
    .post--title { 
        text-align: left;
        margin: .25rem 4px;
        font-weight: normal;
        @include fontsize(24);
        a {
            color: $body_font;
            text-decoration: none;
            font-style: italic;
        }
        @include breakpoint(gamma) {
            @include fontsize(22);
            margin: .1rem 4px;
        }
    }
    .post--location {
        @include fontsize(11);
    }
    .post--date{
        margin: 0 4px;
        text-align: left;
    }
    .post--image img { background: none; max-width: 100%; padding: 0}
    article {
        margin: 0;
        display: inline-block;
        margin-bottom: 2em;
        vertical-align: top;
    }
    p {
        margin-top: 0;
        margin-left: 4px;
        margin-right: 4px;
    }
    @include breakpoint(beta) {
        article {
            width: 48.25%;
        }
        p {
            @include fontsize(16);
        }
        .odd {
            padding-right: 10px;
        }
        .even {
            padding-left: 10px;
        }
    }
    @include breakpoint(gamma) {
        article {
            width: 31%;
        }
        .odd, .even { padding: 0;}
        .first {
            padding-right: 10px;
        }
        .second {
            padding-right: 10px;
            padding-left: 10px;
        }
        .third {
            padding-left: 10px;
        }
        p {
            @include fontsize(14);
            margin-top: 0;
            margin-left: 4px;
            margin-right: 4px;
        }
    }
    @include breakpoint(delta) {
        article { width: 374px;}
    }
}

.pagination {
    font-family: "carrois_gothicregular" sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 2.3;
    li {
        display: inline;
    }
    a {
        text-decoration: none;
        border: 1px solid #c99984;
        padding: 4px 8px;
    }
    .prev {
        &:before {
            content: "\21E0";
        }
    }
    .next {
        &:after {
            content: "\21E2";
        }
    }
    @include breakpoint(beta) {
        @include fontsize(22);
        .prev {
            margin-right: 2em;
        }
        .next {
            margin-left: 2em;
        }
    }
}