diff --git a/Schema_new.dia b/Schema_new.dia index f09c0589..c212ec3b 100644 Binary files a/Schema_new.dia and b/Schema_new.dia differ diff --git a/mamweb/static/css/mamweb.css b/mamweb/static/css/mamweb.css index 357b5027..09b870f4 100644 --- a/mamweb/static/css/mamweb.css +++ b/mamweb/static/css/mamweb.css @@ -14,8 +14,31 @@ div.container { margin: auto; } +.org-logged-in div.container { + margin-top: 20px; +} + div.login-bar { background: #6a0043; + color: #f9d59e; + width: 100%; + + position: fixed; + margin-top: -20px; + min-height: 20px; + z-index: 20; + + padding-left: 5px; + padding-right: 5px; +} + +div.login-bar div { + display: inline; +} + +a.login-ref-admin { + display: inline; + color: #fffbf6; } /* odkazy a nadpisy */ @@ -28,7 +51,10 @@ a:focus, a:hover, a:active { color: #e84e10; text-decoration: none; } -a:focus a:hover + +img { + filter: drop-shadow(0px 3px 3px rgba(0, 0, 0, 0.4)); +} h1 { /*todo: odlišit 1 a 2 */ font-size: 200%; @@ -74,16 +100,16 @@ h6 { .org-logged-in .mam-text-plugin { - border: dashed 1px #f77; + border: dashed 1px #6a0043; padding: 5px; margin: -5px; } .mam-org-only { - background: #fff0d7; + background: #eee4ec; padding: 10px; margin: 10px -10px; - border: orange 2px dashed; + border: #6a0043 2px dashed; } .mam-org-only .mam-org-only { @@ -123,6 +149,8 @@ h1 { margin-top: 0px; } + + /* Comments */ #id_comment { @@ -191,7 +219,7 @@ vikendovka #header.NOCsoustredeni { background-image: url("../images/header/vylet.jpg");} #header.NOCzadani { background-image: url("../images/header/stiny.jpg");} #header.NOCclanky { background-image: url("../images/header/ohen.jpg");} -#header.NOCarchiv { background-image: url("../images/header/vikendovka.jpg");} +#header.NOCarchiv { background-image: url("../images/header/stiny.jpg");} #header img.logo { @@ -407,6 +435,10 @@ ul.submenu { /* malý tablet, mobil */ @media (max-width: 650px) { + #hide-if-small.login-bar-flatpage { + display: none; + } + #title { display: none; } @@ -558,13 +590,21 @@ div.seznam_orgu { text-align: center; } -div.org_pole { +div.org_pole, div.rocnik_pole { display: inline-block; width: 30%; min-width: 300px; text-align: center; } +div.cislo_pole { + display: inline-block; + width: 15%; + min-width: 165px; + text-align: center; + padding: 10px; +} + div.seznam_orgu h3 { text-align: center; margin-top: 10px; @@ -576,16 +616,29 @@ div.org_email { font-weight: bold; } -/*otáčecí karty organizátorů*/ +/*otáčecí karty (orgové, archiv) */ .flip-card { - width: 200px; - height: 250px; perspective: 1000px; /* Remove this if you don't want the 3D effect */ margin-left: auto; margin-right: auto; } +#organizatori.flip-card { + width: 200px; + height: 250px; +} + +#archiv.flip-card { + width: 210px; + height: 298px; +} + +#archiv-rocnik.flip-card { + width: 144px; + height: 205px; +} + /* This container is needed to position the front and back side */ .flip-card-inner { position: relative; @@ -614,35 +667,59 @@ div.org_email { background-color: #bbb; } -div.foto_org img { +div.flip-card-foto img { width: 100%; height: 100%; + } /* Style the back side */ .flip-card-back { - /*background-color: #e84e10; - color: #fffbf6; - background-color: #fdedd5;*/ background-color: #f9d59e; - color: black;/**/ + color: black; transform: rotateY(180deg); padding: 10px; padding-top: 20px; } -/* graf na úvodní stránce */ +/* karty archiv */ + +div.popis_rocniku { + text-align: left; + font-weight: bold; + margin: 20px; +} + -a span.popup { - position: absolute; - visibility: hidden; +div.popis_rocniku a, div.cislo_odkazy a { + font-weight: bold; + color: black; +} + +div.popis_rocniku a:hover, +div.cislo_odkazy a:hover { + color: #6f2509; +} + +div.cislo_odkazy ul { + margin: 0px; + padding: 0px; } -a span.popup:hover { - visibility:visible; - top:37px; left:37px; +/* archiv ročník +div.cisla-v-rocniku { + font-weight: bold; + color: #6f2509; } +div.cislo-v-rocniku-blok { + display: inline-block; + width: 150px; + height: 220px; + text-align: center; +}*/ + + /* galerie */ /* velká fotka */ diff --git a/mamweb/templates/base.html b/mamweb/templates/base.html index 18450af0..0d6b0618 100644 --- a/mamweb/templates/base.html +++ b/mamweb/templates/base.html @@ -37,21 +37,21 @@
-Ročník číslo {{ rocnik.rocnik }} ({{ rocnik.prvni_rok }}/{{ rocnik.druhy_rok }}) - -