@charset "utf-8"; /* * CSS-Design * sperretrin-Webseite * Online-Schule für Gestaltung: Webdesign-Kurs */ /* Reset * * * * * * * * */ *{ margin: 0; padding: 0; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } html{ font-size: 100%; /* Browserstandard: 16px */ } img{ max-width: 100%; } *{ margin: 0; padding: 0; } /* Layout * * * * * * * * */ .wrapper{ max-width: 960px; min-width: 600px; margin: 0 auto; overflow: hidden; } #wrapper{ max-width: 960px; min-width: 600px; margin: 0 auto; } #header_1{ background: #ffcc00; padding: px 0; } #header{ background: #333333; padding: 12px 0; } #bildteaser{ background:#ffff; } #teaser{ background: #3d4346; padding: 70px 0 50px; margin-bottom: 20px; } #footer{ background: #cccccc; padding: 10px 0 0px; margin-top: 50px; color: #333333; } .shop{ margin: 20px 0; } .img-teaser{ position:absolute; top: 580px; left:550px; background: hsla(0,0%,100%,0.51); font-size: 30px; padding: 5px 15px 5px 20px ; color: #333; } .button{ position:absolute; top: 550px; left:1100px; background: #ffcc00; padding: 10px 20px 10px 25px ; color: #333; font-size: 30px; line-height: 20px; border-radius: 4px; } .button:hover{ background: #333333; color: #ffcc00; } hr{ background: #2c3133; border: 0; height: 1px; width: 100%; float: left; margin: 20px 0; } hr_links{ background: #2c3133; border: 0; height: 1px; width: 200px; float: left; margin: 20px 0; } .button_shop{ position:absolute; top: 120px; left:2px; background: #ffcc00; padding: 10px 20px 10px 25px ; color: #333; font-size: 15px; line-height: 20px; border-radius: 4px; } .button_shop:hover{ background: #333333; color: #ffcc00; } .button_schule{ position:absolute; top: 120px; left:2px; background: #ffcc00; padding: 10px 20px 10px 25px ; color: #333; font-size: 15px; line-height: 20px; border-radius: 4px; } .button_schule:hover{ background: #333333; color: #ffcc00; } .button_bilder{ position:absolute; top: 120px; left:1px; background: #ffcc00; padding: 10px 20px 10px 25px ; color: #333; font-size: 15px; line-height: 20px; border-radius: 4px; } .button_bilder:hover{ background: #333333; color: #ffcc00; } /* Spalten * * * * * * * * */ .col_1_2, .col_1_3, .col_1_4, .col_2_6 .col_4_6{ float: left; margin: 20px 10px; position:absolute; } .col_1_2{ width:450px; position:relative; left: 20px; } .col_1_3{ width:160px; position: relative; left: 70px; margin:70px; } .col_1_4{ width:460px; position: relative; } .col_2_6{ width:200px; margin: 20px 0px 0; float: left; } .col_4_6{ width:650px; margin: 20px 50px 0; float: left; } /*--Navigation******/ #mobile-menu-btn{ display: b; } ul#header_navigation{ float: right; margin: 20px 10px 0 0; } ul#header_navigation li{ display: block; margin: 0 0 0 40px; list-style: none; position: relative; } ul#header_navigation li a{ text-decoration: none; text-transform: uppercase; font-size: 16px; font-weight: 700; font-family: 'Droid Sans', Helvetica, Arial, sans-serif; color:#333333; } ul#header_navigation li a:hover{ color: #FFFFFF; } ul#navigation{ float: right; margin: 20px 10px 0 0; } ul#navigation li{ display: inline; margin: 0 0 0 25px; list-style: none; position:relative; } ul#navigation li a{ color: #FFFFFF; text-decoration: none; text-transform: uppercase; font-size: 16px; font-weight: 700; font-family: 'Droid Sans', Helvetica, Arial, sans-serif; padding: 15px 0 15px 15px; } ul#navigation li a:hover, ul#navigation li a.active, ul#subnavigation .active, #subnavigation li a:hover { color: #ffcc44; } /* Drop-Down-Menü */ ul#navigation ul{ display:none; margin: 0; top: 25px; } #navigation li:hover ul{ display:block; } ul#navigation ul{ position: absolute; top:25px; left: 0; background: #333333; } ul#navigation ul li{ margin: 0; } ul#navigation ul li a{ display: block; text-transform: none; font-size: 14px; padding: 10px 35px 10px 15px; border-bottom: 1px solid #ffcc44; } /* Sub-Navigation */ #subnavigation li{ border-bottom: 1px solid #BDB6B6; list-style: none; padding: 8px 0; background:#333333; } #subnavigation li a{ text-transform: uppercase; font-size: 16px; color: #BDB6B6; display: block; padding: 5px 0; margin: 0 0 0 10px; } #subnavigation li a:hover{ color: #ffcc44; } /* Typografie */ h1, h2, h3, h4, h5, h6 { font-family: 'Droid Serif', Georgia, serif; font-style: italic; font-weight: 400; margin: 0 0 10px 0; } p{ font: 400 15px/24px'Droid Sans', Helvetica, Arial, sans-serif; color: #2c3133; } h2{ font-size: 25px; line-height: 34px; } h6{ font-size: 10px; line-height: 34px; } h7{ font-style: italic; } a{ color: #ff6f44; text-decoration: none; } a:hover{ color: #2c3133; } /* Formular */ label { display: block; cursor: pointer; font-weight: 700; margin-bottom: 6px; } input[type='text'],input[type='number'], input[type='radio'], textarea, select { margin-bottom: 24px; } input[type='text'],input[type='number'], textarea, select { width: 400px; border: 1px solid #999; padding: 5px; font: 400 15px/24px 'Droid Sans', Helvetica, Arial, sans-serif; } textarea { height: 120px; } input:hover, textarea:hover { border: 1px solid #ff5e1c; } input:focus, textarea:focus { border: 1px solid #ff5e1c; background: #eee; } input[type='submit'], input[type='reset']{ border: 0; cursor: pointer; margin-right: 20px; background: #ffcc44; padding: 4px 10px; color: #333333; font-size: 16px; border-radius: 4px; } input[type='reset']{ background: #333333; color:#ffcc44 } input[type='submit']:hover{ background: #333333; color: #ffcc44; } input[type='reset']:hover{ background: #ffcc44; color: #333333; } /* Slider */ .hvrbox, .hvrbox * { box-sizing: border-box; } .hvrbox { position: relative; display: inline-block; overflow: hidden; max-width: 100%; height: auto; } .hvrbox img { max-width: 100%; } .hvrbox .hvrbox-layer_bottom { display: block; } .hvrbox .hvrbox-layer_top { opacity: 0; position: absolute; top: 0; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); color: #fff; padding: 15px; -moz-transition: all 0.4s ease-in-out 0s; -webkit-transition: all 0.4s ease-in-out 0s; -ms-transition: all 0.4s ease-in-out 0s; transition: all 0.4s ease-in-out 0s; } .hvrbox:hover .hvrbox-layer_top, .hvrbox.active .hvrbox-layer_top { opacity: 1; } .hvrbox .hvrbox-text { text-align: center; font-size: 18px; display: inline-block; position: absolute; top: 50%; left: 50%; -moz-transform: translate(-50%, -50%); -webkit-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } .hvrbox .hvrbox-text_mobile { font-size: 15px; border-top: 1px solid rgb(179, 179, 179); /* for old browsers */ border-top: 1px solid rgba(179, 179, 179, 0.7); margin-top: 5px; padding-top: 2px; display: none; } .hvrbox.active .hvrbox-text_mobile { display: block; } /* Container */ .cont_1, .cont_2, .cont_3{ background:#cccccc; padding: 10px; margin: 10px 0; } .blockquote{ background:#cccccc; font-style: italic; } .blockquote:before { content: '„'; color: #0F0000; font-size:40px; } .ul{ list-style: none; list-style-image: url("../images/pfeil.gif"); margin: 0 20px 0 0; line-height: 2; } /* Box */ .box{ margin:15px 0; } /* Ruine*/ .ruine{ float: right; margin-left: 10px; } /* Lightbox */ body.lb-disable-scrolling { overflow: hidden; } .lightboxOverlay { position: absolute; top: 0; left: 0; z-index: 9999; background-color: black; filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80); opacity: 0.8; display: none; } .lightbox { position: absolute; left: 0; width: 100%; z-index: 10000; text-align: center; line-height: 0; font-weight: normal; outline: none; } .lightbox .lb-image { display: block; height: auto; max-width: inherit; max-height: none; border-radius: 3px; /* Image border */ border: 4px solid white; } .lightbox a img { border: none; } .lb-outerContainer { position: relative; *zoom: 1; width: 250px; height: 250px; margin: 0 auto; border-radius: 4px; /* Background color behind image. This is visible during transitions. */ background-color: white; } .lb-outerContainer:after { content: ""; display: table; clear: both; } .lb-loader { position: absolute; top: 43%; left: 0; height: 25%; width: 100%; text-align: center; line-height: 0; } .lb-cancel { display: block; width: 32px; height: 32px; margin: 0 auto; background: url(../images/loading.gif) no-repeat; } .lb-nav { position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; } .lb-container > .nav { left: 0; } .lb-nav a { outline: none; background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=='); } .lb-prev, .lb-next { height: 100%; cursor: pointer; display: block; } .lb-nav a.lb-prev { width: 34%; left: 0; float: left; background: url(../images/prev.png) left 48% no-repeat; filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0); opacity: 0; -webkit-transition: opacity 0.6s; -moz-transition: opacity 0.6s; -o-transition: opacity 0.6s; transition: opacity 0.6s; } .lb-nav a.lb-prev:hover { filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100); opacity: 1; } .lb-nav a.lb-next { width: 64%; right: 0; float: right; background: url(../images/next.png) right 48% no-repeat; filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0); opacity: 0; -webkit-transition: opacity 0.6s; -moz-transition: opacity 0.6s; -o-transition: opacity 0.6s; transition: opacity 0.6s; } .lb-nav a.lb-next:hover { filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100); opacity: 1; } .lb-dataContainer { margin: 0 auto; padding-top: 5px; *zoom: 1; width: 100%; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; } .lb-dataContainer:after { content: ""; display: table; clear: both; } .lb-data { padding: 0 4px; color: #ccc; } .lb-data .lb-details { width: 85%; float: left; text-align: left; line-height: 1.1em; } .lb-data .lb-caption { font-size: 13px; font-weight: bold; line-height: 1em; } .lb-data .lb-caption a { color: #4ae; } .lb-data .lb-number { display: block; clear: left; padding-bottom: 1em; font-size: 12px; color: #999999; } .lb-data .lb-close { display: block; float: right; width: 30px; height: 30px; background: url(../images/close.png) top right no-repeat; text-align: right; outline: none; filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70); opacity: 0.7; -webkit-transition: opacity 0.2s; -moz-transition: opacity 0.2s; -o-transition: opacity 0.2s; transition: opacity 0.2s; } .lb-data .lb-close:hover { cursor: pointer; filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100); opacity: 1; } /* Media Queries * * * * * * * * */ @media only screen and (min-width: 980px) and (max-width: 1279px) { header{ background: #ffcc00; } } @media only screen and (min-width: 760px) and (max-width: 979px) { header{ background: #ffcc00; } .wrapper{ width: 760px; } #main, .sidebar{ width: 100%; } } @media only screen and (max-width: 759px) { header{ background: #ffcc00; /* gelb */ 1position: fixed; } .wrapper{ width: 100%; } .full, .two-thirds, .half, .third, .fourth, .three-fourth, #main, .sidebar{ width: 96%; margin: 25px 2% !important; } a#mobile-menu-btn{ display: block; background: #333333; color: #fff; text-decoration: none; text-transform: uppercase; padding: 10px 0; margin: 10px 0 0; } #navigation{ display: block; margin: 0px 0 0; } #navigation ul li { display: block; float: none; } #navigation ul li a{ display: block; background: #333333; color: #fff; margin: 1px 0; border: 0; } #navigation a{ color: #333; text-decoration: none; padding: 7px 20px; margin: 0 10px; border: 1px solid #333; } #navigation a:hover{ color: #FFFFFF; background: #333333; }