File tree 1 file changed +10
-7
lines changed
sphinx_togglebutton/_static
1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change 15
15
16
16
/* Titles should cut off earlier to avoid overlapping w/ button */
17
17
div.admonition.toggle p.admonition-title {
18
- padding-right: 20 %;
18
+ padding-right: 25 %;
19
19
}
20
20
21
21
/* hides all the content of a page until de-toggled */
@@ -59,14 +59,17 @@ button.toggle-button {
59
59
padding: 0px;
60
60
}
61
61
62
- button.toggle-button.toggle-button-hidden:before {
63
- content: "{{ togglebutton_hint }}";
64
- position: absolute;
65
- font-size: .8em;
66
- left: -6.5em;
67
- bottom: .4em;
62
+ @media (min-width: 768px) {
63
+ button.toggle-button.toggle-button-hidden:before {
64
+ content: "{{ togglebutton_hint }}";
65
+ position: absolute;
66
+ font-size: .8em;
67
+ left: -6.5em;
68
+ bottom: .4em;
69
+ }
68
70
}
69
71
72
+
70
73
/* Plus / minus toggles */
71
74
.toggle-button .bar {
72
75
background-color: white;
You can’t perform that action at this time.
0 commit comments