aboutsummaryrefslogtreecommitdiffstats
path: root/pelican-bootstrap3
diff options
context:
space:
mode:
Diffstat (limited to 'pelican-bootstrap3')
-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>