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

github.com/zwbetz-gh/vanilla-bootstrap-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZachary Betz <zwbetz@gmail.com>2018-12-28 01:28:54 +0300
committerZachary Betz <zwbetz@gmail.com>2018-12-28 01:28:54 +0300
commit189a7d2d471bcb9a7b05a110b2cb6436d97e7843 (patch)
treef49ef48cd387a10cd3c8c7950ce63d37d830dae6 /layouts
parent849bd177f1eb4f1300d527500de5d02378076844 (diff)
Home jumbrotron bg color
Diffstat (limited to 'layouts')
-rw-r--r--layouts/index.html2
-rw-r--r--layouts/partials/style.html3
2 files changed, 4 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 2611092..3aac94e 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,6 +1,6 @@
{{ define "main" }}
-<div class="jumbotron text-center">
+<div id="home-jumbotron" class="jumbotron text-center">
<h1 class="display-4">{{ .Site.Title }}</h1>
{{ $defaultHomeText := "TODO set <code>homeText</code> in your config file." }}
<p class="lead">{{ .Site.Params.homeText | default $defaultHomeText | markdownify }}</p>
diff --git a/layouts/partials/style.html b/layouts/partials/style.html
index 328f5ce..1ad7808 100644
--- a/layouts/partials/style.html
+++ b/layouts/partials/style.html
@@ -16,6 +16,9 @@ body {
margin-top: 1rem;
margin-bottom: 3rem;
}
+#home-jumbotron {
+ background-color: inherit;
+}
#footer .container {
padding: 1em 0;
}