app/assets/stylesheets/apitome/application.css in apitome-0.0.7 vs app/assets/stylesheets/apitome/application.css in apitome-0.0.8
- old
+ new
@@ -1,18 +1,17 @@
/*
*= require apitome/bootstrap.min
- *= require apitome/highlight_themes/default
*/
body {
position: relative;
padding-top: 50px;
}
h1,
h2 {
- margin-top: 30px;
+ margin-top: 20px;
}
pre {
background: #fcfbf9;
}
pre code {
@@ -78,15 +77,31 @@
padding-bottom: 3px;
padding-left: 30px;
font-size: 90%;
}
-body.single-page .docs-section section.readme article {
- margin-top: -50px;
- margin-bottom: -20px;
+body.single-page .docs-section > section {
+ padding-top: 20px;
+ padding-bottom: 10px;
+ border-bottom: 1px solid #eee;
}
-body.single-page .docs-section section article {
- padding-top: 50px;
+body.single-page .docs-section > section h1 {
+ padding-top: 25px;
+ margin-bottom: -45px;
+}
+body.single-page .docs-section > section article {
+ padding-top: 60px;
+}
+
+body.single-page .docs-section > section.readme {
+ padding-top: 0;
+}
+body.single-page .docs-section > section.readme h1 {
+ padding-top: 0;
+ margin-bottom: 0;
+}
+body.single-page .docs-section > section.readme article {
+ margin-top: -52px;
}
@media screen and (min-width: 992px) {
.sidebar.affix {
position: fixed;