diff options
author | Keichi Takahashi <keichi.t@me.com> | 2015-02-04 21:08:19 +0300 |
---|---|---|
committer | Keichi Takahashi <keichi.t@me.com> | 2015-02-04 21:08:19 +0300 |
commit | 080202e6cc35333c841ae5b2e19c3af855e3ba55 (patch) | |
tree | cb5f84aa40504a2d430a5590c4403183463dbd1d | |
parent | 9acf1a71c54735ab9444c0b73635c2670c721d1f (diff) |
Simplified implementation of cover image
-rw-r--r-- | layouts/partials/header.html | 1 | ||||
-rw-r--r-- | static/css/main.css | 16 |
2 files changed, 0 insertions, 17 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 37ce5b1..d69fb7b 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -34,7 +34,6 @@ </head> <body> <header class="global-header"> - <div class="header-img hidden-print"></div> <section class="header-text"> <h1><a href="{{ .Site.BaseUrl }}">{{ .Site.Title }}</a></h1> {{ with .Site.Params.subtitle }} diff --git a/static/css/main.css b/static/css/main.css index 4dca920..95a1e77 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -5,27 +5,11 @@ main { /* Header */ .global-header { - position: relative; - height: 210px; -} - -@media (max-width: 768px) { - .global-header { - height: 250px; - } -} - -.header-img { - width: 100%; - height: 100%; background-image: url(/images/bg.jpg); background-size: cover; } .header-text { - position: absolute; - top: 0; - width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.4); color: rgba(255, 255, 255, 0.9); |