@import url(https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,400,300,600&subset=latin,latin-ext); body { font-family: 'Open Sans', sans-serif; font-weight: 400; background-color: #fffbf6; } div.container { width: 970px; margin: auto; } div.login-bar { background: #6a0043; } /* odkazy a nadpisy */ a { color: #6f2509; text-shadow: 1px 1px 3px #fdedd5; } a:hover { color: #6f2509; } h1 { /*todo: odlišit 1 a 2 */ font-size: 200%; font-variant: small-caps; font-weight: bold; color: #6f2509; } h2 { font-size: 200%; font-variant: small-caps; font-weight: bold; color: #6f2509; } h3 { font-size: 160%; font-variant: small-caps; font-weight: bold; color: #6f2509; } h4 { font-size: 140%; font-variant: small-caps; font-weight: bold; color: #6f2509; } h5 { font-size: 140%; font-variant: small-caps; font-weight: bold; color: black; } h6 { font-size: 120%; font-variant: small-caps; font-weight: bold; color: black; } .org-logged-in .mam-text-plugin { border: dashed 1px #f77; padding: 5px; margin: -5px; } .mam-org-only { background: #fff0d7; padding: 10px; margin: 10px -10px; border: orange 2px dashed; } .mam-org-only .mam-org-only { border: 0px; } li.mam-org-only { padding: 3px 0px; margin: -2px 0px; } table .border-r { border-right: solid 1px; } table .border-b { border-bottom: solid 1px; } .vysledkovka td, .vysledkovka th { padding: 0.1em 0.3em; } .vysledkovka { border: solid 2px; } div.container { padding: 0px; } div.content { padding: 15px 30px; } h1 { margin-top: 0px; } /* Comments */ #id_comment { width: 100%; height: 6em; } /* Headline & Header */ #title { /*dělá blbosti šířka, je to kvůli fixed pozici, zatím natvrdo, vyřešit*/ height: 55px; width: 970px; position: fixed; z-index: 10; background-color: #e84e10; filter: drop-shadow(0px 5px 5px rgba(0, 0, 0, 0.4)); font-size: 28px; color: #fffbf6; font-weight: 400; font-variant: small-caps; text-align: center; text-decoration: bold; padding-top: 8px; text-shadow: none; } #title-mobile { display: none; } #header { position: relative; background: url("../images/header/beh.jpg") no-repeat center top; /* poměr 350:970, todo aby to nemuselo být přesně na pixely */ background-size: 100%; top: 58px; } /* fotky: todo která kam todo url kryptografie baliky beh mam_cernobile -pro archiv? asi ne vylet spolecna -spíš ne, moc lidí snih ohen noc stiny vikendovka */ #header.cojemam { background-image: url("../images/header/vikendovka.jpg");} #header.soustredeni { background-image: url("../images/header/ohen.jpg");} #header.zadani { background-image: url("../images/header/baliky.jpg");} #header.clanky { background-image: url("../images/header/kryptografie.jpg");} #header.archiv { background-image: url("../images/header/stiny.jpg");} #header.NOC {background-image: url("../images/header/noc.jpg");} #header.NOCcojemam { background-image: url("../images/header/noc.jpg");} #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 img.logo { position: absolute center; width: 100%; filter: drop-shadow(0px 5px 5px rgba(0, 0, 0, 0.4)); } #header img.logo-mobile { display: none; } /* Menu */ div.menu.mobile { display: none; } div.menu.desktop { display: block; } h1 a:hover { text-decoration: none; } img.decor { /*todo bug při zmenšování okna */ position: relative; top: 2px; width: 100%; filter: drop-shadow(0px 5px 5px rgba(0, 0, 0, 0.4)); } /* nové menu */ ul.menu { width: 100%; padding: 0px; margin-top: -2px; /* posune celé menu nahoru (pak potřeba zvětšit mezeru mezi menu a submenu) */ font-variant: small-caps; } ul.menu a { text-decoration: none; } ul.menu li>a:active { color: black; } ul.menu li { margin: 0px; display: inline-block; width: 16.666667%; text-align: center; font-size: 140%; font-weight: 400; } ul.submenu { background-color: #e84e10; margin-top: 10px; /* mezera mezi hlavním menu a submenu */ margin-bottom: 10px; padding-top: 10px; padding-bottom: 5px; filter: drop-shadow(0px 5px 5px rgba(0, 0, 0, 0.4)); } ul.submenu { background-color: #e84e10; z-index: 5; font-weight: 400; } ul.submenu li { width: auto; padding: 0px 20px 0px 20px; display: inline-block; } ul.submenu li>a { color: #f9d59e; text-decoration: none; text-shadow: none; } ul.submenu li>a:hover { color: black; } /* konec nového menu */ div.novinky_name { text-align: right; font-style: italic; } div.zadani_azad_termin { text-align: center; font-size: large; font-weight: bold } /********** * Footer **********/ #footer { background: url("../images/mozaika-footer.svg") no-repeat top center; height: 200px; background-position: relative; background-size: 100%; filter: drop-shadow(5px 0px 5px rgba(0, 0, 0, 0.4)); padding-top: 3.5%; } #footer p.license { text-align: center; font-weight: 400; bottom: 0px; } p.license-mobile { display: none; } .foto_org { width: 250px; text-align: center; } #seznam_orgu h1 { text-align: center; } /********************** * Zmenšování displeje ***********************/ /* stránka přes celý displej */ @media (max-width: 971px) { div.container { width: 100%; } #title { width: 100%; text-align: center; } #header { background-size: 100%; } #header img.logo { width: 100%; } div.menu li { min-width: 120px; font-size: 130%; } #submenu ul { font-size: 115%; } #submenu li { padding-top: 5px; } #footer { width: 100%; } div.novinky{ max-width: 100%; margin-left: auto; margin-right: auto; float: none; } div.graf{ float: none; margin-left: auto; margin-right: auto; width: 70%; } } /* malý tablet, mobil */ @media (max-width: 735px) { #title { display: none; } #header { width: 100%; top: 0px; background-image: none; } #header.cojemam, #header.soustredeni, #header.zadani, #header.clanky, #header.archiv, #header.NOC, #header.NOCcojemam, #header.NOCsoustredeni, #header.NOCzaani, #header.NOCclanky, #header.NOCarchiv { background-image: none; } #header img.logo { display: none; } #header img.logo-mobile { display: block; top: 0px; left: 0px; width: 100%; filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.4)); } div.menu { display: none; } #submenu { font-variant: small-caps; top:-1px; width: 100%; background-color: #e84e10; color: #fdedd5; height: auto; position: relative; } #submenu ul { font-size: 120%; padding-bottom: 5px; } #submenu li { display: list-item; height: auto; } #submenu li a:hover, #submenu li.selected { color: black; } img.decor { /*todo bug při zmenšování okna */ top: -5px; } div.menu.mobile { top: 3px; display: block; position: relative; background: #e84e10; padding: 10px; font-variant: small-caps; } div.menu.mobile > div.dropdown > button { background-color: #fdedd5; color: #e84e10; width: 100%; margin: 0px; border-color: #f7cb87; font-size: 160%; } div.menu.mobile > div.dropdown > ul { margin: 0px; padding: 0px; border-radius: 0px; width: 100%; background-color: #fdedd5; } div.menu.mobile > div.dropdown > ul > li { margin: 0px; padding: 0px; display: block; font-size: 160%; background: none; font-variant: small-caps; color: #e84e10; height: auto; } div.menu.mobile > div.dropdown > ul > li > a { margin: 0px; padding: 5px 30px; height: auto; } div.menu.mobile > div.dropdown > ul > li > a:hover { color: black; } div.menu.desktop { display: none; } #footer { display: none; } p.license-mobile { position: relative; display: block; font-size: 90%; background-color: #e84e10; padding: 5%; text-align: justify; } div.novinky{ max-width: 100%; float: none; } div.graf{ float: none; width: 70%; margin-left: auto; margin-right: auto; } } /* galerie */ /* velká fotka */ /* zmenšování spolu s oknem prohlížeče */ .galerie .obrazek, .titulni_obrazek { max-width: 100%; height: auto; width: auto\9; /* ie8 */ } .predchozi_obrazek{ position: absolute; z-index: 1; width: 33%; height: 100%; left: 0; top: 0; } .predchozi_obrazek:hover{ background-image: url("/static/galerie/prvky/predchozi.png"); background-position: left center; background-repeat: no-repeat; } .dalsi_obrazek{ position: absolute; z-index: 1; width: 33%; height: 100%; left: 67%; top: 0; } .dalsi_obrazek:hover{ background-image: url("/static/galerie/prvky/dalsi.png"); background-position: right center; background-repeat: no-repeat; } .galerie { position: relative; text-align: center; margin: 20px auto 0 auto; } .galerie h1 { text-align: center; } .galerie_hlavicka { margin: 30px auto 30px auto; } .popis { margin: 10px 10px 30px 0px; text-align: center; } #nahoru { text-align: center; } /* titulní obrázek hlavní galerie soustředění */ .titulni_obrazek { border: 1px solid black; } .galerie_nahledy{ /*margin: 1em 0;*/ margin: 0 auto 30px auto; text-align: center; overflow: auto; } .galerie_nahledy div.navigace { display: inline-block; width: 150px; } /*.galerie_nahledy img{*/ /*margin: 0 10px 0 10px;*/ /*}*/ /*.galerie_nahledy a{*/ /*height: 100%;*/ /*width: 100%;*/ /*}*/ .galerie_nahled { /* frame */ display: block; position: relative; float: left; width: 200px; height: 200px; text-align: center; border: solid; border-width: 2px; border-radius: 5px; /*border-color: #ffa500;*/ border-color: #ffd546; /*background-color: #ffb52d;*/ background-color: white; white-space: nowrap; margin: 10px 20px 10px 0px; } .galerie_nahled:hover { background-color: #ffd546; border-color: #ffa500; } .vystredeno{ /* helper */ display: inline-block; height: 100%; vertical-align: middle; } .galerie_nahled img { vertical-align: middle; max-height: 180px; max-width: 180px; /*border: 1px solid white;*/ } .galerie_nahled img, .podgalerie_nahled img { border-radius: 2px; } .galerie_nahled div { position: absolute; bottom: 0px; width: 100%; text-align: center; } .podgalerie_nahled { display: block; position: relative; float: left; width: 200px; height: 200px; text-align: center; border: solid; border-width: 2px; border-radius: 5px; border-color: #ffa500; /*border-color: #ffd546;*/ background-color: #ffd546; /*background-color: white;*/ white-space: nowrap; margin: 10px 20px 10px 0px; font-weight: bold; } .podgalerie_nahled:hover { background-color: #ffa500; } .podgalerie_nahled img { margin-top: 20px; margin-bottom: 15px; max-height: 125px; max-width: 167px; } .podgalerie_nahled .nazev_galerie { position: absolute; width: 100%; top: 160px; } /* plus a minus tlacitka */ .mam-org-only-galerie { background: #fff0d7; padding: 10px; margin: 10px 10px 10px -20px; border: orange 2px dashed; float: left; } .mam-org-only-galerie a{ padding: 3px 5px; margin: 5px; border-radius: 20px; background-color: lightblue; color: black; float: left; } /* Odkazy na předchozí a následující podgalerii */ .galerie_predchozi_nasledujici { overflow: auto; margin: 10px auto 10px auto; } .galerie_predchozi_nasledujici .predchozi { float: left; } .galerie_predchozi_nasledujici .nasledujici { float: right; } /* titulni stranka */ .zjistit_vic{ text-align: center; } .graf{ float: left; } .novinky{ float: right; max-width: 42%; } .novinka_obrazek img { margin-bottom: 15px; } div.novinka_obrazek { width: 100%; } div.org-text { font-style: italic; } div.nahledy_cisel { float: right; height: 297px; width: 420px; position: relative; margin-right: 10%; margin-bottom: 50px; } div.nahledy_cisel div, div.nahledy_cisel img { position: absolute; }