summaryrefslogtreecommitdiff
path: root/design/old/v8/_books.scss
blob: db386246738ffd1378b1ca81e2ea8251f87d80a5 (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
.book-list {
    @extend %clearfix;
    @include constrain_wide;
}

.book-list-item {
    margin: 2em 0;
    h2 {
        text-align: left;
        margin: .25rem 4px;
        font-weight: normal;
        @include fontsize(24);
        line-height: 1.2;
        a {
            color: $body_font;
            text-decoration: none;
            font-style: italic;
        }
        @include breakpoint(gamma) {
            @include fontsize(22);
            margin: .1rem 4px;
        }
    }
    img { max-width: 100%;}
    h4, {
        @include fontsize(12);
        @include smcaps;
        font-weight: normal;
        margin-top: 0;
        margin-bottom: 0;
        &:before {
            content: "by "
        }
    }
    @include breakpoint(alpha-2) {
        text-align: left;
        width: 45%;
        float: left;
        margin-right: 30px;
        margin-top: 1em;
        min-height: 500px;
        .img-wrapper {
            min-height: 350px;
        }
    }
    @include breakpoint(gamma) {
        width: 31%;
        height: 650px;
        float: left;
        margin-right: 30px;
        .img-wrapper {
            min-height: 400px;
        }
    }
    @include breakpoint(delta) {
        width: 23%;
        margin-right: 25px;
        height: 550px;
    }
}
.book-list .even {
    @include breakpoint(alpha-2) {
        margin-right: 0;
    }
    @include breakpoint(gamma) {
        margin-right: 25px;
    }
}
.book-list .tres {
    @include breakpoint(gamma) {
        margin-right: 0;
    }
    @include breakpoint(delta) {
        margin-right: 25px;
    }
}
.book-stars {
    display: block;
}
.book {
    margin-top: 2em;    
    @include breakpoint(gamma) {
        margin-top: 3em;    
    }
}
.book:after {
    @include constrain_narrow;
    color: white;
    @include faded_line_after;
    margin-top: 2em;
    @include breakpoint(gamma) {
        margin-top: 3em;    
    }
}
.book-title {
    @include constrain_wide;
    line-height: 1.3;
    @include breakpoint(gamma) {
        max-width: 660px;
        text-align: left;
        position: relative;
        left: 150px;
    }
    @include breakpoint(delta) {
        left: 165px;
        max-width: 850px;
    }
}
.book-cover-wrapper {
    @include breakpoint(gamma) {
        display: block;
        @include constrain_wide;
        img {
            float: left;
            width: 250px; 
            margin-right: 32px;
        }
    }
    @include breakpoint(delta) {
        img {
            max-width: 250px; 
        }
    }
}