// VEGAS MAP / LESS // VARIABLES @black: #333; @color: #ffda00; @z-index-ui: 20; @z-index-map: -10; @font-face { font-family: Liberator; src: url('../fonts/Liberator.otf'); font-weight: normal; } /* @font-face { font-family: 'Liberator'; src: url('../fonts/liberator-webfont.eot'); src: url('../fonts/liberator-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/liberator-webfont.woff') format('woff'), url('../fonts/liberator-webfont.ttf') format('truetype'), url('../fonts/liberator-webfont.svg#liberatorregular') format('svg'); font-weight: normal; font-style: normal; } */ // MIX INS .border-radius (@radius: 10px) { -webkit-border-radius: @radius; -moz-border-radius: @radius; -ms-border-radius: @radius; -o-border-radius: @radius; border-radius: @radius; -moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box; } .border-radii (@topright: 0, @bottomright: 0, @bottomleft: 0, @topleft: 0) { -webkit-border-top-right-radius: @topright; -webkit-border-bottom-right-radius: @bottomright; -webkit-border-bottom-left-radius: @bottomleft; -webkit-border-top-left-radius: @topleft; -moz-border-radius-topright: @topright; -moz-border-radius-bottomright: @bottomright; -moz-border-radius-bottomleft: @bottomleft; -moz-border-radius-topleft: @topleft; border-top-right-radius: @topright; border-bottom-right-radius: @bottomright; border-bottom-left-radius: @bottomleft; border-top-left-radius: @topleft; -moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box; } .border-box (@border: 10px solid #333) { -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */ -moz-box-sizing: border-box; /* Firefox, other Gecko */ box-sizing: border-box; border: @border; } .box-shadow (@string: 0 0 20px 10px rgba(0, 0 , 0, 0.20)) { -webkit-box-shadow: @string; -moz-box-shadow: @string; box-shadow: @string; } .opacity (@opacity: 0.5) { -webkit-opacity: @opacity; -moz-opacity: @opacity; opacity: @opacity; } .font { font-family: Liberator, Helvetica, Arial, sans-serif; font-size: 14px; color: @black; } .debug { border: 1px solid #f00; } // CSS body { background: #333; margin: 0; overflow: hidden; } #header { .border-radii(0, 10px, 10px, 0); .box-shadow; .font; background-color: @color; z-index: @z-index-ui; position: absolute; height: 260px; width: 200px; left: 120px; top: 10px; padding-left: 10px; padding-top: 85px; } h1 { color: #fff; font-family: Helvetica, sans-serif; font-size: 48px; padding: 0; margin: 0; } #logo, #footer { z-index: @z-index-ui; position: absolute; } #logo{ height: 305px; width: 355px; left: 100px; margin: 0 auto; background: url('../images/logo.png') no-repeat 0px 0px; } #map { position: absolute; width: 100%; height: 100%; z-index: @z-index-map; .border-box; } a { color: @black; text-decoration: none; } #footer { .border-radii(10px, 0, 0, 10px); .box-shadow; .font; background-color: @color; color: #888; padding: 8px 20px 16px; left: 160px; ul { margin: 0; padding: 0; display: inline; li { list-style: none; display: inline; } } } .social-link { height: 24px; width: 24px; display: inline-block; position: relative; top: 6px; margin-left: 4px; } #social-twitter { background: url('../images/social_icons.png') 0 0; } #social-facebook { background: url('../images/social_icons.png') -24px 0; }