/////////////////////////////// // Variables /////////////////////////////// @c-blue: #03f; /////////////////////////////// // Classes /////////////////////////////// .centered { margin-left: auto; margin-right: auto; } .bold { font-weight: 600; } .txtfont { font-family: "helvetica", "arial", sans-serif; font-size: 17px; line-height: 1.3em; color: black; } .txtsmall { .txtfont; font-size: 14px; } .txtsmallest { .txtfont; font-size: 11px; } .txtbig { .txtfont; font-size: 19px; } .txtbiggest { .txtfont; font-size: 21px; } .block { display: block; } .black { color: #000; } .displayfloat { display: block; float: left; } .displayfloatright { display: block; float: right; } .clear { clear: both; } .clearfix-me { clear: both; height: 0; line-height: 0; padding: 0; margin: 0; } .justify { text-align: justify; } .stylecurrent { border-bottom: 1px solid black; } .stylehover { border-bottom: 1px solid black; } .visible { visibility: visible; } .invisible { visibility: hidden; } /////////////////////////////// // Reset /////////////////////////////// body { background: white; text-align: left; padding: 0; margin: 0; .txtfont; color: black; overflow: auto; overflow-y: scroll; } h1, h2, h3, h4 { margin: 0; padding: 0; font-size: 1em; font-weight: normal; } a { color: black; outline: none; text-decoration: none; } img, a img { border: none; } p { margin: 0 0 1em 0; } abbr, acronym { font-family: inherit; color: inherit; cursor: help; } ul, div { margin: 0; padding: 0; } ul li { list-style: none; } b { .bold; } /////////////////////////////// // Layout /////////////////////////////// .main-wrapper { padding: 0 30px; } .header { .clear; margin: 10px 0 20px 0; > .left { float: left; width: 45%; font-size: 10px; line-height: 13px; .language-picker { margin-bottom: 11px; .current { .stylecurrent; border-width: 1px; } a { padding-bottom: 2px; // moves border &:hover { .stylehover; border-width: 1px; } } } .contact { display: inline-block; margin-right: 20px; vertical-align: top; } } > .right { float: right; width: 45%; text-align: right; ul { clear: right; li { display: inline-block; font-size: 16px; line-height: 16px; a { display: inline-block; margin: 0 0 0 15px; padding-bottom: 4px; // moves border &:hover { .stylehover; } } } li.current a { .stylecurrent; } } .logo { float: right; margin-bottom: 15px; } } } #big-photo-wrap { min-width: 1050px; .clear; margin: 20px 0; position: relative; #big-photo-img { width: 700px; float: left; margin: 0 30px 0 -100%; overflow-x: hidden; img { float: left; clear: left; margin-bottom: 20px; } } #big-photo-text { float: left; width: 100%; > .inner { margin-left: 730px; // #big-photo-img width + margin > .max-width { position: relative; top: -2px; max-width: 500px; } } h1, .h1 { .bold; line-height: 1em; margin-bottom: 1em; } } } .thumb-list { .clear; padding: 0 11px; text-align: center; ul { max-width: 1440px; .centered; text-align: left; li { float: left; margin: 0 11px; height: 140px; width: 120px; a { display: inline-block; position: relative; strong { background: white; display: block; height: 100%; width: 100%; .invisible; position: absolute; top: 0; left: 0; background: url(/files/images/overlay-90.png) 0 0 repeat; span { display: block; padding: 10px; .txtsmallest; font-weight: normal; } } .visited { display: none; } &:hover strong { .visible; } } &.current a strong { .visible; span { .invisible; } &:hover span { .visible; } } } } &.all { h2 { display: block; text-align: left; margin-bottom: 1em; .clear; .centered; max-width: 1418px; position: relative; left: 11px; } ul { .clear; } } } .project { .clear; min-width: 1050px; > .gallery { width: 700px; float: left; margin: 0 30px 0 -100%; overflow-x: hidden; img, iframe { float: left; clear: left; margin-bottom: 20px; } } > .text { float: left; width: 100%; > .inner { margin-left: 730px; // .gallery width + margin > .max-width { max-width: 500px; } } h1 { .bold; margin-bottom: 1em; } p a { color: @c-blue; text-decoration: underline; &:hover { text-decoration: none; } } } } /////////////////////////////// // Page specific /////////////////////////////// /////////////////////////////// // Elements /////////////////////////////// .logo { display: block; width: 118px; height: 35px; background: url(/files/images/logo.png) 0 0 no-repeat; strong { display: none; } }