X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/f7833f76b5f9555b0d95d23d47fc886a3528a335..073bc5dd763d0c181198af92fd5a2d8201d74679:/wolnelektury/static/css/master.css?ds=sidebyside diff --git a/wolnelektury/static/css/master.css b/wolnelektury/static/css/master.css index c62bcbc06..f4a93e73b 100644 --- a/wolnelektury/static/css/master.css +++ b/wolnelektury/static/css/master.css @@ -6,6 +6,10 @@ body { color: #2F4110; } +#header { + margin-top: -20px; +} + img { border: none; } @@ -19,6 +23,14 @@ a:hover, a:active { text-decoration: underline; } +a.banner { + display: block; + white-space: nowrap; +} +a.banner:hover { + text-decoration: none; +} + input { font: 1em Verdana, Arial, Helvetica, sans-serif; } @@ -37,15 +49,20 @@ h2 { } h3 { - font-size: 1em; + font-size: 1.15em; font-weight: bold; - margin: 0.2em 0 -1em 0; - color: #333; + margin: 2em 0 .5em 0; + color: #2F4110; } em { - font-style: normal; - background-color: #F5DC7D; +} + +hr { + border: 0; + border-top: 1px solid #2F4110; + margin: 2em 0; + height: 0; } .clearboth { @@ -67,6 +84,22 @@ em { #header #logo { float: left; } +#header #logo img { + margin-bottom: -1.25em; +} +#header a.logo { + display:block; + color: #777; +} + +#tagline { + color: #777; + position: absolute; +} + +#logo a:hover { + text-decoration: none; +} #header #user-info { margin: 0 0 0 auto; @@ -84,6 +117,36 @@ em { color: #777; } +.lang-menu { + margin-right: 0.7em; + line-height: 24px; +} + +.lang-menu button { + color: blue; + border: none; + border-right: 1px solid gray; + -moz-border-radius: 2px; + background: inherit; + cursor: pointer; + padding: 0.2em 0.5em; + font-size: 10px; +} + +.lang-menu button:hover { + color: blue; + text-decoration: underline; +} + +.lang-menu button.active { + color: black; + text-decoration: none; +} + +.lang-menu button.last { + border-right: none; +} + /* ======================== */ /* = Footer with sponsors = */ /* ======================== */ @@ -112,6 +175,13 @@ em { margin: 0.5em 0; padding: 0.5em; background-color: rgb(132, 191, 42); +} + +#searchContainer { + width: 100%; + min-height: 65px; + background-color: rgb(132, 191, 42); + padding: 0px 5px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; @@ -119,6 +189,11 @@ em { border-right: 0.15em solid #7B9C2D; } +#searchContainer #search-form { + padding: 0; + margin: 0; +} + #search-form p { margin: 0em 0 0 0; } @@ -129,11 +204,12 @@ em { } #search-form li { - margin: 0; + margin: 2px 0 0 5px; padding: 0; list-style: none; display: block; float: left; + /*margin-left: 5px;*/ } #search-form li.category, #search-form li.book-title { @@ -160,13 +236,37 @@ em { } .ac_input { - width: 18em; + width: 300px; + border: 0; } p .ac_input { width: 28em; } +#searchSubmit { + float: left; + margin-top: 10px; + height: 33px; +} +/* ================== */ +/* = Search matches = */ +/* ================== */ + +.matches li:first-letter { + text-transform: uppercase; +} + +/* ============== */ +/* = Search bar = */ +/* ============== */ + +.collections a { + color: white; + margin: 0 0.5em; +} + + /* ============= */ /* = Tags list = */ @@ -201,6 +301,7 @@ p .ac_input { border-right: 0.15em solid #E3D888; } +#lesmianator #tags-list, #tagged-object-list #tags-list, #book-detail #tags-list { margin-left: 39em; } @@ -221,18 +322,95 @@ p .ac_input { #book-detail #formats .change-sets { margin-right: 0.5em; } +/* +#formats .wrap ul { + margin: 0; + padding: 0; +} -#formats .wrap a { +#formats .wrap li { display: block; width: 100%; - height: 1.5em; + height: 1.9em; + background-color: #F2F2F2; + border: 1px solid #EEE; + text-align: center; +} +*/ +#formats .wrap .header { + display: block; + width: 100%; + height: 1.9em; background-color: #EEE; - margin-top: 0.5em; - padding: 0.5em 0; + border-bottom: 1px solid #EEE; + margin: 0; + padding-bottom: 2px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; - text-align: center; + color:#2F4110; + margin-top: 40px; +} + +.audiotabs span.active { + background-color:#FFF; +} + +.audiotabs span { + display: block; + height: 1.6em; + background-color:#EEE; + width: 80px; + text-align: center; + padding: 2px 0; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; + color: #2F4110; + font-weight: bold; + float:left; + cursor: pointer; + border: 1px solid #DDD; +} + +#formats .wrap .header span.desc { + display: block; + height: 1.6em; + background-color: #EEE; + width: 100px; + text-align: center; + padding: 2px 0; + color: #2F4110; + font-weight: bold; + float:left; + border: solid #eee; + border-width: 1px; +} + +.audiotabs { + float: right; +} + + +#formats .wrap .online { + display: block; + width: 100%; + background-color: #EEE; + margin: 0.5em 0 1em 0; + padding: 1em 0; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; + text-align: center; + font-size: 1.6em; +} + +#formats .wrap div.download { + text-align: center; + margin-bottom: 10px; +} +#formats .wrap div.download img { + padding: 0 10px 0 10px; } #czytamysluchajac { @@ -249,6 +427,29 @@ p .ac_input { padding-top: 1em; padding-bottom: 0em; } +div.audiobooks li { + list-style-type: none; +} + +div.audiobooks li.mp3Player { + margin-bottom: 1em; +} + +div.audiobooks { + padding: 15px; + float: left; +} + +.audiobook-list { + float: left; width: 270px; + position: relative; + left: 10px; +} + +#speaker { + float: left; + padding:5px 10px; +} #formats #czytamysluchajac-logo { background: white; @@ -259,6 +460,7 @@ p .ac_input { -moz-border-radius: 0px; -webkit-border-radius: 0px; border-radius: 0px; + margin: 0px 20px 10px 10px; } #tagged-object-list #themes-list, #book-detail #themes-list { @@ -346,7 +548,10 @@ div.shown-tags p, div.all-tags p { /* =============== */ #description { margin-top: 0.5em; - text-align: justify; + overflow: hidden; +} +#description-short { + display:none; } #description .meta { @@ -393,9 +598,98 @@ div.shown-tags p, div.all-tags p { -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; - text-align: center; + text-align: center; + outline: none; +} + +#download-shelf-menu { + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; + border: 3px solid #EEE; + padding: 5px; + margin-top: -5px; +} + +#download-formats-form li { + float: left; + height: 2em; +} + +#download-formats-form input { + float: left; +} + +#download-formats-form label { + display: block; + background-color: #EEE; + float: left; + width: 8em; + margin-right: 0.5em; + margin-top: -0.5em; + padding-top: 0.5em; + padding-bottom: 0.75em; +} + +#download-formats-form li { + margin: 0; + padding: 0; + list-style: none; +} + +#download-formats-form em { + color: #999; + background-color: #FFF; +} + +#download-formats-form em strong { + color: #000; + font-weight: normal; +} + +#download-formats-form-submit { + margin-left: 0.5em; + +} + +#download-formats-form #download-formats-form-submit-li { + margin-top: 0.75em; } +#download-formats-form-cancel { + color: #900; +} + +#toggle-share-shelf { + display: block; + width: 100%; + height: 1.5em; + background-color: #EEE; + margin-top: 0.5em; + padding: 0.5em 0; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; + text-align: center; + outline: none; +} +#toggle-share-shelf p { + margin:0; +} + +#share-shelf { + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; + border: 3px solid #EEE; + padding: 5px; + margin-top: -5px; +} +#share-shelf input { + width: 100%; +} + + /* ============================ */ /* = Books and fragments list = */ /* ============================ */ @@ -487,6 +781,7 @@ div.shown-tags p, div.all-tags p { .cuteform .error { color: #BF3024; + display: block; } /* ================ */ @@ -596,21 +891,124 @@ div.shown-tags p, div.all-tags p { text-decoration: none; } +#suggest-window { + position: absolute; + display: none; + width: 35em; + background-color: transparent; + margin-top: -0.5em; + margin-left: 1em; +} + +#suggest-window div.header { + background-color: #FFF; + border-right: 0.3em solid #DDD; + width: 4em; + right: 0; + left: auto; + padding: 0.5em 1em 0.5em 1em; + float: right; + text-align: center; +} + +#suggest-window div.target { + clear: both; + background-color: #FFF; + border-right: 0.3em solid #DDD; + border-bottom: 0.3em solid #DDD; + padding: 1em; +} +#suggest-form textarea { + width: 30em; +} + + +.big-top-link { + margin-top: .6em; + font-size: 2em; + /*max-width: 15em;*/ + line-height: 1.2em; +} + +#suggest-publishing-window { + position: absolute; + display: none; + width: 45em; + background-color: transparent; + margin-top: -0.5em; + margin-left: 1em; +} + +#suggest-publishing-window div.header { + background-color: #FFF; + border-right: 0.3em solid #DDD; + width: 4em; + right: 0; + left: auto; + padding: 0.5em 1em 0.5em 1em; + float: right; + text-align: center; +} + +#suggest-publishing-window div.target { + clear: both; + background-color: #FFF; + border-right: 0.3em solid #DDD; + border-bottom: 0.3em solid #DDD; + padding: 1em; +} +#suggest-publishing-form textarea { + width: 40em; + height: 6em; +} + /* ======================== */ /* = Alphabetic book list = */ /* ======================== */ -#book-a-list #book-list { - -moz-column-width: 24em; - -webkit-column-width: 24em; - column-width: 24em; +#book-list { + padding-left: 50px; +} +#book-list-nav { + position: absolute; + right: 50px; + width: 200px; + border-left: 1px #cfcfcf solid; + padding: 10px; + font-size: 1.2em; } -#book-a-list #book-list ol { +#book-list-nav ul { + list-style-type: none; + margin: 5px; + padding: 0; +} + +.book-list-show-index { + display: none; + margin: 0; padding: 0; +} + + +#book-a-list #book-list ol { + padding-left: 1em; margin: 0.3em 0 1.2em 0; list-style: none; } +#book-a-list #book-list h2 a { + color: black; +} + +#book-list-up { + position: fixed; + bottom: 50px; + right: 50px; + border-left: 1px #cfcfcf solid; + padding: 10px; + background-color: white; +} + #top-message { background-color: #2F4110; color: #FFF; @@ -630,13 +1028,11 @@ div.shown-tags p, div.all-tags p { .column-left { width: 37em; float: left; - text-align: justify; margin-top: 1em; } .column-right { margin-left: 40em; - text-align: justify; margin-top: 1em; } @@ -683,11 +1079,24 @@ div.shown-tags p, div.all-tags p { border-radius: 3px; /* font-size: 1.2em;*/ font-weight: bold; - width: 370px; + width: 330px; margin-bottom: 0.25em; display: block; } +#document-list ul { + padding-left: 30px; + list-style: disc; +} + +#document-list li { + padding: 5px; +} + +#document-list li li a { + width: 300px; +} + #document-list li a:hover, #document-list li a.active { text-decoration: none; background-color: #EEE; @@ -710,3 +1119,69 @@ div.shown-tags p, div.all-tags p { margin: 0; padding: 0 } + +#document-list .download-doc { + display: none; + color: #00F; +} + +/* ====================== */ +/* = One percent banner = */ +/* ====================== */ +#onepercent-banner { + color: #FFF; + margin: 0 -1.1em; + padding: 0 1.1em; + vertical-align: middle; + background-color: #FF6B3C; + height: 60px; + font-size: 1.8em; + line-height: 1.5em; + position: relative; +} + +#onepercent-text, #onepercent-line:visited, #onepercent-text:hover, #onepercent-text:active { + display: block; + line-height: 60px; + color: #FFF; + text-decoration: none; +} + +#onepercent-text strong { + font-weight: normal; + text-decoration: underline; +} + +#onepercent-see-more, #onepercent-see-more:visited, #onepercent-see-more:hover, #onepercent-see-more:active { + position: absolute; + right: 2em; + width: 9em; + text-align: right; + bottom: 0; + font-size: 12px; + color: #FFF; + text-decoration: none; +} + +#createNewShelf { + display: none; +} + +.widget-code { + overflow: hidden; +} + +#presentation-frame { + border: 0px none white; +} + + +/* dictionary */ + +.dictionary-note-source { + margin-top: -1em; +} + +#footnotes .pagination { + margin-top: 1em; +}