/* ============================================================================= Primary styles Author: Johannes Ress ========================================================================== */ /************** Start Styles ******************/ .page { display: none; } .active { display: block; } .sinnItem { display: none; h2 { transform: translate(-2550px, 0px); -moz-transform: translate(-2550px, 0px); -webkit-transform: translate(-2550px, 0px); transition: transform 0.5s ease-in-out; -moz-transition: -moz-transform 0.5s ease-in-out; -webkit-transition: -webkit-transform 0.5s ease-in-out; } } .currentSinnItem { left: 0px; display: block; h2 { transform: translate(0px, 0px); -moz-transform: translate(0px, 0px); -webkit-transform: translate(0px, 0px); } } textarea, input{ outline:none; } /************** Color Variables ******************/ @bright: #f4f5ef; @dark: #5a5a5a; .greenGradient { background: rgb(199,222,9); /* Old browsers */ background: -moz-linear-gradient(top, rgba(199,222,9,1) 0%, rgba(178,196,9,1) 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(199,222,9,1)), color-stop(100%,rgba(178,196,9,1))); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, rgba(199,222,9,1) 0%,rgba(178,196,9,1) 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, rgba(199,222,9,1) 0%,rgba(178,196,9,1) 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, rgba(199,222,9,1) 0%,rgba(178,196,9,1) 100%); /* IE10+ */ background: linear-gradient(top, rgba(199,222,9,1) 0%,rgba(178,196,9,1) 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c7de09', endColorstr='#b2c409',GradientType=0 ); /* IE6-9 */ } .brightGreenGradient { background: rgb(210,229,0); /* Old browsers */ background: -moz-linear-gradient(top, rgba(210,229,0,1) 0%, rgba(185,198,0,1) 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(210,229,0,1)), color-stop(100%,rgba(185,198,0,1))); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, rgba(210,229,0,1) 0%,rgba(185,198,0,1) 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, rgba(210,229,0,1) 0%,rgba(185,198,0,1) 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, rgba(210,229,0,1) 0%,rgba(185,198,0,1) 100%); /* IE10+ */ background: linear-gradient(top, rgba(210,229,0,1) 0%,rgba(185,198,0,1) 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d2e500', endColorstr='#b9c600',GradientType=0 ); /* IE6-9 */ } .brightGrayGradient { background: rgb(245,245,245); /* Old browsers */ background: -moz-linear-gradient(top, rgba(245,245,245,1) 0%, rgba(235,235,235,1) 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(245,245,245,1)), color-stop(100%,rgba(235,235,235,1))); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, rgba(245,245,245,1) 0%,rgba(235,235,235,1) 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, rgba(245,245,245,1) 0%,rgba(235,235,235,1) 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, rgba(245,245,245,1) 0%,rgba(235,235,235,1) 100%); /* IE10+ */ background: linear-gradient(top, rgba(245,245,245,1) 0%,rgba(235,235,235,1) 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#ebebeb',GradientType=0 ); /* IE6-9 */ } .contrastBorder { border-top: solid 1px #a7b807; border-bottom: solid 1px #d8ec0f; } /************** Structure and Main Classes ******************/ body { background-color: @bright; color: @dark; font-family: 'Droid Sans', sans-serif; font-size: 14px; } #header-container { background-color: white; text-transform: uppercase; min-height: 120px; } #logo { float: left; margin-top: 35px; } #slogan{ float: right; position: relative; top: 25px; #innerSlogan { color: @bright; font-size: 130px; position: absolute; top: 20px; z-index:1; font-family: trademarker; font-weight: bold; font-style: italic; left: -200px; } h1 { position: relative; z-index: 2; font-weight: normal; font-size: 26px; left: -80px; text-transform: none; } } #nav-container { height: 45px; line-height: 45px; .greenGradient; .contrastBorder; box-shadow: 0px 1px 0px 0px #bcc44b; select { display: none; } nav { ul { float: right; li { float: left; height: 45px; line-height: 45px; margin: 0px; padding: 0px; transition: all 0.3s ease-in-out; -moz-transition: all 0.3s ease-in-out; -webkit-transition: all 0.3s ease-in-out; cursor: pointer; a { margin: 0px; border-right: 1px solid #cfef00; height: 45px; line-height: 45px; padding: 0px 30px; font-family: trademarker; font-style: italic; color: @dark; text-shadow: 1px 1px 0px rgba(255,255,255,0.5); font-size: 16px; } } li:first-child { a { border-left: 1px solid #cfef00; } } li:hover { background-color: rgba(255,255,255,0.3); a { text-decoration: none; } } } } } #footline-container { height: 45px; line-height: 45px; .greenGradient; .contrastBorder; box-shadow: 0px 8px 8px rgba(0,0,0,0.1); -webkit-box-shadow: 0px 8px 8px rgba(0,0,0,0.1); position: relative; z-index: 10; } #main { margin-top: 1px; background-color: white; position: relative; padding-bottom: 200px; min-height: 500px; } article { padding-left: 15px; padding-right: 15px; position: relative; z-index: 6; } #footer-container { background-image: url(../img/footerBG.jpg); position: relative; z-index: 9; color: white; text-shadow: 1px 1px 1px rgba(0,0,0,0.3); } #mainVerzierung { position: absolute; bottom: 60px; left: -65px; font-size: 250px; color: @bright; z-index: 5; font-family: trademarker; font-weight: bold; font-style: italic; sup { font-weight: normal; position: relative; left: 40px; font-size: 180px } } .button , #toTop { -webkit-appearance: none; padding: 6px 15px; color: white; line-height: 16px; text-shadow: 1px 1px 0px rgba(0,0,0,0.2); border: 1px solid #b3c31f; border-radius: 4px; font-weight: bold; display: inline-block; text-decoration: none; .greenGradient; } #toTop { position: fixed; right: 30px; bottom: 20px; z-index: 200; } .button:hover { .brightGreenGradient; } .grid_4 { float: left; width: 30%; padding: 10px 1.2%; } /************** Fonts ******************/ h1 { font-family: trademarker; font-weight: bold; font-style: italic; } h2 { font-family: trademarker; font-weight: bold; font-style: italic; } h3 { font-family: trademarker; font-weight: bold; font-style: italic; } aside { h3 { border-bottom: 4px solid #bfd209; } } /************** Contactsection ******************/ #formSended { padding-left: 15px; } #contact { overflow: hidden; input[type="text"] , textarea { -webkit-appearance: none; border-radius: 5px; padding: 8px 15px; display: inline-block; margin-bottom: 24px; width: 80%; color: #818181; font-style: italic; box-shadow: 1px 1px 6px rgba(0,0,0,0.4) , inset 0 0 20px rgba(0,0,0,0.1); -webkit-box-shadow: 1px 1px 6px rgba(0,0,0,0.4) , inset 0 0 20px rgba(0,0,0,0.1); border:none; } textarea { height: 70px; resize: none; margin-bottom: 15px; } input[type="button"] { box-shadow: 1px 1px 6px rgba(0,0,0,0.4) , inset 0 0 20px rgba(0,0,0,0.1); -webkit-box-shadow: 1px 1px 6px rgba(0,0,0,0.4) , inset 0 0 20px rgba(0,0,0,0.1); } h2 { margin-top: 0px; font-size: 18px; } a { color: white; text-decoration: none; } a:hover { text-decoration: underline; } } #formSended { display: none; } .contact1 { width: 26%; } .contact2 { width: 26%; } .contact3 { width: 36%; padding-left: 3.2%; font-size: 13px; input { float: right; } div { float: left; } #contact3Left { margin-right: 55px; } } #copy { padding-left: 15px; padding-top: 15px; font-size: 11px; a { color: white; text-decoration: none; } a:hover { text-decoration: underline; } } /************** About Site ******************/ #main article.page2 { width: 96%; padding-left: 2%; padding-right: 2%; margin: 0 auto; } #sinnList { width: 100%; margin: 0 auto; list-style-type: none; overflow: hidden; padding: 10px 6px; margin-bottom: 30px; li { .brightGrayGradient; margin: 0px; padding: 3px 1%; width: 16%; margin-right: 2%; float: left; vertical-align: center; vertical-align: middle; height: 120px; box-shadow: 0px 0px 0px 5px white , 0px 0px 1px 5px rgba(0,0,0,0.5); position: relative; font-family: trademarker; font-style: italic; font-weight: bold; cursor: pointer; img { margin: 0 auto; vertical-align: center; vertical-align: middle; position: absolute; left: 50%; top: 50%; margin-top: -29px; margin-left: -29px; } } li:last-child { margin-right: 0; } } #about section { overflow: hidden; h2 { color: @bright; font-size: 140px; -webkit-margin-before: 0.4em; -webkit-margin-after: 0.4em; -webkit-margin-start: 0px; -webkit-margin-end: 0px; } p { width: 60%; float: right; input { margin-top: 25px; display: block; float: right; margin-right: 15px; } } } @media only screen and (max-width: 1023px) { #slogan{ top: 28px; #innerSlogan { font-size: 100px; top: 20px; left: -100px; } h1 { font-size: 22px; left: -40px; } } #about section { h2 { font-size: 90px; } } } @media only screen and (max-width: 767px) { #nav-container { nav { display: none; } select { display: block; position: relative; height: 20px; left: 35px; top: 13px; width: 200px; } } #slogan { display: none; } .grid_4 { width: 90%; padding: 10px 4%; } #sendButton { position: relative; top: 110px; } #kommentar { position: relative; top: -50px; } #sinnList { li { width: 40%; margin-left: 4%; margin-right: 4%; margin-bottom: 40px; } } } @media only screen and (max-width: 480px) { #about section { h2 { font-size: 50px; } } }