summaryrefslogtreecommitdiff
path: root/design/sass/_comments.scss
blob: 7abbe83b8ed5a4f4c57d2ce7cb38381bdc87a10f (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
//### 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();
    p {
        font-family: $fancy_serif;
    }
    input[type="submit"] {
        display: inline-block;
        @include fancy_sans;
        @include fontsize(14);
        font-weight: 600;
        width: auto;
        text-transform: uppercase;
        padding: 8px 12px 7px;
    }
    .submit {
        @extend %clearfix;
        display: block;
        margin-right: 0;
    }
    .submit .btn {
        float: right;
        &:first-of-type {
            margin-left: 5px;
        }
    }
}
.comment--form--header {
    margin-top: 2em;
}