/* mobile */ @media screen and (max-width: 480px) { #main { width: 480px !important; } #frame-top { display: none !important; } #frame-bottom { display: none !important; } #top-bar { height: 100px !important; #logo img { width: 80px; } ul.menu { padding-top: 12px !important; margin-left: 110px !important; } ul.menu li a { height: 25px !important; line-height: 25px !important; } } #content { width: 480px !important; height: 499px !important; .view-home-feature { .views-field-field-feature-image img { width: 480px !important; } .views-field-body .feature-bg{ display: none !important; } .views-field-body .feature-content{ position: static !important; margin-top: 60px; top: 0; left: 0; height: 178px !important; width: 480px !important; .teaser { width: 450px !important; top: 120px; height: 47px !important; } } } } #features { width: 480px !important; height: auto !important; .view-feature-blocks { width: 480px !important; height: 150px !important; } .feature-block { float: none !important; } } } /* utils */ .border-radius(@radius) { -moz-border-radius: @radius; -webkit-border-radius: @radius; border-radius: @radius; } .box-shadow(@x: 0, @y: 0, @blur: 1px, @alpha) { @val: @x @y @blur rgba(0, 0, 0, @alpha); box-shadow: @val; -webkit-box-shadow: @val; -moz-box-shadow: @val; } body { background-color: #513412; font-family: Alike, serif; } #main { width: 1100px; margin-left: auto; margin-right: auto; } #frame-back { width: 1120px; background: url(/sites/all/themes/houghton/images/frame-repeat.png); background-repeat: repeat-y; margin-left: -10px; padding-left: 10px; margin-top: -36px; padding-top: 36px; margin-bottom: -186px; padding-bottom: 187px; } #frame-top { width: 1100px; margin-left: auto; margin-right: auto; margin-bottom: -14px; .inside { background: url(/sites/all/themes/houghton/images/frame.png); height: 24px; width: 1120px; margin-left: -10px; } } #frame-bottom { height: 24px; width: 1100px; margin-left: auto; margin-right: auto; margin-top: -14px; .inside { background: url(/sites/all/themes/houghton/images/frame.png); background-position: 0px 24px; height: 24px; width: 1120px; margin-left: -10px; } } #header, #content, #features, #footer { width: 1100px; } #sidebar { position: absolute; top: 391px; right: 0; width: 350px; } .messages { position: absolute; top: 10px; right: 10px; } #content { a { color: #1D6D99; } a:hover { text-decoration: underline !important; } a.button { text-decoration: none; background-color: #000; padding: 10px; display: block; width: 200px; margin-bottom: 10px; margin-top: 0; color: desaturate(#C6A555, 0%); background-image: url(../images/sprites.png); background-repeat: no-repeat; background-position: -300px -180px } a.button:hover { background-color: lighten(#000, 6%); color: saturate(#C6A555, 20%); text-decoration: none !important; } } #top-bar { background: #a88a55 url(/sites/all/themes/houghton/images/top-gradient.png); background-repeat: repeat-y; height: 50px; ul.menu { margin: 0; padding: 0; margin-left: 180px; li { list-style: none !important; list-style-type: none !important; list-style-image: none !important; margin: 0; padding: 0; line-height: 0 !important; a { display: block; float: left; height: 50px; padding: 0 20px; line-height: 50px; text-decoration: none; color: #513412; text-transform: uppercase; font-size: 12px; } a:hover, a.active { background-color: #E8DE99; } } } #logo { img { position: relative; margin-left: 25px; float: left; z-index: 3; } } } .frame img { .box-shadow(0, 0, 5px, 0.4); .border-radius(2px); } #content { background-color: #E8DE99; padding-top: 316px; width: 1100px; position: relative; h1.title { margin-top: -182px; margin-left: 200px; } .region-content { padding: 75px; background-color: #fff; } img { display: none; } .tabs ul.primary { position: absolute; padding: 0; margin: 0; border-style: none; width: 1100px; position: absolute; top: 180px; left: 190px; li { padding: 0; margin: 0; border-style: none; float: left; a { border-style: none; height: 15px; font-size: 12px; margin: 0; padding: 0 20px; text-align: center; display: block; color: #555; background-color: #CEB36F; } } li.active a, li a:hover { background-color: transparent; } } } #content .section-header { h1.title { position: absolute; display: block; top: 140px; right: 0px; width: 530px; height: 90px; padding-left: 20px; font-size: 40px; text-transform: uppercase; line-height: 90px; color: #e6e6e6; background-color: #443D2E; opacity: 0.9; z-index: 1; margin-top: 0; } .field-name-field-header-image img{ width: 1100px; height: 300px; background-color: #222; border-bottom: 15px solid #E8DE99; position: absolute; top: 0px; left: 0px; z-index: 0; } } .node-type-page #content{ padding: 0; h1.title { margin-top: 0px; } .region-content { padding: 0; width: 100%; } .tabs ul.primary { top: 300px; } h1.title { position: absolute; display: block; top: 140px; right: 0px; width: 530px; height: 90px; padding-left: 20px; font-size: 40px; text-transform: uppercase; line-height: 90px; color: #e6e6e6; background-color: #443D2E; opacity: 0.9; z-index: 2; } .field-name-field-header-image { width: 1100px; height: 300px; background-color: #222; border-bottom: 15px solid #E8DE99; img { left: 0px; position: absolute; z-index: 1; } } .content { background-color: #fff; font-size: 14px; line-height: 20px; color: #555; width: auto; } .field-name-body { padding: 75px; width: 600px; img { .box-shadow(0, 0, 5px, 0.5); position: absolute; right: 75px; } } } /* ie 7 hack! */ *:first-child+html .node-type-page #content .field-name-field-header-image img{ left: auto; } .front #content { height: 600px; background-color: #222; padding: 0; .region-content { padding: 0; background-color: #222; } .content { background-color: #222; } } #content .view-home-feature { position: relative; z-index: 0; .field-content { width: 1100px; } .feature-bg { position: absolute; z-index: 100; width: 550px; top: 270px; right: 0px; .top-part { background-color: #443D2E; opacity: 0.9; width: 550px; height: 90px; } .bottom-part { height: 150px; background-color: #000; opacity: 0.8; } } .feature-content { position: absolute; z-index: 101; width: 550px; top: 270px; right: 0; .title { margin-top: 15px; } .title, .title-2 { margin-left: 15px; font-size: 25px; line-height: 30px; color: #e6e6e6; } .title-2 p{ margin: 0; padding: 0; } .title-2 sup { vertical-align: text-top; } .teaser { font-size: 13px; line-height: 18px; color: #EFC881; color: #CEB36F; position: absolute; top: 90px; left: 0px; height: 70px; width: 520px; border-bottom: 1px dashed #685D47; padding: 15px; } .teaser p { margin: 0; } } .link { position: absolute; top: 190px; height: 50px; display: block; line-height: 50px; margin-left: 18px; a { text-decoration: none; font-size: 13px; color: #CEB36F; } a:hover { text-decoration: underline; } .pointer { background: url(/sites/all/themes/houghton/images/sprites.png); width: 9px; height: 9px; *height: 12px; display: inline-block; background-position: -148px -50px; } } .views-field-field-feature-image .field-content { line-height: 0; } } #content #tab_content { .content { background-color: transparent; } border-bottom: 1px solid #F8FEB9; .block-quicktabs { h2 { display: none; } .content h2 {display: block; } margin: 20px; margin-top: 5px; background-color: #191813; } .quicktabs-tabs { background-color: #E8DE99; margin: 0; padding: 0; @height: 45px; height: @height; li { margin: 0; display: block; float: left; margin-right: 10px; background-color: #595436; padding: 0; padding-right: 15px; } a { padding-right: 15px; padding-left: 15px; height: @height; line-height: @height; color: #fffcf8; text-decoration: none; display: block; background-image: url(../images/sprites.png); background-position: right -180px; } li.active, li:hover { background-color: #191813; a { text-decoration: none !important; background-color: #191813; } } } .quicktabs-tabpage { .field-name-field-header-image { display: none; } .field-name-body { margin-top: -25px; } } .view-page-content { width: 230px; padding: 25px 20px 0 0; float: right; } .view-page-content, .content { position: relative; p, li { color: #aaa; text-align: justify; } h1, h2, strong { color: #C6A555; line-height: 26px; margin-top: 0; font-weight: 100; letter-spacing: 0.05em; } h3 { color: #aaa; font-weight: bold; font-size: 14px; } a { color: #C6A555; } ul { padding-left: 15px; li { margin-bottom: 3px; } } } .content { .field-name-body { padding: 25px; padding-top: 32px; width: auto; } .right-col { position: absolute; top: 7px; right: 0px; width: 400px; padding: 25px; } .left-col { width: 580px; } p { margin-top: 0; } } } #features { height: 175px; } .feature-block { width: 366px; height: 175px; float: left; background-color: #C9B578; position: relative; &.view-display-id-block { background-color: #A88A55; } &.view-display-id-block_2 { border-left: 1px solid #E8DE99; } &.view-display-id-block_1 { background-color: #E8DE99; border-left: 1px solid #f8fEb9; } .views-field-title a{ text-decoration: none; color: #513412; font-size: 22px; display: block; padding-top: 15px; padding-left: 15px; } .views-field-body { padding: 0 15px; font-size: 13px; line-height: 18px; color: #000; } .views-field-view-node a, .views-field-field-link a{ text-transform: uppercase; text-decoration: none; color: #513412; position: absolute; bottom: 15px; left: 15px; font-size: 14px; } .views-field-view-node a:hover, .views-field-field-link a:hover { text-decoration: underline; } } #footer { display: block; position: relative; background-color: #313131; height: 200px; font-size: 13px; color: #7b7a73; /* footer address block */ #block-block-1 { padding-top: 33px; padding-left: 120px; h2 { font-size: 12px; color: #7b6d1f; font-weight: 100; margin: 0; } p { margin: 0 0 10px 0; } a { color: #7b7a73; text-decoration: none; } a:hover { text-decoration: underline; } .contact-address { background-image: url(/sites/all/themes/houghton/images/sprites.png); width: 73px; height: 101px; position: absolute; left: 26px; top: 49px; } .contact-link { position: absolute; left: 33px; top: 151px; font-size: 11px; } } /* copyright */ #block-block-2 { width: 400px; margin-left: auto; margin-right: auto; margin-top: -94px; text-align: center; font-size: 11px; p { margin: 0; } .copyright-logo { background-image: url(/sites/all/themes/houghton/images/sprites.png); width: 61px; height: 60px; background-position: 0px -100px; text-align: center; margin-left: auto; margin-right: auto; margin-bottom: 10px; } } #block-menu-menu-footer-menu { position: absolute; top: 33px; left: 750px; ul { margin: 0; padding: 0; } ul li { list-style: none !important; list-style-type: none !important; list-style-image: none !important; margin: 0; padding: 0; } ul li a { text-decoration: none; color: #7b7a73; text-transform: uppercase; font-size: 12px; line-height: 19px; } ul li a:hover { text-decoration: underline; } } #block-menu-menu-footer-links { position: absolute; top: 33px; right: 21px; ul { margin: 0; padding: 0; text-align: right; } ul li { list-style: none !important; list-style-type: none !important; list-style-image: none !important; margin: 0; padding: 0; } ul li a { text-decoration: none; color: #7b6d1f; text-transform: uppercase; font-size: 12px; line-height: 19px; } ul li a:hover { text-decoration: underline; } } #block-block-3 { position: absolute; right: 20px; top: 137px; width: 90px; a.facebook { display: block; background: url(/sites/all/themes/houghton/images/sprites.png); background-position: -100px -0px; width: 29px; height: 29px; margin-right: 10px; float:right; } a.twitter { display: block; background: url(/sites/all/themes/houghton/images/sprites.png); background-position: -129px -0px; width: 29px; height: 29px; float:right; } } } a.preferred-logo { display: block; width: 1100px; text-align: center; margin-top: 10px; margin-left: auto; margin-right: auto; } #footer_lower { overflow: hidden; padding-bottom: 20px; margin-top: 20px; width: 1100px; margin-left: auto; margin-right: auto; .view-id-partners .view-content { float: left; position: relative; left: 50%; } .view-id-partners .views-row { float: left; position: relative; right: 50%; margin: 0px 10px; } } #sidebar { padding-right: 50px; width: 300px; h2 { font-size: 20px; text-transform: uppercase; font-weight: 100; margin-top: 0; } .content { margin-bottom: 50px; } ul li { list-style: none !important; list-style-type: none !important; list-style-image: none !important; } ul li a { text-decoration: none; } .rss { float: right; margin-top: -43px; } } /** blog styling **/ .page-blog #page-title { display: none; } .page-taxonomy #page-title { display: none; } .content-area, .node .content{ width: 600px; .view-content .views-row { border-bottom: 1px solid #ccc; margin-bottom: 100px; padding-bottom: 50px; } .view-header .views-row { border-bottom: none; margin: 0; padding: 0; } p { line-height: 26px; font-size: 14px; text-align: justify; } .views-field-title { font-size: 35px; font-weight: bold; } .post-date { .border-radius(20px); width: 80px; height: 80px; float: left; margin-right: 20px; background-color: #4C483A; } .post-date .post-day { color: #fff; font-size: 40px; width: 80px; text-align: center; display: block; margin-top: 1px; } .post-date .post-month { color: #fff; width: 80px; text-align: center; display: block; font-size: 14px; } .views-field-field-tags { margin-top: 20px; *{ display: inline; } .views-label-field-tags{ text-transform: uppercase; font-size: 11px; } a{ font-size: 14px; } } } /* guest comments */ .page-guest-comments { .view-guest-comments { .views-field-title { font-weight: 100; font-size: 20px; background: url(/sites/all/themes/houghton/images/sprites.png); background-position: -101px -50px; width: 38px; height: 32px; overflow: visible; span { width: 553px; display: block; padding-left: 45px; padding-top: 10px; color: #635E40; } } .view-header .views-field-title { background: none; } .view-content { margin-top: -50px; p { font-style: italic; } .views-row { margin-bottom: 40px; } .views-field-field-guest-name, .views-field-field-guest-date { float: right; } } } } /* pager themeing */ .item-list ul.pager { color: #AA8D5E; li { margin: 0 2px; } a { color: #AA8D5E !important; text-decoration: none; } }