-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstaticman.css
executable file
·187 lines (187 loc) · 5.48 KB
/
staticman.css
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
/* ==========================================================================
Forms
========================================================================== */
.staticman-comments form {
margin: 0 0 5px 0;
padding: 1em;
background-color: #f2f3f3;
}
.staticman-comments form p {
margin-bottom: 2.5px;
}
.staticman-comments form br {
display: none;
}
.staticman-comments label, .staticman-comments input, .staticman-comments button, .staticman-comments textarea {
vertical-align: baseline;
vertical-align: middle;
}
.staticman-comments input, .staticman-comments button, .staticman-comments textarea {
box-sizing: border-box;
}
.staticman-comments label {
display: block;
margin-bottom: 0.25em;
color: #494e52;
cursor: pointer;
}
.staticman-comments label small {
font-size: 0.75em;
}
.staticman-comments label input, .staticman-comments label textarea {
display: block;
}
.staticman-comments input, .staticman-comments textarea {
display: inline-block;
width: 100%;
padding: 0.25em;
margin-bottom: 0.5em;
color: #494e52;
background-color: #fff;
border: #f2f3f3;
border-radius: 4px;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.125);
}
.staticman-comments .input-mini {
width: 60px;
}
.staticman-comments .input-small {
width: 90px;
}
.staticman-comments input[type="button"], .staticman-comments input[type="reset"], .staticman-comments input[type="submit"] {
width: auto;
height: auto;
cursor: pointer;
overflow: visible;
}
.staticman-comments textarea {
resize: vertical;
height: auto;
overflow: auto;
vertical-align: top;
}
.staticman-comments input[type="hidden"] {
display: none;
}
.staticman-comments .form {
position: relative;
}
/*
Disabled state
========================================================================== */
.staticman-comments input[disabled][disabled], .staticman-comments textarea[disabled], .staticman-comments input[readonly][readonly], .staticman-comments textarea[readonly] {
opacity: 0.5;
cursor: not-allowed;
}
/*
Focus & active state
========================================================================== */
.staticman-comments input:focus, .staticman-comments textarea:focus {
border-color: #7a8288;
outline: 0;
outline: thin dotted \9;
box-shadow: inset 0 1px 3px rgba(73, 78, 82, 0.06), 0 0 5px rgba(122, 130, 136, 0.7);
}
.staticman-comments input[type="file"]:focus, .staticman-comments input[type="radio"]:focus, .staticman-comments input[type="checkbox"]:focus:focus {
box-shadow: none;
}
/*
Help text
========================================================================== */
.staticman-comments .help-block {
color: #898c8e;
}
.staticman-comments .help-block {
display: block;
margin-bottom: 1em;
line-height: 1em;
}
/*
.form-group
========================================================================== */
.staticman-comments .form-group {
margin-bottom: 5px;
padding: 0;
border-width: 0;
}
/*
Comments
========================================================================== */
.staticman-comments .page__comments {
float: left;
margin-left: 0;
margin-right: 0;
width: 100%;
clear: both;
}
.staticman-comments .page__comments-title {
margin-top: 2rem;
margin-bottom: 10px;
padding-top: 2rem;
border-top: 1px solid #f2f3f3;
}
.staticman-comments .page__comments-form {
-webkit-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}
.staticman-comments .page__comments-form.disabled input, .staticman-comments .page__comments-form.disabled button, .staticman-comments .page__comments-form.disabled textarea, .staticman-comments .page__comments-form.disabled label {
pointer-events: none;
cursor: not-allowed;
filter: alpha(opacity=65);
box-shadow: none;
opacity: 0.65;
}
.staticman-comments .comment {
margin: 1em 0;
}
.staticman-comments .comment:not(:last-child) {
border-bottom: 1px solid #f2f3f3;
}
.staticman-comments .comment__avatar-wrapper {
float: left;
width: 60px;
height: 60px;
}
.staticman-comments .comment__avatar {
width: 40px;
height: 40px;
border-radius: 50%;
}
.staticman-comments .comment__content-wrapper {
width: calc(100% - 60px);
}
.staticman-comments .comment__author {
margin: 0;
}
.staticman-comments .comment__author a {
text-decoration: none;
}
.staticman-comments .comment__date {
margin: 0;
}
.staticman-comments .comment__date a {
text-decoration: none;
}
/* ==========================================================================
PRINT STYLES
========================================================================== */
.staticman-comments @media print {
/*
Hide the following elements on print
========================================================================== */
.staticman-comments [hidden] {
display: none;
}
.staticman-comments .masthead, .staticman-comments .toc, .staticman-comments .page__share, .staticman-comments .page__related, .staticman-comments .pagination, .staticman-comments .ads, .staticman-comments .page__footer, .staticman-comments .page__comments-form, .staticman-comments .author__avatar, .staticman-comments .author__content, .staticman-comments .author__urls-wrapper, .staticman-comments .nav__list, .staticman-comments .sidebar, .staticman-comments .adsbygoogle {
display: none !important;
height: 1px !important;
}
}
/*
Post pagination navigation links
========================================================================== */
.staticman-comments .page__comments + .staticman-comments .pagination {
margin-top: 2em;
padding-top: 2em;
border-top: 1px solid #f2f3f3;
}