@charset "utf-8"; /* CSS Document */ @import url(https://fonts.googleapis.com/css?family=Open+Sans); @import url(https://fonts.googleapis.com/css?family=Bree+Serif); body { /*width: 960px;*/ max-width: 80em; display:flex; -webkit-box-orient: vertical; -o-box-orient: vertical; -ms-flex-direction: column; flex-direction: column; min-height: 100vh; margin: 0 auto; font-size: small; font-family: Verdana, Arial, Helvetica, sans-serif; /*background-color:#820000;*/ background-color:#FFF; cursor:url(sewmachine.ani),auto; /*background-image:url(img/background_black.jpg); background-repeat:repeat;*/ } img.center { /*padding:8px;*/ /*display: block;*/ width:100vw; height:auto; margin-top:10px; margin-left: auto; margin-right: auto; } /* TEST only*/ .center { /*padding:8px;*/ /*display: block;*/ width:100vw; height:auto; margin-top:10px; margin-left: auto; margin-right: auto; } center img{ /*padding:8px;*/ /*display: block;*/ width:100vw; height:auto; margin-top:10px; margin-left: auto; margin-right: auto; } .img150 { float: left; padding:8px; } .txtleft { float:right; padding:8px; } a img { float: left;} .txtright { float:right; padding:8px;} .imgright { float: right; margin-right: 8px; margin-top: -2px; } .imgleft { float: left; /*margin-right: 8px;*/ /*margin-left: 4px;*/ /*padding:10px;*/ /*TEST*/ -webkit-transform-origin: 100% 0; transform-origin: 100% 0; -webkit-transform: scale(1); /* Saf3.1+, Chrome */ -moz-transform: scale(1); /* FF3.5+ */ -ms-transform: scale(1); /* IE9+ */ -o-transform: scale(1); /* Opera */ transform: scale(1); } img.iconright { -webkit-transform-origin: 100% 0; transform-origin: 100% 0; -webkit-transform: scale(1); /* Saf3.1+, Chrome */ -moz-transform: scale(1); /* FF3.5+ */ -ms-transform: scale(1); /* IE9+ */ -o-transform: scale(1); /* Opera */ transform: scale(1); -webkit-transition: -webkit-transform 0.4s ease-out; /* Saf3.1+, Chrome */ -moz-transition: -moz-transform 0.4s ease-out; /* FF3.5+ */ -o-transition: -o-transform 0.4s ease-out; /* Opera */ transition: transform 0.4s ease-out; float: right; margin-right: 8px; margin-top: -2px; } img.iconright:hover { -webkit-transform-origin: 100% 0; transform-origin: 100% 0; -webkit-transform: scale(2); /* Saf3.1+, Chrome */ -moz-transform: scale(2); /* FF3.5+ */ -ms-transform: scale(2); /* IE9+ */ -o-transform: scale(2); /* Opera */ transform: scale(2); float: right; margin-right: 8px; margin-top: -2px; overflow:auto; z-index:9000; } img.iconleft { width:108px; -webkit-transform-origin: 0 0; transform-origin: 50% 50%; -webkit-transform: scale(1); /* Saf3.1+, Chrome */ -moz-transform: scale(1); /* FF3.5+ */ -ms-transform: scale(1); /* IE9+ */ -o-transform: scale(1); /* Opera */ transform: scale(1); -webkit-transition: -webkit-transform 0.4s ease-out; /* Saf3.1+, Chrome */ -moz-transition: -moz-transform 0.4s ease-out; /* FF3.5+ */ -o-transition: -o-transform 0.4s ease-out; /* Opera */ transition: transform 0.4s ease-out; float: left; margin-right: 8px; margin-top: -2px; border-radius:5px; z-index:7000; } img.iconleft:hover { -webkit-transform-origin: 0 0; -webkit-transform: scale(2.8); /* Saf3.1+, Chrome */ -moz-transform: scale(2.8); /* FF3.5+ */ -ms-transform: scale(2.8); /* IE9+ */ -o-transform: scale(2.8); /* Opera */ transform: scale(2.8); transform-origin: 50% 50%; float: left; margin-right: 8px; margin-top: -2px; overflow:auto; border-radius:10px; z-index:7000; } img.imgdetail { width:300px; -webkit-transform-origin: 0 0; transform-origin: 50% 50%; -webkit-transform: scale(1); /* Saf3.1+, Chrome */ -moz-transform: scale(1); /* FF3.5+ */ -ms-transform: scale(1); /* IE9+ */ -o-transform: scale(1); /* Opera */ transform: scale(1); -webkit-transition: -webkit-transform 0.4s ease-out; /* Saf3.1+, Chrome */ -moz-transition: -moz-transform 0.4s ease-out; /* FF3.5+ */ -o-transition: -o-transform 0.4s ease-out; /* Opera */ transition: transform 0.4s ease-out; float: left; margin-right: 8px; margin-top: -2px; border-radius:5px; z-index:3; } img.imgdetail:hover { -webkit-transform-origin: 0 0; transform-origin: 50% 50%; -webkit-transform: scale(2.6); /* Saf3.1+, Chrome */ -moz-transform: scale(2.6); /* FF3.5+ */ -ms-transform: scale(2.6); /* IE9+ */ -o-transform: scale(2.6); /* Opera */ transform: scale(2.6); float: left; margin-right: 8px; margin-top: -2px; overflow:auto; border-radius:10px; z-index:18000; } .container { display:flex; /*width: 960px;*/ width:auto; height: auto; background-color: #FFF; /* border-bottom: 3px solid #668BCC; /* Rahmenlinie unten */ /* border-left: 3px solid #668BCC; /* Rahnemlinie links */ /* border-right: 3px solid #668BCC; /* Rahmenlinie rechts */ /* border-bottom-left-radius:8px; border-bottom-right-radius:8px; */ margin: 0 auto; /* Durch die Angabe der Breite und Verwendung des Werts "auto" für die Seiten wird das Layout zentriert. */ } .content { width: 100%; background-color: #FFF; margin: 0 auto; height: 500px; /*overflow:auto;*/ } .contentpp { width: 800px; background-color: #FFF; margin: 0 auto; padding:20px; } /*p:first-letter{font-size:160%;}*/ .footer { cursor:url(sewmachine.ani),auto; width: 960px; height: 60px; background-color: #FFF; /* Hintergrundfarbe für die Navigation */ /* background-color: #F7FFC3; /* Hintergrundfarbe für die Navigation */ padding: 4px 0; /* Innenabstand: oben/unten 4px, li/re 0 */ border-top: 1px solid #668BCC; /* Rahmenlinie oben */ border-bottom: 1px solid #668BCC; /* Rahmenlinie unten */ /* border-left: 1px solid #668BCC; /* Rahnemlinie links */ /* border-right: 1px solid #668BCC; /* Rahmenlinie rechts */ /* border-top-left-radius:8px; border-top-right-radius:8px; */ margin: 0 auto; /* Keinen Außenabstand */ } #content1 { float:right; width: 720px; background-color: #FFF; margin: 0 10; border-left: 1px solid #666; z-index:25; padding-left:5px; /*height: 500px;*/ /*overflow:auto;*/ } .sidenav { float:left; width: 190px; background-color: #FFF; position:relative; /*font-size:130%; /* reaktivieren wenn FlyOut-Menu aktiv */ padding-bottom: 10px; list-style-type: none; /* Aufzählungszeichen entfernen */ display:block; } #sidebar1 { /*position:fixed;*/ position:relative; /*left:10px;*/ /* top:10px;*/ font-size:130%; /*float: left; width: 190px; background-color: #FFF;*/ padding-bottom: 10px; cursor:url(http://patterns.bplaced.net/sewmachine.ani),auto; /*margin: 0 100; overflow:auto; } #sidebar1 li { /* display: inline; /* Listenelemente nebeneinander */ list-style-type: none; /* Aufzählungszeichen entfernen */ display:block; } #sidebar1 a { color: #000; /* Schriftfarbe schwarz */ text-decoration: none; /* Unterstreichung entfernen */ padding: 4px 8px; /* oben/unten 4px, re/li 8px */ display:block; } #sidebar1 a:hover { color: #000; /* Schriftfarbe schwarz */ background-color: #CCC; text-decoration: none; /* Unterstreichung entfernen */ padding: 4px 8px; /* oben/unten 4px, re/li 8px */ display:block; font-size:120%; } /*-------------Menu Test Horizontal Aufklappbar ----*/ /* Simple Horizontal DropDown CSS menu */ .drop_menu { width: 100%; background:#000; padding:0; margin:0; list-style-type:none; height:6rem; border-top: 3px solid #000; /* Rahmenlinie oben */ border-bottom: 3px solid #000; /* Rahmenlinie unten */ z-index: 10; } .drop_menu li { float:left; } .drop_menu li a { padding:5px 20px; display:block; color:#fff; text-decoration:none; font:150% arial, verdana, sans-serif; } .drop_menu a:hover { background-color:#999; } /* Submenu */ .drop_menu ul { position:absolute; left:-9999px; top:-9999px; list-style-type:none; z-index: 100; margin: 0 auto; } .drop_menu li:hover { position:relative; background:#000; } .drop_menu li:hover ul { left:0px; top:30px; background:#5FD367; padding:0px; } .drop_menu li:hover ul li a { padding:5px; display:block; width:168px; text-indent:15px; background-color:#000; } .drop_menu li:hover ul li a:hover { background:#999; } table { border-spacing:10px; } td { vertical-align:top; width:300px; /*border:1px solid black;*/ border-radius:10px; background-color:#EEE; padding:8px; border-spacing:10px; /*padding:4px;*/ } td p:first-letter{font-size: 100%;} td p{ -moz-hyphens: auto; -o-hyphens: auto; -webkit-hyphens: auto; -ms-hyphens: auto; hyphens: auto; /*hyphenate-limit-chars: auto 3; hyphenate-limit-lines: 2;*/ } td a:img{ padding:8px; border:0; } td a{ margin:5px; border:none;} .patternquery { width: 330px; height: 330px; background-color: #999; border-color: #999; border:1px; border-radius:8px; margin: 0 auto; /* Durch die Angabe der Breite und Verwendung des Werts "auto" für die Seiten wird das Layout zentriert. */ } /* News */ .sidenews { float:right; width: 190px; background-color: #FFF; } #sidenews1 { /*position:fixed;*/ position:relative; /*left:10px;*/ /* top:10px;*/ font-size:130%; /*float: left; width: 190px; background-color: #FFF;*/ padding-bottom: 10px; cursor:url(http://patterns.bplaced.net/sewmachine.ani),auto; /*margin: 0 100; overflow:auto; } #sidebar1 li { /* display: inline; /* Listenelemente nebeneinander */ list-style-type: none; /* Aufzählungszeichen entfernen */ display:block; } #contentnews { float:left; /*width: 720px;*/ width:70%; background-color: #FFF; margin: 0 10; border-right: 1px solid #666; z-index:25; padding-left:5px; /*height: 500px;*/ /*overflow:auto;*/ } /* CSS Document */ /*body { background: #212121; font-size:22px; line-height: 32px; color: #ffffff; margin: 0; padding: 0; word-wrap:break-word !important; font-family: 'Open Sans', sans-serif; } h1 { font-size: 60px; text-align: center; color: #FFF; } h3 { font-size: 30px; line-height: 34px; text-align: center; color: #FFF; } h3 a { color: #FFF; } a { color: #FFF; } h1 { margin-top: 100px; text-align:center; font-size:60px; line-height: 70px; font-family: 'Bree Serif', 'serif'; } */ /* #container { margin: 0 auto; max-width: 890px; } p { text-align: center; } */ .toggle, [id^=drop] { display: none; } /* Giving a background-color to the nav container. */ nav { width: 100%; margin:0; padding: 0; background-color: #000; } #logo { display: block; padding: 0 30px; float: left; font-size:20px; line-height: 60px; } /* Since we'll have the "ul li" "float:left" * we need to add a clear after the container. */ nav:after { content:""; display:table; clear:both; } /* Removing padding, margin and "list-style" from the "ul", * and adding "position:reltive" */ nav ul { z-index: 100000; float: left; padding:0; margin:0; list-style: none; position: relative; } /* Positioning the navigation items inline */ nav ul li { margin: 0px; display:inline-block; float: left; background-color: #000; } /* Styling the links */ nav a { display:block; padding:20px 20px; color:#FFF; font-size:17px; text-decoration:none; } nav ul li ul li:hover { background: #000000; } /* Background color change on Hover */ nav a:hover { background-color: #888888; } /* Hide Dropdowns by Default * and giving it a position of absolute */ nav ul ul { display: none; position: absolute; /* has to be the same number as the "line-height" of "nav a" */ top: 60px; } /* Display Dropdowns on Hover */ nav ul li:hover > ul { display:inherit; } /* Fisrt Tier Dropdown */ nav ul ul li { width:170px; float:none; display:list-item; position: relative; } /* Second, Third and more Tiers * We move the 2nd and 3rd etc tier dropdowns to the left * by the amount of the width of the first tier. */ nav ul ul ul li { position: relative; top:-60px; /* has to be the same number as the "width" of "nav ul ul li" */ left:170px; } /* Change ' +' in order to change the Dropdown symbol */ li > a:after { content: ' +'; } li > a:only-child:after { content: ''; } /* Media Queries --------------------------------------------- */ @media all and (max-width : 880px) { #logo { display: block; padding: 0; width: 100%; text-align: center; float: none; } nav { margin: 0; background-color: #000; } /* Hide the navigation menu by default */ /* Also hide the */ .toggle + a, .menu { display: none; /*max-width: 10em;*/ } /* Stylinf the toggle lable */ .toggle { display: block; background-color: #000; padding:14px 20px; color:#FFF; font-size:17px; text-decoration:none; border:none; } .toggle:hover { /*background-color: #000000;*/ background-color: #888888; } /* Display Dropdown when clicked on Parent Lable */ [id^=drop]:checked + ul { display: block; } /* Change menu item's width to 100% */ nav ul li { display: block; width: 100%; } nav ul ul .toggle, nav ul ul a { padding: 0 40px; background-color: #888888; } nav ul ul ul a { padding: 0 80px; } nav a:hover, nav ul ul ul a { /*background-color: #000000;*/ background-color: #888888; } nav ul li ul li .toggle, nav ul ul a, nav ul ul ul a{ padding:14px 20px; color:#FFF; font-size:17px; background-color: #888888; } nav ul li ul li .toggle, nav ul ul a { background-color: #434343; margin-left:35px; } /* Hide Dropdowns by Default */ nav ul ul { float: none; position:static; color: #ffffff; /* has to be the same number as the "line-height" of "nav a" */ } /* Hide menus on hover */ nav ul ul li:hover > ul, nav ul li:hover > ul { display: none; background-color: #888888; } /* Fisrt Tier Dropdown */ nav ul ul li { display: block; width: 100%; } nav ul ul ul li { position: static; /* has to be the same number as the "width" of "nav ul ul li" */ } } @media all and (max-width : 330px) { nav ul li { display:block; width: 94%; } } /* Flexbox News*/ .wrap { /* height: 100vh;*/ height:auto; display: -webkit-box; display: -ms-flexbox; display: box; display: flex; min-height: 100vh; /*min-width: 100vw;*/ flex-direction: row; } main { -webkit-box-flex: 1; -o-box-flex: 1; box-flex: 1; -ms-flex: 1; flex: 1 0 auto; display: -webkit-box; display: -ms-flexbox; display: box; display: flex; } @media (max-width: 880px){ main { -webkit-box-orient: vertical; -o-box-orient: vertical; -ms-flex-direction: column; flex-direction: column; } aside { -webkit-box-orient: horizontal; -o-box-orient: horizontal; -ms-flex-direction: row; flex-direction: row; overflow-x: auto; flex-wrap:no-wrap; display: flex; flex: 1 0 auto; max-width:100vw; } /* aside li { list-style: none; position: relative; /* float:left; display:inline-block; background: #ff0000; max-width:300px; }*/ } aside, article { overflow-y: inherit; padding: 1em; display:flex; -webkit-box-orient: horizontal; -o-box-orient: horizontal; -ms-flex-direction: row; flex-direction: row; -webkit-box-flex: 1; -o-box-flex: 1; /* box-flex: 1;*/ -ms-flex: 1; flex: 1 0 auto; background: #f7f7f7; /*margin: 10px;*/ max-width:100vw; } aside {order:-1; display:flex; -webkit-box-orient: horizontal; -o-box-orient: horizontal; -ms-flex-direction: row; flex-direction: row; -webkit-box-flex: 1; -o-box-flex: 1; /* box-flex: 1;*/ -ms-flex: 1; flex: 1 1 auto; background: #f7f7f7; /*max-width: 80em;*/ /*width: auto; /*margin: 30px;*/ max-width:100vw; } article { -webkit-box-flex: 3; -o-box-flex: 3; box-flex: 3; -ms-flex: 3; flex: 3; background: #f0eeee; } h1 { margin-top: 0; } .flex-container { padding: 1em; /*margin: 5%;*/ /*margin-left: 3%;*/ /*margin-right: 3em;*/ border-radius: 1px; /* Scrollbar im Phone immer sichtbar */ list-style: none; /* width: 400px;*/ display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex 1 1 auto; flex-flow: row nowrap; /*flex-shrink: 0; -webkit-flex-flow: row nowrap; /* justify-content: space-around; */ /*justify-content: center;*/ justify-content: space-between; overflow-x:auto; overflow-y: hidden; /*align-content: flex-start;*/ } .flex-item { border-radius: 1em; background: #dddddd; padding: 1em; min-width: 15em; min-height: 5em; /*max-height: 25em;*/ margin: 10px; } .flex-item-detail { border-radius: 1em; background: #dddddd; padding: 1em; /* min-width: 15em; min-height: 5em;*/ max-height: 25em; margin: 10px; } .flex-item a {display: flex; justify-content: center;} .flex-item a img{ max-width: 10em; max-height: 20em; border-radius: 1em; } .flex-showdetail { /*max-width:100vw;*/ padding: 0; /*margin: 5%;*/ /*margin-left: 3%;*/ margin: 3em; border-radius: 1px; /* Scrollbar im Phone immer sichtbar */ list-style: none; /* width: 400px;*/ display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex; /*flex-shrink: 0;*/ flex-flow: row; flex-wrap: wrap; /*flex-shrink: 0; -webkit-flex-flow: row nowrap; /* justify-content: space-around; */ justify-content: center; /*justify-content: space-between;*/ overflow-x:auto; overflow-y: hidden; /*align-content: flex-start;*/ } /* TEST News ausblenden */ .togglenews {order:-2; flex: 1 0 auto; display: flex; flex-direction: column; max-width: 80em; background-color: #cccccc; /*width: auto;*/ } .togglenews__input:not(checked) { display: none; } .togglenews__input + label { background-color: #D65D5D; border-radius: 5px; color: #fff; cursor: pointer; font-szie: 0.8em; margin-top: 0.5em; margin-bototm: 0.5em; padding: 0.5em; text-align: center; width: 12em; } .togglenews__input + label:before { color: #fff; content: "\2212"; /*content: "+";*/ font-size: 1em; padding-right: 0.3em; width: 1em; } .togglenews__input:checked ~ .togglenews__content { display: none; flex: 1 0 auto; } .togglenews__input:not(checked) ~ .togglenews__content { display: flex; flex: 1 0 auto; /*background-color: #ffff00; max-width: 80em;*/ } .togglenews__input:checked + label:before { /*content: "\2212";*/ content: "+"; flex: 1 0 auto; } .togglenews__input + label .togglenews__less, .togglenews__input:checked + label .togglenews__more { display: none; width: auto; } .togglenews__input:checked + label .togglenews__less { display: inline; flex: 1 0 auto; }