From: Sven Hoehn Date: Thu, 4 Jan 2018 14:31:31 +0000 (+0100) Subject: Bootstap migration talk.ipfire.org X-Git-Url: http://git.ipfire.org/?p=people%2Fshoehn%2Fipfire.org.git;a=commitdiff_plain;h=1e5f513f74b57dd91fd5b16b97c338bbf32cc81b Bootstap migration talk.ipfire.org --- diff --git a/static/css/style.css b/static/css/style.css index f9ef945..3be2ffc 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -6052,6 +6052,9 @@ button.navbar-toggler div { position: relative; top: -4px; } +.btn-group { + box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.25); } + .btn { height: 36px; text-transform: uppercase; @@ -6071,6 +6074,9 @@ button.navbar-toggler div { .btn-outline-secondary:hover { transition: background-color .25s ease-in-out; } +.btn-light { + box-shadow: none; } + .btn-xlg { height: 72px; margin: 0 36px; @@ -6330,19 +6336,25 @@ section#fireinfo { section#appliances { padding-bottom: 48px; } -.features-content { +.features-content, +.fixed-top + .blog-content { padding-top: 88px; margin-bottom: 40px; } @media (min-width: 992px) { - .features-content { + .features-content, + .fixed-top + .blog-content { padding-top: 161px; } } - .features-content .content { + .features-content .content, + .fixed-top + .blog-content .content { background: white; border-radius: 4px; box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.2); padding: 40px 24px; position: relative; } +.blog-content { + margin-bottom: 80px; } + .divider { width: 128px; height: 4px; diff --git a/static/scss/_buttons.scss b/static/scss/_buttons.scss index f71a5d1..789dfb3 100644 --- a/static/scss/_buttons.scss +++ b/static/scss/_buttons.scss @@ -17,6 +17,10 @@ button.navbar-toggler div { top: -4px; } +.btn-group { + box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .15), 0 1px 2px 0 rgba(0, 0, 0, .25); +} + .btn { height: 36px; text-transform: uppercase; @@ -39,6 +43,10 @@ button.navbar-toggler div { } } +.btn-light { + box-shadow: none; +} + .btn-xlg { height: 72px; margin: 0 36px; diff --git a/static/scss/style.scss b/static/scss/style.scss index cd5e508..38f0367 100644 --- a/static/scss/style.scss +++ b/static/scss/style.scss @@ -268,7 +268,8 @@ section#appliances { padding-bottom: 48px; } -.features-content { +.features-content, +.fixed-top + .blog-content { padding-top: 88px; margin-bottom: 40px; @include media-breakpoint-up(lg) { @@ -283,6 +284,10 @@ section#appliances { } } +.blog-content { + margin-bottom: 80px; +} + .divider { width: 128px; height: 4px; diff --git a/templates/base.html b/templates/base.html index ab3431c..61f0751 100644 --- a/templates/base.html +++ b/templates/base.html @@ -43,8 +43,7 @@ {% if hostname in ("www.ipfire.org", "dev.ipfire.org") %} IPFire {% elif hostname in ("planet.ipfire.org", "planet.dev.ipfire.org") %} - {{ _("IPFire Planet") }}   - {{ _("The Blog of the IPFire Team") }} + IPFire Planet {% elif hostname in ("wishlist.ipfire.org", "wishlist.dev.ipfire.org") %} {{ _("IPFire Wishlist") }}   {{ _("The IPFire Crowd-Funding Platform") }} diff --git a/templates/modules/menu.html b/templates/modules/menu.html index 615996d..32673be 100644 --- a/templates/modules/menu.html +++ b/templates/modules/menu.html @@ -71,20 +71,15 @@ + {% elif hostname == "planet.ipfire.org" %} + + {% end %} -{% if hostname == "planet.ipfire.org" %} - -{% end %} - {% if current_user %}