summaryrefslogtreecommitdiffstats
path: root/nikola/data/themes/bootstrap/assets/css/theme.css
diff options
context:
space:
mode:
Diffstat (limited to 'nikola/data/themes/bootstrap/assets/css/theme.css')
-rw-r--r--nikola/data/themes/bootstrap/assets/css/theme.css48
1 files changed, 29 insertions, 19 deletions
diff --git a/nikola/data/themes/bootstrap/assets/css/theme.css b/nikola/data/themes/bootstrap/assets/css/theme.css
index 761dbb6..4fc31a8 100644
--- a/nikola/data/themes/bootstrap/assets/css/theme.css
+++ b/nikola/data/themes/bootstrap/assets/css/theme.css
@@ -1,11 +1,3 @@
-body {
- padding-top: 60px;
-}
-@media (max-width: 979px) {
- body {
- padding-top: 0px;
- }
-}
#container {
width: 960px;
margin: 50 auto;
@@ -91,17 +83,6 @@ article.post-micro {
font-size: 1.5em;
}
-/* fix anchors for headers */
-h1, h2, h3 {
- margin-top: -40px;
- padding-top: 60px;
-}
-
-h4, h5, h6 {
- margin-top: -50px;
- padding-top: 60px;
-}
-
.image-block {
display: inline-block;
}
@@ -193,3 +174,32 @@ h4, h5, h6 {
overflow: visible;
clip: auto;
}
+
+/* hat tip bootstrap/html5 boilerplate */
+@media print {
+ *, *:before, *:after {
+ font-family: Garamond, Junicode, serif;
+ }
+
+ body {
+ font-size: 12pt;
+ }
+
+ article .entry-title a[href]:after,
+ article .metadata a[href]:after,
+ article .tags a[href]:after {
+ content: "";
+ }
+
+ article .metadata .sourceline {
+ display: none;
+ }
+
+ article .metadata .linkline a[href]:after {
+ content: " (" attr(href) ")";
+ }
+
+ .navbar {
+ display: none;
+ }
+}