From 3fa33fcd1c9e7df0acc17386919372e2c09f9e4d Mon Sep 17 00:00:00 2001 From: botsi Date: Fri, 31 Jan 2020 11:21:50 +0100 Subject: [PATCH] css adjustments on about page --- .gitignore | 1 + boday_it/static/css/custom_overwrites.css | 72 ++++++++++++++++++++++ boday_it/templates/base.html | 4 +- boday_it/templates/base_root.html | 1 + project.db | Bin 753664 -> 753664 bytes 5 files changed, 76 insertions(+), 2 deletions(-) create mode 100644 boday_it/static/css/custom_overwrites.css diff --git a/.gitignore b/.gitignore index 4e04931..797f7e5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ .idea demo/migrations *.pyc +*.psd dev.db env davenv diff --git a/boday_it/static/css/custom_overwrites.css b/boday_it/static/css/custom_overwrites.css new file mode 100644 index 0000000..de7ab3e --- /dev/null +++ b/boday_it/static/css/custom_overwrites.css @@ -0,0 +1,72 @@ +.navbar-main .nav>.active>a>span, .navbar-main .nav>li:hover>a>span { + border-color: rgb(28, 146, 204); +} + +.feature-visual img, .feature-visual-narrow img { + left: auto; + right: 0; +} + +@media (min-width:768px) { + .feature-visual img, .feature-visual-narrow img { + left: 0; + right: auto; + } +} + +div.blue-box { + display: flex; + justify-content: center; + flex-wrap: wrap; +} + +div.blue-box-child { + background: rgb(28, 146, 204); + color: #fff; + margin: 12px; + width: 96%; + padding: 2%; +} + +@media (min-width:768px) { + div.blue-box-child { + margin: 12px; + width: 46%; + padding: 2%; + } +} + +div.blue-box-child p, +div.blue-box-child ul { + line-height: 1.2; + margin: 0; +} + +div.blue-box-child ul.no-dash, +div.blue-box-child ul.dash { + list-style: none; +} + +div.blue-box-child ul.no-dash { + padding-left: 0; +} + +div.blue-box-child ul.dash { + margin-left: 0; + padding-left: 1em; +} + +div.blue-box-child ul.dash>li:before { + display: inline-block; + content: "-"; + width: 1em; + margin-left: -1em; +} + +div.footer-copyright { + height: 100%; +} + +div.footer-copyright li.pull-right a { + color: #fff; +} \ No newline at end of file diff --git a/boday_it/templates/base.html b/boday_it/templates/base.html index 9320888..53a5bf1 100644 --- a/boday_it/templates/base.html +++ b/boday_it/templates/base.html @@ -119,11 +119,11 @@ -