aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Mayer <entroP@gmail.com>2016-07-02 10:22:42 -0600
committerGitHub <noreply@github.com>2016-07-02 10:22:42 -0600
commitff8412aa11f221fe0326730cece398a8c3bc0bf6 (patch)
treeacab8e0dba8e30ee32d2f7e4e33eabe36e698641
parentfb3b91cf2e46779dd23197f72c9396ddf0099cef (diff)
parent35d54746404b6ddcca5a47ba58d4abc2ce24226c (diff)
downloadpelican-themes-ff8412aa11f221fe0326730cece398a8c3bc0bf6.zip
pelican-themes-ff8412aa11f221fe0326730cece398a8c3bc0bf6.tar.gz
pelican-themes-ff8412aa11f221fe0326730cece398a8c3bc0bf6.tar.bz2
Merge pull request #398 from bnice5000/CSS_Fixes
pelican-bootstrap3: CSS fixes
-rw-r--r--pelican-bootstrap3/static/css/style.css22
-rw-r--r--pelican-bootstrap3/templates/base.html2
2 files changed, 21 insertions, 3 deletions
diff --git a/pelican-bootstrap3/static/css/style.css b/pelican-bootstrap3/static/css/style.css
index f9e65fa..646765a 100644
--- a/pelican-bootstrap3/static/css/style.css
+++ b/pelican-bootstrap3/static/css/style.css
@@ -12,7 +12,7 @@ body {
}
/* for list-group-items nested within a list-group-item, reset the bottom
- padding of the last item, b/c the containing item has paddimg already
+ padding of the last item, b/c the containing item has paddimg already
*/
.list-group-item .list-group-item:last-child {
padding-bottom: 0px;
@@ -175,7 +175,7 @@ figure.floatcenter, .align-center {
background-repeat: no-repeat;
background-position: top center;
background-attachment: scroll;
- background-size: cover;
+ background-size: cover;
background-color: #C4C4C4;
margin: 0 0 20px;
padding: 70px 0; /*controls padding around inner text*/
@@ -221,3 +221,21 @@ figure.floatcenter, .align-center {
font-size: 16px;
}
}
+
+:target:before {
+ content:"";
+ display:block;
+ height:50px;
+ /* fixed header height*/
+
+ margin:-50px 0 0;
+ /* negative fixed header height */
+}
+
+.gap-right {
+ margin-right: 10px;
+}
+
+.gap-left {
+ margin-left: 10px;
+}
diff --git a/pelican-bootstrap3/templates/base.html b/pelican-bootstrap3/templates/base.html
index cbbed8a..7c041d5 100644
--- a/pelican-bootstrap3/templates/base.html
+++ b/pelican-bootstrap3/templates/base.html
@@ -114,7 +114,7 @@
</button>
{% endif %}
<a href="{{ SITEURL }}/" class="navbar-brand">
- {% if SITELOGO %}<img src="{{ SITEURL }}/{{ SITELOGO }}" width="{{ SITELOGO_SIZE }}"/> {% endif %}
+ {% if SITELOGO %}<img class="img-responsive pull-left gap-right" src="{{ SITEURL }}/{{ SITELOGO }}" width="{{ SITELOGO_SIZE }}"/> {% endif %}
{% if not HIDE_SITENAME %}{{ SITENAME }}{% endif %}
</a>
</div>