summaryrefslogtreecommitdiff
path: root/lib/rdoc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rdoc')
-rw-r--r--lib/rdoc/generator/template/darkfish/css/rdoc.css26
1 files changed, 8 insertions, 18 deletions
diff --git a/lib/rdoc/generator/template/darkfish/css/rdoc.css b/lib/rdoc/generator/template/darkfish/css/rdoc.css
index 69b1d08577..ed9b3e9c3b 100644
--- a/lib/rdoc/generator/template/darkfish/css/rdoc.css
+++ b/lib/rdoc/generator/template/darkfish/css/rdoc.css
@@ -292,6 +292,14 @@ main {
main {
margin-left: var(--sidebar-width);
}
+
+ .table-of-contents main {
+ margin-left: 20em;
+ }
+
+ #navigation-toggle {
+ display: none;
+ }
}
main h1[class] {
@@ -311,12 +319,6 @@ main h6 {
color: var(--highlight-color);
}
-@media (min-width: 1024px) {
- .table-of-contents main {
- margin-left: 20em;
- }
-}
-
/* Search */
#search-section {
padding: 1em;
@@ -514,18 +516,6 @@ main header h3 {
.hide { display: none !important; }
.initially-hidden { display: none; }
-/* Media Queries */
-@media (min-width: 1024px) {
- /* Styles for larger screens */
- .table-of-contents main {
- margin-left: 20em;
- }
-}
-
-@media print {
- /* Print-specific styles */
-}
-
/* Table of Contents */
.table-of-contents ul {
margin: 1em;