/* Theme Name: Hattery.com, Version 2.0 Theme URI: http://hattery.com Description: Custom theme for Hattery Labs Author: Cristobal Chao, Clare Bayley Author 1 URI: http://cristobalchao.com Author 2 URI: http://clarebayley.com Version: 2.0 */ .rounded-corners (@radius: 5px) {border-radius: @radius; -webkit-border-radius: @radius;-moz-border-radius: @radius;} .box-shadow (@h-offset: 0, @v-offset: 0, @blur: 3px, @color: #666){box-shadow: @arguments;-webkit-box-shadow: @arguments;-moz-box-shadow: @arguments;} .b{border: 1px solid #000;} a{text-decoration: none;color: inherit;} .clear{float: none;clear: both;} body{margin: auto;word-wrap: break-word;} .bg-cover { -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; /* filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" @image "', sizingMethod='scale')"; -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" @image "', sizingMethod='scale')";*/ } @contentWidth: 100%; @padding: 20px; @offWhite: #f7f5f3; @darkOffWhite: #eae7e3; @bodyCopy: #514c47; /*#3d3d37;*/ html { -webkit-font-smoothing: antialiased; } body{ /*background: #f5f5f5 url('./images/felt.jpg') repeat left top;*/ background: @darkOffWhite; font-family: "camingodos-web",sans-serif; font-weight: 300; font-style: normal; color: @bodyCopy; /*padding-top: 34px;*/ } em{ font-style: italic; } strong, b{ font-weight: bold; } ::-webkit-input-placeholder { /* color: @offWhite; opacity: .8; */ color: black; opacity: .8; } :-moz-placeholder { color: black; opacity: .8; } h1, h2, h3 { font-weight: bold; } h1 { font-size: 35px; } h2{ font-size: 25px; } h3{ font-size: 16px; } .p{ font-size: 18px; } .p1 { font-size: 15px; } .p2 { font-size: 12px; } .container{ /*.b;*/ width: @contentWidth; margin: auto; } .shadow-border{ border: 1px solid #ecebe9; } #header{ #full-logotype{ display: block; } #small-logotype{ display: none; } img{ float: left; position: relative; left: 50%; margin-left: -108px; } ul{ float: right; } li{ float: left; font-size: .8em; font-weight: 400; padding-left: 30px; a{ opacity: .3; &:hover{ opacity: 1; } } &.current_page_item{ a{ opacity: 1; } } } li:hover, .current-page-ancestor { cursor:pointer; a { opacity:1; } background: #FBFAF9; } .current-page-ancestor { background-color : #FFF; } background-color: @offWhite; padding: 0px 50px; /* .box-shadow(0px, 1px, 3px, #BBB);*/ border-bottom: 1px solid #ecebe9; li{ padding: 80px 15px; &.current_page_item{ background-color: #fff; } } img{ padding-top: 80px; } #breadcrumbs{ display: none; } } #header.small{ position: fixed; z-index: 100; width: 100%; top: 0px; padding: 0px; #full-logotype{ display: none; } #small-logotype{ display: block; height: 15px; } img{ padding-top: 10px; padding-right: 20px; padding-left: 50px; position: static; margin-left: 0; left: 0; float: left; } #breadcrumbs{ /* display: block;*/ div{ float: left; opacity: .3; font-size: .8em; padding: 10px 15px; } #breadcrumb-current{ font-weight: bold; } #breadcrumb-back{ cursor: pointer; img{ padding: 1px 10px 0px 0px; } } } ul{ padding-right: 50px; } li{ padding: 10px 15px; } } #header.small.breadcrumbs{ #breadcrumbs{ display: block; } } #footer{ padding: 50px 50px; background-color: @darkOffWhite; .footer-item{ float: right; color: #a8a5a1; font-size: 12px; line-height: 17px; padding: 15px 20px 0px; h3{ font-size: 14px; color: @bodyCopy; margin-bottom: 10px; } img{ width: 15px; margin-right: 4px; } } } .post-710 .post-content { height: 500px; position:relative; background-color: @offWhite; min-height: 300px; line-height: 18px; margin-bottom:20px; } #search-bar{ /* .b;*/ background-color: rgba(255, 255, 255, .14); padding: 0px; position: absolute; width:100%; #rss{ float: left; margin-left: @padding; background-color: rgba(255, 255, 255, .3); padding: 15px 25px; } #search{ float: right; padding: 5px @padding; input{ background-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .3) url('./images/search.png') no-repeat 10px center; padding: 9px 15px 8px 35px; .rounded-corners(30px); border-style: none; outline: none; color: #fff; width: 175px; } } #search-query{ float: right; color: rgba(255,255,255,.7); font-size: 14px; padding: 16px 20px 0px 0px; span{ color: #fff; padding-left: 10px; } } } div.type-post{ .post-content{ a{ border-bottom:1px dotted; &:hover{ color: #000; } } line-height: 26px; ul{ list-style: disc; } ol{ list-style: decimal; } li{ margin-left: 30px; } } } .post, .post-single{ /*background-color: #fff;*/ margin-bottom: @padding; #article-table{ display:table; width: 1000; margin: auto; } .post-author-image{ width: 100px; height: 100px; border: 10px solid #FFF; margin: auto; background: transparent no-repeat center top; /*background-size: cover;*/ .bg-cover; /*.box-shadow(0px, 1px, 5px, #BBB);*/ } .shadow-border{ margin-bottom: 20px; } .sidebar-table{ width: 200px; } article, .sidebar-table{ display: table-cell; vertical-align: top; } .post-meta { float: left; padding-left: 30px; position: relative; top: -55px; p{ margin-bottom: 10px; margin-left: 10px; font-size: 12px; &:first-of-type{ font-weight: bold; font-size: 14px; } } } .share{ /* float: right; cursor: pointer;*/ margin-left: 40px; margin-top: 30px; .share-button{ border: 2px solid @offWhite; float: left; padding: 7px 10px; margin: 3px; img{ width: 15px; height: 15px; } &:hover{ background-color: @darkOffWhite; } } } article{ width: 600px; margin: auto; line-height: 22px; padding-bottom: 60px; h1, h2{ font-weight: bold; font-size: 28px; line-height: 32px; margin-bottom: 20px; padding-top: 40px; } p{ padding-bottom: 20px; } .read-more{ font-weight: bold; background: url('./images/arrow_blk.png') no-repeat left center; padding-left: 20px; border-style: none; position: absolute; right: 50px; bottom: 25px; } } } .post{ background-color: #fff; } .post-single{ background-color: @offWhite; position: relative; } .newer-older, .oldernewer{ background-color: @offWhite; margin-bottom: @padding; padding: 10px; color: @bodyCopy; font-size: 12px; a{ opacity: .3; &:hover{ opacity:.6; } } .older{ float: left; padding-left: 30px; } .newer{ float: right; padding-right: 30px; } } #content{ padding: @padding; padding-bottom: 1px; background: url('./images/felt.jpg') repeat center top; /* background: url('./images/hattery_wood.jpg') repeat center top;*/ &.with-search{ padding-top: 70px; } } body.blog, body.single-post, body.page-id-148, body.page-id-710, body.parent-pageid-148, body.search, body.page-id-323, body.page-id-899, body.parent-pageid-323, body.parent-pageid-893{ #content{ background: url('./images/hattery_wood.jpg') repeat center top !important; } } body.page-id-710 { header #breadcrumbs { display:none !important; } } .page-header{ img.page-header-bg{ display: none; } } .post-header{ height: 350px; } .post-header.small{ height: 250px; } .page-section{ background-color: @offWhite; padding: 100px; min-height: 300px; line-height: 18px; h2{ line-height: 26px; margin-bottom: 10px; padding-top: 75px; } .page-inner{ max-width: 1050px; margin: auto; position: relative; padding : 0.5em; } } .case-study-main{ margin-bottom: 0px; } .case-study{ margin-top: -20px; img{ position: absolute; max-height: 475px; max-width: 530px; height: auto; width: auto; top: -60px; } img.small-img{ /* border: 15px solid #FFF; padding: 0px;*/ .shadow-border; background-color: #fff; padding: 10px; margin-top: -45px; /* margin-left: -100px;*/ max-width: 500px; top: 20px; &.no-border{ border-color: @offWhite; background-color: @offWhite; } } .project-text{ position: absolute; width: 500px; font-size: 14px; line-height: 24px; h2{ padding: 0px; font-size: 16px; } } } .case-study:nth-child(even){ img { left: 0; } .project-text{ left: 55%; top: 20px; } } .case-study:nth-child(odd){ background-color: #F2EFEA; img { left: 55%; } .project-text{ left: 0; } } .case-study:last-child{ margin-bottom:20px; } div.prizes { background : #c3d7e1; .project-summary { max-width : 450px; float:left; } .sponsors { max-width : 100% !important; width: 100%; .container { display: block; line-height : 10px; a { img { margin: 0 2% 0 0; vertical-align: middle; } } } } h2{ line-height: 34px; padding-top: 20px; margin-bottom: 20px; } p { font-size: 14px; line-height: 26px; } .prize-winners{ width: 280px; float: left; line-height: 26px; h2 { font-weight: normal; font-size: 25px; } li { margin: 16px 0px; font-size:14px; } p { font-weight:bold; } } .transparent-column { background: none repeat scroll 0 0 transparent; float: left; height: 1px; width: 150px; } } div.teams{ h2{ line-height: 34px; padding-top: 20px; margin-bottom: 20px; } p { font-size: 14px; } background-color: #F7F5F3; line-height: 18px; margin-bottom: 20px; min-height: 300px; padding: 100px; } div.teams{ background-color: #F7F5F3; line-height: 18px; margin-bottom: 20px; min-height: 300px; padding: 100px; li { padding: 30px; width:204px; height:145px; float:left; background-repeat : no-repeat; background-size:cover; * { opacity:0; } } li:hover { * { opacity:1; -webkit-transition: opacity .5s ease-in-out; -moz-transition: opacity .5s ease-in-out; -o-transition: opacity .5s ease-in-out; } background:white; background-image:none !important; } span.title { float:left; font-weight:bold; } p.members { clear: both; text-align: left; font-size: 12px; line-height: 20px; margin: 7px 0px 14px 0; } .project-link-blk { padding: 0 22px 0 5px; float:left; background-position: left 7px; line-height: 24px; div { border:0; padding-bottom: 0; } a { margin-left: 20px; } } .project-link-blk.project-pitch { background-image:url('./images/reroute/github.ico'); line-height: 30px; background-size: 16px; div { padding-bottom: 0; } } } .project-link-wht, .project-link-blk{ font-size: 14px; font-weight: bold; padding: 5px 0px 10px 25px; background-position: left 15px; margin-left: -24px; float: left; cursor: pointer; div{ /*border-bottom: 2px solid;*/ padding-bottom: 2px; } div.active { border-bottom: 2px solid; } a{ border-style: none; } /* position: absolute; right: 80px; top: 130px;*/ } .project-link-wht{ color: #fff; border-color: #fff; background: url('./images/arrow_wht.png') no-repeat left 15px; } .project-link-blk{ color: @bodyCopy; border-color: @bodyCopy; background: url('./images/arrow_blk.png') no-repeat left 15px; } #people-text{ float: left; max-width: 575px; padding-bottom: 50px; line-height: 30px; } .person, .team{ float: left; text-align: center; font-size: 12px; margin-bottom: 20px; .image{ background-color: #fff; padding: 15px; margin-bottom: 10px; .shadow-border; } .name{ display: inline; margin: auto; padding: 0px 7px 3px; } &:hover{ .image{ border-bottom: 1px solid #d8d6d5; } .name{ border-bottom: 2px solid @bodyCopy; } } } .person { cursor: pointer; } .team{ .image{ height: 205px; } } #leadership{ padding-bottom: 30px; } .bio-page{ .page-section; /*background-color: #fff;*/ .bio-container{ margin: auto; width: 800px; padding-right: 150px; } .bio-sidebar{ float: left; padding-right: 26px; font-size: 14px; img{ .shadow-border; background-color: #fff; padding: 10px; } .bio-name{ padding-left: 10px; padding-top: 20px; font-weight: bold; } .bio-contact{ padding-top: 5px; padding-left: 10px; } } .bio-text{ float: left; max-width: 600px; p{ line-height: 30px; padding-bottom: 30px; &:first-of-type{ font-size: 26px; line-height: 34px; } } } } .entrepeneurs-text p{ line-height: 30px; padding-bottom: 30px; font-size: 16px !important; } ul.newton-feed{ float: right; padding-top: 45px; list-style: none; li{ margin-bottom: 30px; } span{ opacity: .3; font-size: 10px; background: url('./images/arrow_blk.png') no-repeat left center; padding-left: 18px; } } .careers{ margin-bottom: @padding; h2{ margin-bottom: 0px; margin-top: 10px; padding-top: 0px; } p{ max-width: 550px; line-height: 24px; padding : 0.5em; } img{ margin-top: 20px; max-width: 550px; height: auto; /* border: 10px solid #fff; .box-shadow(0px, 1px, 2px, #BBB);*/ .shadow-border; background-color: #fff; padding: 10px; } } #listing-image{ max-width: 400px; height: auto; float: right; /* border: 10px solid #fff; .box-shadow(0px, 1px, 2px, #BBB);*/ .shadow-border; background-color: #fff; padding: 10px; margin: auto; display: block; margin-bottom: 50px; } #gnewtonIframe{ width: 500px; } .people-footer{ background-color: ; background: @offWhite url('./images/binky_md.png') no-repeat right center; min-height: 60px; padding: 50px; font-weight: bold; line-height: 20px; margin: @padding 0; #footer-text{ width: 200px; float: right; .project-link-wht, .project-link-blk{ font-size: 12px; padding: 10px 0px 10px 25px; background-position: left 15px; /* margin-left: -24px;*/ float: left; } } } .fund{ min-height: 200px; .left{ float: left; max-width: 350px; h2 { line-height: 35px; } } .right{ float:right; max-width:400px; margin-right:150px; .description{ float: left; line-height: 26px; margin-bottom: 20px; width: 490px; } } div.footnote{ /*display: none;*/ /*visibility: hidden;*/ display: inline-table; font-size: 11px; margin-bottom: 10px; margin-left: 16px; min-height: 100px; width: 100%; p { display: inline; font-size:13px; a{ border-bottom:1px dotted; &:hover{ color: #000; } } } } .reference-footnote{ font-size: 10px; /* line-height: 8px;*/ font-weight: bold; margin-left: -15px; padding-right: 10px; display: inline-block; text-align: left; vertical-align: top; } } .fund-slider{ min-height:300px; padding:0; .slider-title { font-size: 16px; font-weight: normal; padding-bottom: 15px; padding-left: 180px; padding-top: 15px; } #container { position: relative; overflow: hidden; width: 100% !important; min-height: 500px !important; } .element{ min-height: 635px; position: absolute; width:100%; z-index: 99; } .notransition { -webkit-transition-duration: 0s !important; -moz-transition-duration: 0s !important; -ms-transition-duration: 0s !important; -o-transition-duration: 0s !important; transition-duration: 0s !important; } .transition{ -webkit-transition: all 800ms ease-in-out; -moz-transition: all 800ms ease-in-out; -o-transition: all 800ms ease-in-out; -ms-transition: all 800ms ease-in-out; transition: all 800ms ease-in-out; } .element img { width: 100%; max-height: 800px; } #directions { position: absolute; top:40%; width: 100%; z-index: 9999; opacity: 0; img{ width:65px; } } #directions #scrollLeft{ position: absolute; cursor: pointer; left:0; } #directions #scrollRight{ position: absolute; cursor: pointer; right:0; } .bottom{ display: inline-block; margin: 80px 0 0 13%; min-height: 400px; position: relative; width: 75%; .bottomElem { float: left; max-width: 250px; position: absolute; } .title{ font-size: 18px; font-weight: 500; left: 0; line-height: 25px; } .logo { left:40%; } .logo img { width:269px; } .link { float: right; padding-top: 15px; position: absolute; right: 0; } } .lessopacity{ opacity: .4; } } .wrap-work { position: relative; width: 100%; .row-work { width:100%; height:100px; margin-bottom: 20px; .work { float:left; min-height: 250px; position: relative; width: 482px; overflow: hidden; img { position: absolute; right: -128px; top: -100px; width: auto; z-index:1; } .project-summary { position: absolute; width: 190px; float: left; line-height: 26px; z-index: 9999; h2 { line-height: 34px; padding-top: 50px; } } } } } .work-content .page-section{ cursor: pointer; margin-bottom: @padding; .project-link-wht, .project-link-blk{ margin-top: 8px; div.active { border-bottom: 2px solid; } } .project-link-wht div, .project-link-blk div{ border-bottom: 0; } }