summaryrefslogtreecommitdiff
path: root/design/sass/_comments.scss
blob: 52ff6b1ea9f0cf1460049080c9e6e12835926262 (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
//### COMMENTS AND FORMS ###
.comments--header {
    @include constrain_narrow;
    font-family: Helvetica Neue, Helvetica, sans-serif;
    line-height: 6em;
    @include fontsize(16);
    font-style: italic;
    &:before {
        @include faded_line_after;
        margin-top: 2em;
    }
}
.comments--wrapper {
    @include constrain_narrow();
    text-align: left;
    margin-top: -2em;
}
.comment {
    margin-top: 2.5em;
    margin-bottom: 2.5em;
    &:first-child {
        margin-top: none;
    }
    &:after {
        @include faded_line_after;
    }
    &:last-child:after {
        display: none;
    }
}
.comment--head, .comment--body {
    margin-left: 80px;
}
.comment--head {
    margin-bottom: 1em;
}
.comment--body {
    margin-bottom: 3em;
}
.who {
    font-family: Helvetica Neue, Helvetica, sans-serif;
    @include fontsize(18);
}
.when {
    @include fontsize(13);
    margin-left: 1em;
    font-style: italic;
}

.gravatar {
    border: 2px $brown solid;
    background: transparent;
    max-width: 100%;
    padding: 0;
    float: left;
    margin-top: 5px;
}


.comment--form--wrapper {
    @include constrain_narrow();
    &:before {
        @include faded_line_after;
    }
}
.comment--form--header {
    margin-top: 2em;
}
.comment--form {
    margin: 0 auto;
    @include breakpoint(delta) {
        margin-left: 20%
    }
    label {
        display: block;
        font-weight: 500;
        letter-spacing: 1px;
        font-family: "Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;
        @include fontsize(13);
    }
    input, textarea {
        padding: .25em;
        border: #c5c5c5 1px solid;
        border-radius: .125em;
        color: darken($body_font_light, 20);
        width: 100%;
        @include breakpoint(gamma) {
            width: 70%;
        }
    }
    input[type="submit"] {
        width: auto;
        color: white;
        letter-spacing: 1px;
        background: $orange;
        font: bold .65em Verdana,sans-serif;
        text-transform: uppercase;
        border: none;
        border-radius: .25em;
        padding: 8px 12px 7px;
    }
    blockquote {
        margin: 3em 0;
        p {
            @include fontsize(18);
        }
    }
    h2, h3 { text-align: left}
}
.comment--form--header-h1 {
    @include breakpoint(delta) {
        text-align: left;
        margin-left: 30%;
        @include fontsize(24);
    }
}
.cform-arc { 
    @include breakpoint(delta) {
        margin-left: 30%;
    }
}