From b0b24795b24ee6809397fbbadf42f31f310a219f Mon Sep 17 00:00:00 2001 From: Agustin Henze Date: Wed, 8 Jul 2015 07:35:02 -0300 Subject: Imported Upstream version 7.6.0 --- nikola/data/themes/bootstrap/assets/css/theme.css | 48 ++++++++++++++--------- 1 file changed, 29 insertions(+), 19 deletions(-) (limited to 'nikola/data/themes/bootstrap/assets/css/theme.css') 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; + } +} -- cgit v1.2.3