Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mmrath/hugo-bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMurali Mohan Rath <mmrath@gmail.com>2016-03-05 16:05:02 +0300
committerMurali Mohan Rath <mmrath@gmail.com>2016-03-05 16:05:02 +0300
commitd8219ca9bb7decbdf50b516e44955c7d0a0d29bb (patch)
treeec292c8ed4afac193f4bce9ecef9dbb29f56c0f9
parent2bf2950a0ec6b8d574113f0251021bb25b2598c3 (diff)
change footer style
-rw-r--r--layouts/partials/base/footer.html9
-rw-r--r--layouts/partials/bloc/content/sidebar.html4
-rw-r--r--static/css/style.css10
3 files changed, 10 insertions, 13 deletions
diff --git a/layouts/partials/base/footer.html b/layouts/partials/base/footer.html
index 59b576c..f7ce16c 100644
--- a/layouts/partials/base/footer.html
+++ b/layouts/partials/base/footer.html
@@ -1,14 +1,17 @@
-<footer class="footer">
- <div class="container hidden-print">
+
+<footer class="footer hidden-print">
+ <div class="container">
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
+ <p>
{{ partial "bloc/footer/nav" . }}
+ </p>
</div>
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 text-center">
<small>
{{ partial "bloc/footer/credits" . }}
</small>
</div>
- </div>
</div>
+ </div>
</footer>
diff --git a/layouts/partials/bloc/content/sidebar.html b/layouts/partials/bloc/content/sidebar.html
index 2802d06..6167cef 100644
--- a/layouts/partials/bloc/content/sidebar.html
+++ b/layouts/partials/bloc/content/sidebar.html
@@ -1,5 +1,4 @@
<div>
-
{{ if and .IsPage (eq .Params.toc true) }}
<div class="section">
<header><div class="title">TableOfContents</div></header>
@@ -35,5 +34,4 @@
{{ end }}
{{ end }}
-
-</aside>
+</div>
diff --git a/static/css/style.css b/static/css/style.css
index e1333e2..f3007f5 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -9,15 +9,11 @@ html {
body {
/* Margin bottom by footer height */
font-family: 'Open Sans', 'sans-serif';
- margin-bottom: 60px;
}
.footer {
- position: absolute;
- bottom: 0;
+ margin-top: 3rem;
width: 100%;
- /* Set the fixed height of the footer here */
- height: 60px;
- background-color: #f5f5f5;
+ text-align: center;
}
body > .container {
@@ -38,4 +34,4 @@ p {
/* Responsive viceo? */
iframe {
max-width: 100%;
- } \ No newline at end of file
+ }