summaryrefslogtreecommitdiff
path: root/bak/design/old/v9/_comments.scss
blob: 39c793030a610097c8f2a2e48c590f41b0b5bb62 (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;
    @include fancy_sans;
    line-height: 6em;
    @include fontsize(16);
    font-style: italic;
    margin-top: 2em;
}
.comments--wrapper {
    @include constrain_narrow();
    text-align: left;
    margin-top: -2em;
}
.comment {
    margin-top: 2.5em;
    margin-bottom: 2.5em;
    padding-top: 3rem;
    &:first-child {
        margin-top: none;
    }
    &:after {
        @include faded_line_after;
    }
    &:last-child:after {
        display: none;
    }
}
.comment--head, .comment--body {
    @include breakpoint(alpha) {
        margin-left: 80px;
        margin-top: -2rem;
    }
}
.comment--head {
    margin-bottom: 1em;
}
.comment--body {
    margin-bottom: 3em;
    @include fontsize(22);
    hr {
        width: 20%;
        overflow: visible;
        padding: 0;
        border: none;
        border-top: 2px solid #d4d4d4;
        color: #efefef;
        background: none;
    }
}
.who {
    @include fancy_sans;
    @include fontsize(22);
}
.when {
    @include fancy_sans;
    @include fontsize(15);
    color: #999;
    margin-left: 1em;
}

.gravatar {
    border: 2px $brown solid;
    background: transparent;
    max-width: 100%;
    padding: 0;
    float: left;
    margin-top: 5px;
    margin-right: 8px;
    @include breakpoint(alpha) {
        margin-right: 0;
    }
}


.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;
        }
    }
    label {
        left: 1.2rem !important;
    }
}
.comment-form-border{
    border-top: 3px double #efefef;
}
.comment--form--header {
    margin-top: 2em;
    .hed {
        @include fontsize(28);
        margin: 0;
    }
    .subhed {
        font-style: italic;
        @include fontsize(20);
        line-height: 1.25;
        margin-top: 0;
        margin-bottom: 0;
    }
}