We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6470b0e commit 27319beCopy full SHA for 27319be
doc/themes/scikit-learn-modern/static/css/theme.css
@@ -661,13 +661,19 @@ div.sk-sidebar-global-toc ul ul {
661
div.sk-page-content h1 {
662
background-color: #cde8ef;
663
padding: 0.5rem;
664
- margin-top: calc(max(2.5rem, 1vh));
+ margin-top: calc(max(1rem, 1vh));
665
border-radius: 0 1rem;
666
text-align: center;
667
font-size: 2rem;
668
word-wrap: break-word;
669
}
670
671
+/* General sibling selector: does not apply to first h1, to avoid gap in
672
+ * top of page */
673
+div.sk-page-content ~ h1 {
674
+ margin-top: calc(max(2.5rem, 1vh));
675
+}
676
+
677
div.sk-page-content h2 {
678
679
background-color: #BED4EB;
0 commit comments