X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/7cf1f5926f871122e6e240432531ae942c4f9df1..642e83337054cbef44f9ee3335dcf7f50224dd9e:/wolnelektury/static/css/header.css?ds=sidebyside diff --git a/wolnelektury/static/css/header.css b/wolnelektury/static/css/header.css index 9e81463df..3fe0edd86 100755 --- a/wolnelektury/static/css/header.css +++ b/wolnelektury/static/css/header.css @@ -11,11 +11,15 @@ #header { - color: #969696; + height: 3em; + padding-top: 1.9em; + padding-bottom: 0; + color: #989898; background: #191919; } #half-header { + padding-bottom: 0; background: url('/static/img/bg-header.png'); background-position: center; background-size: 100%; @@ -23,6 +27,7 @@ #half-header-content { background: #191919; + color: #989898; } @@ -33,64 +38,92 @@ #logo { position: absolute; - top: 4em; + top: 1.9em; + margin-left: 1.5em; } #logo a { font-family: WL-Logo; - font-size: 1.9em; + font-size: 2.05em; color:#f7f7f7; } -#logo img { - max-width: 15em; -} - #tagline { display: inline-block; - margin-left: 16em; + margin-left: 25.5em; +} +#tagline span { + font-size: 1.3em; + color: #ccc; +} +#tagline a, +#user-info a { + color: #17cfdb; } -#search { +#search-area { margin: 0; background: #444; - margin-left: 16em; - width: 59em; + color: white; + margin-left: 24em; + width: 73.5em; } #search-field { display: inline-block; - width: 50em; - padding-left: .5; - padding-right: .5; - padding: .1em .5em 0 .5em; + width: 63.1em; + padding-left: .5em; + padding-right: 0; + padding-top: 0.6em; + padding-bottom: 0; } -#search-field input { - height: 2.8em; - border: none; - width: 49.5em; - font-size: 1em; +#search { + font-size: 1.3em; + padding: 0; + /*height: 3.3em; + width: 62.6em; padding-left: .5em; -webkit-border-radius: .5em; -moz-border-radius: .5em; + border: none; border-radius: .5em; -webkit-box-shadow:0 0 .5em #444 inset; -moz-box-shadow:0 0 .5em #444 inset; + box-shadow: 0 0 .5em #444 inset;*/ + height: 2.54em; + width: 47.47em; + padding-left: 1em; + -webkit-border-radius: .38em; + -moz-border-radius: .38em; + border: none; + border-radius: .38em; + -webkit-box-shadow:0 0 .38em #444 inset; + -moz-box-shadow:0 0 .38em #444 inset; box-shadow: 0 0 .5em #444 inset; + + font-family: Georgia; + background-color: #fff; + color: #000; +} +#search.blur { + font-family: Georgia; + font-style: italic; + color: #888; } #search-button { display: inline-block; background: #02adb7; + color: white; padding: 0; margin: 0; - width: 8em; + width: 9.4em; + float: right; } #search-button button { font-size: 1em; - /* should match grid-line */ - height: 4em; + height: 4.5em; border: none; background: #02adb7; color: white; @@ -99,38 +132,44 @@ } #search-button button span { + font-size: 1.1em; position:relative; - top: -.2em; } #nav-line { background-color: #e2e2e2; - height: 3.95em; + height: 4.9em; } -ul#catalogue { +ul#menu { list-style: none; padding: 0; - margin: 0; + margin: 0 0 0 .6em; } -ul#catalogue li { + +li.menu { background-color: #e2e2e2; float: left; } -ul#catalogue a { +a.menu { display: block; - padding-left: 1.5em; - padding-right: 1.5em; + padding-left: 1.4em; + padding-right: 1.4em; /* must match grid-line */ - height: 2.7em; - padding-top: 1.3em; + height: 3.1em; + padding-top: 1.8em; +} +a.menu span { + font-size: 1.1em; } - +#lang-button { + color: #aaa; +} #lang-button:after { - padding-left: .5em; + padding-left: 1em; content: "↓"; font-family: WL-Nav; vertical-align: middle; @@ -139,18 +178,18 @@ ul#catalogue a { position: relative; float: right; display: block; - padding-left: 1.5em; - padding-right: 1.5em; + padding-left: 2.5em; + padding-right: 2em; /* must match grid-line */ - height: 2.7em; - padding-top: 1.3em; + height: 3em; + padding-top: 1.9em; background: #f7f7f7; } #lang-menu-items button { display: none; background: #f7f7f7; - color: #444; + color: #777; cursor: pointer; width: 100%; border: solid #ddd; @@ -173,5 +212,5 @@ ul#catalogue a { } #lang-menu .active { - font-weight: bold; + color: #000; }