/*----------------------------------------------------------------------------------------------*/ /* Index of content */ /*----------------------------------------------------------------------------------------------*//* 0.0 Reset and importing 0.2 Variables 1.0 General rules 1.1 Typography (tuning) 2.0 Header 3.0 Menus 4.0 Contents 4.1 Contact Form 5.0 Sidebars 6.0 Footer */ /*----------------------------------------------------------------------------------------------*/ /* 0.0 Reset and importing */ /*----------------------------------------------------------------------------------------------*/ @import "reset.less"; @import "grid.less"; // The Semantic Grid System details on http://semantic.gs/ @import "typography.less"; @import "elements.less"; @import "utilities.less"; // Things like align left and right, clear and clearfix /*----------------------------------------------------------------------------------------------*/ /* 0.2 Variables */ /*----------------------------------------------------------------------------------------------*/ /* backgrounds */ @background-color: #362f2d; @background-color-light: ( @background-color + #111 ); @background-color-dark: ( @background-color - #111) ; /* typography */ @font-color: #333; @font-color-light: #666; @font-color-dark: #000; @font-color-negative: #ddd; /* styles */ @border-color: #c7b299; @alpha: 0.8; /* links */ @color-links: @font-color-light; @color-links-hover: #562404; /* links on negative dark */ @color-links-neg: #ccc; @color-links-neg-hover: #fff; /* */ .apply-opacity { opacity: @alpha; } .apply-gradient( @background: @background-color, @start: (@background-color - #111), @stop: (@background-color + #111) ) { background-color: @background; background-image: -moz-linear-gradient(top, @start, @stop); background-image: -webkit-gradient(linear, center top, center bottom, from(@start), to(@stop)); background-image: -o-linear-gradient(top, @start, @stop); /*INNER ELEMENTS MUST NOT BREAK THIS ELEMENTS BOUNDARIES*/ /*Element must have a height (not auto)*/ /*Element must have a height (not auto)*/ /*All filters must be placed together*/ background-image: linear-gradient(top, @start, @stop); } .apply-border( @color: @border-color ) { border: 10px solid @color; } .common-inner-shadow( @horizontal:0px, @vertical:0px, @blur:1px, @alpha: 1 ) { -webkit-box-shadow: inset @horizontal @vertical @blur rgba(255, 255, 255, @alpha); -moz-box-shadow: inset @horizontal @vertical @blur rgba(255, 255, 255, @alpha); box-shadow: inset @horizontal @vertical @blur rgba(255, 255, 255, @alpha); } .apply-drop-shadow( @x: 1px, @y: 1px, @blur: 2px, @alpha: 0.3 ) { -webkit-box-shadow: @x @y @blur rgba(0, 0, 0, @alpha); -moz-box-shadow: @x @y @blur rgba(0, 0, 0, @alpha); box-shadow: @x @y @blur rgba(0, 0, 0, @alpha); } .apply-text-shadow( @h-shadow: 1px, @v-shadow: 1px, @blur: 2px, @alpha: 0.3 ) { -webkit-text-shadow: @h-shadow @v-shadow @blur rgba(0, 0, 0, @alpha); -moz-text-shadow: @h-shadow @v-shadow @blur rgba(0, 0, 0, @alpha); text-shadow: @h-shadow @v-shadow @blur rgba(0, 0, 0, @alpha); } .apply-text-outline( @thickness: 1px, @blur: 0, @color: #aaa ) { -webkit-text-stroke: @thickness @color; -moz-text-outline: @thickness @color; text-outline: @thickness @color; } .common-style { .apply-border; .common-inner-shadow; .rounded( 5px); } /*----------------------------------------------------------------------------------------------*/ /* 1.0 General rules */ /*----------------------------------------------------------------------------------------------*/ html { height: 100%; } body { height: 100%; background: transparent url(images/bg-body-grid.gif) repeat; } #top-bar { margin: 0 auto; width: 100%; } #wrap { position: relative; margin: 0 auto; padding: 0; width: 100%; min-height: 100%; } #container { /* contains #header and all posts */ margin: 0 auto; padding: 0 0 80px; width: 940px; } #footer { position: absolute; bottom: 0; margin: 0 auto; padding: 0; width: 100%; height: 40px; } #top-bar, #footer { color: @font-color-negative; background-color: @background-color; } img { margin: 0; padding: 0; } div.cute_profiles_sprite { left: 6px !important; } div.cute_profiles_sprite a { margin-bottom: 6px !important; } /*----------------------------------------------------------------------------------------------*/ /* 1.1 Typography (tuning) */ /*----------------------------------------------------------------------------------------------*/ body { font-family: Georgia, Geneva, "Times New Roman", times, serif; font-size: 16px; color: @font-color; } .form-field input, .form-field textarea, .form-field label { /* font-family: 'Josefin Sans', Georgia, Geneva, "Times New Roman", times, serif; */ font-size: 15px !important; } .form-field label { margin-left: 6px; } .metadata, .subtitle { font-style: italic; color: @font-color-light; } .metadata { /* font-size: 14px; */ } h1, h2 { color: @font-color; .apply-text-shadow; } #description h1 { font-size: 28px; line-height: 30px; } h4, h5, h6 { font-size: 16px; color: @font-color-light; } h3 { font-size: 24px; margin-bottom: 10px; color: @font-color-light; } a:link, a:visited { color: @color-links; transition: color .3s; -moz-transition: color .3s; /* Firefox 4 */ -webkit-transition: color .3s; /* Safari and Chrome */ -o-transition: color .3s; /* Opera */ } a:hover, a:focus, a:active { color: @color-links-hover; } #top-nav, #footer { a:link, a:visited { color: @color-links-neg; } a:hover, a:focus, a:active { color: @color-links-neg-hover; } } #top-nav { background-color: @background-color-light; border-bottom: 4px solid @background-color-dark; /* .apply-gradient; */ } #footer { margin-top: 40px; background-color: @background-color-light; border-top: 4px solid @background-color-dark; /* .apply-gradient( @background-color, (@background-color + #111), (@background-color - #111) ); */ } /*----------------------------------------------------------------------------------------------*/ /* 2.0 Header */ /*----------------------------------------------------------------------------------------------*/ #header { position: relative; } #header-title { margin: 10px 0 40px; width: 100%; } #header-title h1 { margin: 20px 0 0; padding: 0; } #header-title h2 { margin: 0; padding: 0; font-size: 24px; padding-left: 140px; color: @font-color-light !important; font-style: italic; } #header-main-picture { float: left; } #header-brace { float: left; margin-left: -100px; margin-right: -60px; height: 360px; z-index: -1; .apply-opacity; } /*----------------------------------------------------------------------------------------------*/ /* 3.0 Menus */ /*----------------------------------------------------------------------------------------------*/ #top-nav { width: 100%; z-index: 1000; } ul#menu-top-nav { margin: 0 auto; padding: 4px 0 2px; width: 940px; font-size: 14px !important; } ul#menu-top-nav li { display: inline; margin: 0 30px 0 0; padding: 0; } ul#menu-top-nav .current-menu-item a { color: @color-links-neg-hover !important; } /* main menu */ #main-menu { float: left; } #main-menu li { margin: 0 0 16px 0; padding: 0; z-index: 1000; font-size: 18px; } #main-menu li .subtitle { font-size: 16px; } #main-menu a { display: block; z-index: 1000; } #main-menu span { margin: 0; padding: 0; } #main-menu li .subtitle { transition: padding .3s; -moz-transition: padding .3s; /* Firefox 4 */ -webkit-transition: padding .3s; /* Safari and Chrome */ -o-transition: padding .3s; /* Opera */ } #main-menu li .subtitle { padding: 0 8px 0 0; } #main-menu li:hover .subtitle { padding: 0 0 0 8px; } #main-menu .list-item-1 { margin-left: 75px; } #main-menu .list-item-2 { margin-left: 80px; } #main-menu .list-item-3 { margin-left: 50px; } #main-menu .list-item-4 { margin-left: 55px; } #main-menu .list-item-5 { margin-left: 40px; } #main-menu .list-item-6 { margin-left: 15px; } #main-menu .list-item-7 { margin-left: 0; } /*----------------------------------------------------------------------------------------------*/ /* 4.0 Contents */ /*----------------------------------------------------------------------------------------------*/ #loop-showcase { position: relative; } .loop-showcase { margin: 20px 0 0 0; } .loop-showcase-home { margin-top: 100px; } .loop-showcase-archive .loop-showcase-gallery { margin-top: 40px; } #loop-showcase-arrow { position: absolute; top: -230px; right: 5px; } #loop-showcase-arrow img { float: left; margin-right: -20px; .apply-opacity; } #loop-showcase-arrow .metadata { display: block; margin-top: 36px; padding: 0 !important; width: 160px; } #loop-showcase-arrow:hover .metadata { color: @color-links-hover; } div.showcase-thumbnail { position: relative; float: left; margin: 8px 20px 21px 0; padding: 0; } .thumbnail-cover { position: absolute; top: 4px; left: 4px; width: 132px; height: 92px; background-color: rgba( 255, 255, 255, 0.4 ); /* */ transition: opacity .7s; -moz-transition: opacity .7s; /* Firefox 4 */ -webkit-transition: opacity .7s; /* Safari and Chrome */ -o-transition: opacity .7s; /* Opera */ /* titling */ } .thumbnail-cover span { position: absolute; left: -10px; bottom: 3px; display: block; padding: 0 3px 1px; background-color: rgba( 0, 0, 0, 0.8 ); color: #fff; } a:hover .thumbnail-cover { opacity: 0; } .showcase-thumbnail.first { clear: both; } .showcase-thumbnail.last { margin-right: 0; } .showcase-thumbnail, .showcase-thumbnail a { margin: 0; padding: 0; height: 90px; } .gallery a img, .showcase-thumbnail a img { padding: 3px; background-color: transparent; border: 1px solid #bbb; transition: background-color .7s; -moz-transition: background-color .7s; /* Firefox 4 */ -webkit-transition: background-color .7s; /* Safari and Chrome */ -o-transition: background-color .7s; /* Opera */ } .gallery a:hover img, .showcase-thumbnail a:hover img { background-color: #fff; } .diw-gallery .gallery-entry { position: relative; } .diw-gallery .gallery-entry .gallery-entry-credit { display: block; position: absolute; left: 8px; bottom: 10px; padding: 1px 3px 0; /* background-color: rgba( 255, 255, 255, 0.4); */ font-size: 14px; color: @font-color-negative; text-shadow: 1px 1px #000; } #loop-posts { margin: 80px 0 0 310px; } #loop-posts .post-meta, #loop-posts #post-brace { float: left; } #loop-posts .post-meta { margin-top: 115px; } #loop-posts #post-brace { margin-right: -30px; .apply-opacity; } #loop-posts .post-body { padding-top: 80px; } .gallery { float: left; margin: 0; width: 620px; } .gallery a { display: block; margin: 0 0 14px 0; } .gallery img { padding: 3px; background-color: #fff; border: 1px solid #bbb; } #description { float: right; width: 300px; } .entry-title, .entry-content { margin-top: 20px; } .entry-meta span { display: block; border-bottom: 1px dotted @border-color; } .entry-meta, .description-content { margin-top: 20px; } /*----------------------------------------------------------------------------------------------*/ /* 4.1 Contact Form */ /*----------------------------------------------------------------------------------------------*/ #contact-form-arrow img { .apply-opacity; } #contact-form-arrow p { float: left; margin: 10px -10px 0 80px; } #contact-form-arrow p span { padding-left: 10px; } .frm_form_fields .frm_primary_label { display: none !important; } div.form-field { float: none !important; width: auto; } .form-field .text, .form-field .textarea { padding: 10px !important; font-style: italic; /* */ .common-style; } p.submit { margin: 0; padding: 0; } p.submit input { /* this rule controls the input button of the form */ } /*----------------------------------------------------------------------------------------------*/ /* 5.0 Sidebars */ /*----------------------------------------------------------------------------------------------*/ /*----------------------------------------------------------------------------------------------*/ /* 6.0 Footer */ /*----------------------------------------------------------------------------------------------*/ #footer div p { font-size: 14px !important; } #footer-container { margin: 0 auto; width: 940px; } #footer-copyrights { margin: 0 auto; font-style: italic; } #footer-copyrights div { margin: 0 auto; width: 940px; } #footer-copyrights p { margin: 0; padding: 8px 0 6px; }