summaryrefslogtreecommitdiff
path: root/design/sass/_writing_archive.scss
blob: 0f5f52ba26dab8e6d5bbb6382ac74db01bd823a6 (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
.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 {
        width: 100%;
        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;}
    }
}

.date-archive {
    @extends %clearfix;
    @include constrain_wide();
    margin: 0 auto;
    margin-bottom: 9em;
    max-width: 460px !important;
    text-align: left;
}
.dater {
    @extends %clearfix;
    margin-top: 3em;
    margin-bottom: 3em;
    span {
        @include smcaps;
        @include fontsize(11);
        font-family: sans-serif;
    }
    ul {
        margin-top: .5em;
        margin-bottom: 1.5em;
        li {
            @extends %clearfix;
            clear: both;
        }
    }
    
}
.arc-item {
    clear: both;
    margin: 0 auto;
    a {
        display: block;
        float: left;
    }
    time {
        float: right;
        line-height: 36px;
    }
}