/** * Core CSS */ /* -------------------------------------- */ /** * Variables */ @bodyPad: 10px; @maxWidth: (980px - @bodyPad); @headerWidth: 940px; /* -------------------------------------- */ /** * Mixins */ .clearfix { zoom: 1; &:before, &:after { content: "\0020"; display: block; height: 0; overflow: hidden; } &:after { clear: both; } } .center { margin: 0 auto; } .wrap { width: @maxWidth; .center; } .imageLink( @width, @height, @src, @display: block ) { display: @display; width: @width; height: @height; text-indent: -999em; background: url("../images/@{src}") no-repeat; } /* -------------------------------------- */ /** * General */ html { background: #EEE url(../images/bg.jpg) repeat; } body { color: #000; font: 15px/23px 'museo-slab', Georgia, serif; background: url(../images/bg-main.png) center top no-repeat } #pageDivider { position: absolute; z-index: 1; left: 0; right: 0; top: 339px; bottom: 0; min-height: 250px; background: #FFF url(../images/bg-bottom.jpg) left top repeat-x; } .home #pageDivider { top: 631px; } h1,h2,h3,h4,h5, p,blockquote,pre, a,input,select,textarea, button,img,figure,video, audio { -webkit-transition-duration: .25s; -moz-transition-duration: .25s; -o-transition-duration: .25s; -ms-transition-duration: .25s; transition-duration: .25s; } /* -------------------------------------- */ /** * Containers */ #content { position: relative; z-index: 2; padding: 20px 0 15px; width: 980px; .center; .clearfix; background: #FFF; .wrap { width: @headerWidth; .center; } } /* -------------------------------------- */ /** * Header */ #header { position: relative; z-index: 2; width: @headerWidth; .center; padding-top: 27px; // Logo a#logo { .imageLink(220px, 113px, 'logo.png'); } // Widgets #headerWidgets { position: absolute; top: 0; right: 0; .widget { display: inline; a { display: inline-block; padding: 12px 15px 7px; color: #a8241c; font-weight: 500; font-size: 14px; letter-spacing: -1px; text-decoration: none; img { position: relative; left: -5px; top: -3px; } } &.last { a { color: #FFF; background: url(../images/bg-redGrain.jpg) repeat; } } } } // Menu #nav { float: right; position: relative; top: -3px; .clearfix; margin-top: -37px; ul, li { display: inline; position: relative; a { display: inline-block; color: #333; font-weight: 500; font-size: 18px; text-transform: uppercase; text-decoration: none; text-indent: -1px; padding: 7px 10px; margin: 0 10px; &:hover { color: #AF3831; } } &.back { z-index: -1; position: absolute; bottom: 0; width: 0; height: 1px; margin-left: 20px; background: #CCC; } &:last-of-type > a { margin-right: 0; } &:last-of-type > span { display: none; } span { position: absolute; right: 0; bottom: -7px; top: -7px; width: 1px; background: url(../images/bg-menuItem.png) center top repeat-y; } &.current-menu-item > a, &.current_page_item > a, &.current_page_ancestor > a { color: #FFF; background: url(../images/bg-redGrain.jpg) repeat; &:hover { cursor: default; color: #FFF; } } } } } /* -------------------------------------- */ /** * Masthead */ #masthead { clear: both; position: relative; z-index: 1; height: 145px; width: @headerWidth; margin: 4px auto 0; border-top: 5px solid #AF3831; #mastheadContainer { height: 145px; overflow: hidden; &.full { height: 410px; img { z-index: -1; position: absolute; top: 0; left: 0; right: 0; } } } // Front page first. &.full { height: 410px; h1 { .imageLink(443px, 36px, 'text-slide.png'); margin: 40px auto 17px; } a#mastheadLink { display: block; position: relative; width: 300px; height: 55px; .center; color: #FFF; font: 500 20px/50px 'museo-slab', serif; text-align: center; text-transform: uppercase; text-decoration: none; -webkit-transition: margin .5s ease; -moz-transition: margin .5s ease; transition: margin .5s ease; background: url(../images/bg-slideText.png) center no-repeat; &:hover { margin-top: 5px; } } } // Interior page &:not(.full) > h1 { display: inline-block; position: absolute; bottom: 0; left: -20px; color: #FFF; font-weight: 1000; font-size: 40px; line-height: 69px; text-transform: uppercase; margin: 0; padding: 0 15px; background: url(../images/bg-redGrain.jpg) repeat; } } /* -------------------------------------- */ /** * Footer */ #footer { position: relative; z-index: 2; width: 976px; min-height: 75px; .center; text-align: center; padding-top: 100px; background: url(../images/bg-footer.png) center -15px no-repeat; // Shadow #footerShadow { display: block; position: absolute; top: 0; left: 50%; width: @headerWidth; height: 10px; margin-left: -(@headerWidth / 2); background: rgba(0,0,0,.45); } // Footer nav #footerNav { width: @headerWidth; .center; padding: 20px 0 15px; background: url(../images/bg-footerNav.png) left top repeat-x; ul, li { display: inline; margin: 0; padding: 0; a { display: inline-block; color: #111; text-decoration: none; margin: 0 5px; &:hover { text-decoration: underline; } } &:first-child > a { margin-left: 0; } &:last-child > span { display: none; } } } // Copyright text #copyright { display: block; font-size: 12px; color: #666; margin-bottom: 20px; a { color: #666; &:hover { text-decoration: none; } } } } /* -------------------------------------- */ /** * Front page / panels */ #content .Jet_image_box { float: left; width: 300px; margin-right: 20px; &:last-of-type { margin-right: 0; } img { border-top: 5px solid #B13A33; } h2, .widgettitle { color: #000; font: 900 20px/20px 'museo-slab', serif; text-transform: uppercase; margin-bottom: 0; } p { font-size: 14px; line-height: 20px; } a { color: #a8241c; font-weight: 800; text-decoration: none; &:hover { text-decoration: underline; } } } /* -------------------------------------- */ /** * Sidebar */ #sidebar { float: right; width: 300px; .Jet_image_box { float: none; margin-bottom: 20px; } // Page nav nav#pageNav { margin-bottom: 15px; ul, li { display: inline; } ul li { a { position: relative; display: block; color: #333; font-size: 16px; text-decoration: none; padding: 7px 0; &:hover { color: #AF3831; } } &.current_page_item > a { color: #AF3831; } } } } /* -------------------------------------- */ /** * General page styles */ #page { float: left; width: 579px; // Headers h2.lead { color: #a8241c; font-size: auto; line-height: 33px; span { font-size: auto !important; } } h2:not(.lead) { color: #000; font-size: 20px; font-weight: 900; text-transform: uppercase; margin-bottom: 0; &:nth-child(1n+2) { margin-top: 30px; } span { font-size: 20px !important; } } h3 { color: #a8241c; font-size: 17px; line-height: 20px; margin-bottom: 0; span { font-size: 17px !important; } } // Text p { font-size: 14px; margin-top: 0; span { font-size: 14px !important; } } a { color: #a8241c; text-decoration: none; &:hover { text-decoration: underline; } } // Images img { max-width: 100%; height: auto; border-top: 5px solid #A8241C; &.alignleft { float: left; margin: 0 15px 10px 0; } &.alignright { float: right; margin: 0 0 10px 15px; } } // Lists ol, ul { font-size: 14px; } // Forms form { input[type=text], select, textarea { width: auto; font: 14px Arial, sans-serif; padding: 3px; border: 1px solid #CCC; } } } /* -------------------------------------- */ /** * Gallery page styles */ #page .ngg-galleryoverview { .slideshowlink { display: none; } .ngg-gallery-thumbnail-box { .clearfix; .ngg-gallery-thumbnail { img { padding: 0; border: 0; } } } } /* -------------------------------------- */ /** * Project page styles */ #page article.projectGroup { .clearfix; margin-bottom: 25px; padding-bottom: 32px; border-bottom: 1px solid #DFE2E6; figure { float: left; width: 170px; height: 130px; margin-right: 20px; img { border-top: 0; } } a { color: #333; font-size: 22px; line-height: 130px; &:hover { color: #AE342C; //text-decoration: none; } } } /* End of Core CSS End of file core.less */