-
Notifications
You must be signed in to change notification settings - Fork 188
Expand file tree
/
Copy pathcustom.css
More file actions
55 lines (45 loc) · 1.22 KB
/
custom.css
File metadata and controls
55 lines (45 loc) · 1.22 KB
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
/* Top, right navigation button */
input[type="checkbox"]#btn-navbar-checkbox {
display: none;
}
input[type="checkbox"]#btn-navbar-checkbox:not(:checked) ~ .collapse {
height: auto;
}
/* fix label settings for accordion */
.accordion-toggle label {
font-size: unset;
font-weight: unset;
line-height: unset;
margin-bottom: unset;
}
.accordion .accordion-group .accordion-heading label {
margin-bottom: initial;
}
/* radio type accordion */
.accordion .accordion-group input[type="radio"] {
display: none;
}
.accordion .accordion-group input[type="radio"] ~ .collapse {
height: 0;
}
.accordion .accordion-group input[type="radio"]:checked ~ .collapse {
height: auto;
}
/* checkbox type accordion */
.accordion .accordion-group input[type="checkbox"] {
display: none;
}
.accordion .accordion-group input[type="checkbox"]:not(:checked) ~ .collapse {
height: auto;
}
/* Disqus comment text */
input[type="checkbox"]#comment-accordion-toggle-checkbox:not(:checked)
~ .accordion-heading
#comment-accordion-toggle::before {
content: "Click here to hide comments";
}
input[type="checkbox"]#comment-accordion-toggle-checkbox:checked
~ .accordion-heading
#comment-accordion-toggle::before {
content: "Comments";
}