/* * Critical Pixel * File : Main.less * Author : Thomas Horvath * Notes : LESS STRUCTURE * www.criticalpixel.com */ /* * ==== CONTENTS ==== * Vars and Mixins * Layout * Styling * Misc */ /* === Vars and Mixins === */ .cent { margin:0 auto; float: none; display: inherit; } /* === Layout === */ .logo { margin: 20px auto; } .slider { } .carousel-inner img { width:100%; } .intro, .portfolio, .services, .contact { padding-top:80px; padding-bottom: 80px; } .portfolio, .contact { background:#f3f3f3; border-top: 1px solid #e6e6e6; border-bottom: 1px solid #e6e6e6; } .infotext { font-size:30px; line-height: 34px; text-align: center; } footer { padding:10px 0px; } .contact { input { width:98%; height:35px; } textarea { width:98%; height:150px; border:1px solid #CCC !important; } input[type="submit"] { background:#fff !important; height:45px !important; border:1px solid #CCC !important; width:145px !important; margin-top:-5px; font-size:18px; } } footer { font-size:14px; } .criticalpixel { text-align:right; width:60px; height:35px; background: url(../img/criticalpixel_off.png) no-repeat; } .criticalpixel:hover { background: url(../img/criticalpixel.png) no-repeat; } /* === Styling === */ .heading { border-bottom: 1px solid #d8d8d8; margin-bottom:10px; padding-bottom:30px; text-align: center; } .portfolio { li { float:left; margin-right:12px; margin-bottom:12px; font-size:17.5px; } li a { padding:3px 6px; } ul { padding-bottom:30px; } i { margin-top:3px; } a { color: #333; } } .nav li a:hover { padding:3px 6px; background:#fff; } .services { li { float:left; margin-right:10px; font-size:17.5px; } li a { padding:3px 6px; } li a:hover { padding:3px 6px; background:#F3F3F3 !important; } ul { padding-bottom:30px; } i { margin-top:3px; } a { color: #333; } } .whitemenu { li { float:left; margin-right:10px; font-size:17.5px; } li a { padding:3px 6px; } li a:hover { padding:3px 6px; background:#ffffff !important; text-decoration: none !important; } ul { padding-bottom:30px; } i { margin-top:3px; } a { color: #333; } } .contact { .span12 { margin-bottom:20px; } } /* === Misc === */ /*Social Icons*/ .social { ul { margin:0px; padding:0px; } li { margin-top:-5px; float:left; position:relative; display:block; list-style:none; } margin-left:293px; } .socicon { width:45px; height:45px; opacity:0.5; -webkit-opacity:0.5; -moz-opacity:0.5; padding-right:14px; float:left; } .socicon:hover { opacity:1; -webkit-opacity:1; -moz-opacity:1; } .clear { clear: both; } /* Large desktop */ @media (min-width: 1200px) { #portfolio-wrapper { width: 960px; margin: 0 auto; } } /* Portrait tablet to landscape and desktop */ @media (min-width: 768px) and (max-width: 979px) { .carousel-caption { margin-top:-100px; h1 { font-size:20px; line-height: 20px; } h3 { font-size:20px; } } .space { height: 0px; } #portfolio-list { width: 624px; margin: 0 auto; } .social { margin-left: 153px; } footer { .span9 { width:476px !important; } } } /* Landscape phone to portrait tablet */ @media (max-width: 767px) { body { padding: 0px !important; } .container { padding-left:20px; padding-right: 20px; } .span9 { width:476px !important; } .carousel-caption { margin-top:-100px; h1 { font-size:20px; line-height: 20px; } h3 { font-size:20px; } } .space { height: 0px; } .logo { width: 220px; } } /* Landscape phones and down */ @media (max-width: 480px) { body { padding: 0px !important; } .container { padding-left:20px; padding-right: 20px; } .carousel-caption { margin-top:25px; position:inherit; h1 { font-size:18px; line-height: 20px; } h3 { font-size:14px; } } .space { height: 0px; } .logo { width: 220px; } .social { margin-left:0px; } h1 { font-size:40px; } .infotext { font-size:22px; } .nav { padding-bottom: 80px; } .wpcf7-submit { margin-top:10px; } footer { .span9 { width:auto !important; } } .portfolio-item { margin-right: 0px; margin-left: -10px; } }