Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions sphinx_togglebutton/_static/togglebutton.css_t
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

/* Titles should cut off earlier to avoid overlapping w/ button */
div.admonition.toggle p.admonition-title {
padding-right: 20%;
padding-right: 25%;
}

/* hides all the content of a page until de-toggled */
Expand Down Expand Up @@ -59,14 +59,17 @@ button.toggle-button {
padding: 0px;
}

button.toggle-button.toggle-button-hidden:before {
content: "{{ togglebutton_hint }}";
position: absolute;
font-size: .8em;
left: -6.5em;
bottom: .4em;
@media (min-width: 768px) {
button.toggle-button.toggle-button-hidden:before {
content: "{{ togglebutton_hint }}";
position: absolute;
font-size: .8em;
left: -6.5em;
bottom: .4em;
}
}


/* Plus / minus toggles */
.toggle-button .bar {
background-color: white;
Expand Down