-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomment-widget-dark.css
204 lines (187 loc) · 5.62 KB
/
comment-widget-dark.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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
/*
Below you will be able to freely customize every aspect of the comment widget.
Most aspects of the widget are 100% able to be customized in CSS, but for strong structural changes,
you may have to edit the JavaScript file.
These are all the classes and IDs at your disposal!
Classes have a c- at the start and IDs have a c_
You don't need every single one for a good theme, but I tried to give as many options as possible!
*/
/*
Containers:
#c_widget - The container <div> for the entire widget
#c_inputArea - The wrapper <div> around the form
#c_container - The wrapper <div> around all the comments
The input form:
#c_form - The whole input <form>
#c_widgetTitle - The <h2> title at the top of the form
.c-inputWrapper- All <div> wrappers for each label/input pair
.c-label - All <label>s
.c-input - All <input>s
#c_nameWrapper - The wrapper <div> for the name field
.c-nameLabel - The <label> for the name field
.c-nameInput - The <input> for the name field
#c_websiteWrapper - The wrapper <div> for the website field
.c-websiteLabel - The <label> for the website field
.c-websiteInput - The <input> for the website field
#c_textWrapper - The wrapper <div> for the text field
.c-textLabel - The <label> for the text field
.c-textInput - The <input> for the text field
#c_submitButton - The submit button (It's an <input> element with a type of "submit")
#c_replyingText - The text <span> that displays when a user is replying to a comment
The comment section:
.c-comment - All comment <div>s
.c-reply - All reply <div>s (contained within parent comment <div>s)
.c-replyContainer - The wrapper <div> for all replies
.c-name - The name of the person submitting the comment/reply (an <h3> element)
.c-timestamp - The timestamp of when the comment/reply was made (a <span> element)
.c-site - The website linked at the top of the comment/reply (an <a> element)
.c-text - The actual text body of the comment/reply (a <p> element)
.c-replyButton - All reply <button>s
.c-expandButton - The <button>s to reveal/hide replies (These only show if s_collapsedReplies is set to true in the JS)
#c_pagination - The <div> wrapper for the pagination at the bottom (Only shows if there's more than one page)
.c-paginationButton - Both left and right directional <button>s
#c_leftButton - The left <button>
#c_rightButton - The right <button>
*/
body {
background-image: url("bg.gif");
background-repeat: repeat;
}
/* Main */
#c_widget {
height: auto;
width: 100%;
overflow: auto;
background-attachment: fixed;
font-family: 'Courier New';
font-size: 16px;
color: white;
}
#c_widget button, #c_widget input[type=submit] {
padding: 4px;
font-family: 'Courier New';
text-decoration: none;
text-align: center;
text-transform: uppercase;
background-color: black;
color: #B766FF;
border: 3px solid purple;
}
#c_widget button:hover, #c_widget input[type=submit]:hover {
color: white;
border: 3px solid purple;
}
#c_widget button:disabled, #c_widget input[type=submit]:disabled {opacity: 60%;}
#c_widget button:disabled:hover, #c_widget input[type=submit]:disabled:hover {
color: #B766FF;
border: 3px solid purple;
}
/* Input section */
#c_inputDiv {
margin-bottom: 15px;
padding: 10px;
background-color: black;
border: 3px solid purple;
}
#c_widgetTitle {
margin: -10px;
margin-bottom: 10px;
padding: 5px;
text-transform: uppercase;
font-style: italic;
font-weight: bold;
text-align: left;
background-color: #2D0B52;
}
.c-inputWrapper {
display: block;
text-align: left;
}
.c-input {
padding: 4px;
color: black;
border: 3px solid purple;
outline: none;
}
.c-input:focus {border: 3px solid purple;}
.c-textInput {
width: calc(100% - 10px);
max-width: 900px;
resize: none;
}
#c_submitButton {
display: block;
margin-left: auto;
margin-right: 0;
}
#c_replyingText {
color: white;
text-align: left;
}
/* Comment section */
.c-comment {
margin-bottom: 15px;
padding: 10px;
border: 3px solid purple;
background-color: #2D0B52;
}
.c-reply {
display: block;
width: 90%;
margin-bottom: 10px;
margin-left: auto;
margin-right: 0;
padding: 10px;
border: 3px solid purple;
background-color: #2D0B52;
}
.c-reply:last-child {margin-bottom: 0;}
.c-replyContainer {
margin: -10px;
margin-top: 10px;
padding: 10px;
background-color: black;
}
.c-name {
display: inline-block;
margin: 0;
margin-right: 10px;
padding: 0;
text-transform: uppercase;
font-weight: bold;
}
.c-site {
text-transform: uppercase;
text-decoration: none;
color: #B766FF;
}
.c-site:hover {color: white;}
.c-timestamp {
float: right;
opacity: 75%;
}
.c-text {
margin: 0;
margin-left: -10px;
margin-right: -10px;
padding: 10px;
font-family: Verdana;
font-size: 14px;
text-align: left;
color: white;
background-color: black;
}
/* Pagination */
#c_pagination {text-align: center;}
.c-replyButton {
margin-top: 10px;
margin-right: 4px;
}
.c-expandButton {
margin-top: 10px;
margin-left: 4px;
}
.c-paginationButton {
margin-right: 4px;
margin-left: 4px;
}