diff options
author | Hauke Stieler <mail@hauke-stieler.de> | 2018-08-25 00:04:45 +0300 |
---|---|---|
committer | Hauke Stieler <mail@hauke-stieler.de> | 2018-08-25 00:04:45 +0300 |
commit | 334ce1497370c075b5c119446de20b104e9b20e9 (patch) | |
tree | 98be5941295016ffd89caa4669e5486b0598b473 | |
parent | 0364e043fd2a5d95dd24f6bf9fa7fd09a238e509 (diff) |
Remove unused css
-rw-r--r-- | layouts/partials/header.html | 2 | ||||
-rw-r--r-- | static/css/main.css | 52 |
2 files changed, 2 insertions, 52 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 611fa7a..a6b9b78 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -56,7 +56,7 @@ </h3> {{ end }} {{ if ne ( trim .URL "/" ) .Site.Language.Lang }} - <a href="{{ "/" | absLangURL }}" class="btn btn-default btn-back"> + <a href="{{ "/" | absLangURL }}" class="btn btn-default btn-home"> <i class="fa fa-angle-left" aria-hidden="true"></i> {{ i18n "home" }} </a> diff --git a/static/css/main.css b/static/css/main.css index d21659f..bf58e1f 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -6,15 +6,12 @@ main { /* Header */ .global-header { - background: #222 no-repeat center top; background-size: cover; min-height: 350px; } .header-text { position: relative; - padding-bottom: 1px; - height: 100%; min-height: inherit; background-color: rgba(0, 0, 0, 0.3); color: #fff; @@ -29,30 +26,6 @@ main { font-weight: 200; } -.header-text .sns-links { - margin: 20px auto; - text-align: center; -} - -.header-text .sns-links a { - display: inline-block; - margin: 0 2px; - width: 30px; - height: 30px; - border: 1px solid rgba(255, 255, 255, 0.6); - border-radius: 15px; - color: rgba(255, 255, 255, 0.6); - text-decoration: none; - font-size: inherit; - line-height: 30px; - transition: color,border-color 0.1s linear; -} - -.header-text .sns-links a:hover { - border-color: rgba(255, 255, 255, 1.0); - color: rgba(255, 255, 255, 1.0); -} - .header-text h1 { margin: 0 auto; padding-top: 25px; @@ -69,30 +42,7 @@ main { text-decoration: none; } -a.btn-header { - position: absolute; - top: 20px; - padding: 7px 16px; - border: 1px solid rgba(255, 255, 255, 1.0); - border-radius: 3px; - background-color: rgba(0, 0, 0, 0.1); - color: rgba(255, 255, 255, 1.0); - text-decoration: none; - font-weight: 400; - font-size: 13px; - transition: color,background-color 0.1s linear; -} - -a.btn-header:hover { - background-color: rgba(255, 255, 255, 1.0); - color: rgba(0, 0, 0, 1.0); -} - -a.btn-subscribe { - right: 20px; -} - -a.btn-back { +a.btn-home { position: absolute; left: 20px; top: 20px; |