/* Less Framework 4 with 16/24 type presets http://lessframework.com by Joni Korpi License: http://opensource.org/licenses/mit-license.php */ /* Resets ------ */ html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, hr, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figure, figcaption, hgroup, menu, footer, header, nav, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; } article, aside, canvas, figure, figure img, figcaption, hgroup, footer, header, nav, section, audio, video { display: block; } a img {border: 0;} /* Typography presets ------------------ */ .gigantic { font-size: 110px; line-height: 120px; letter-spacing: -2px; } .huge, h1 { font-size: 68px; line-height: 72px; letter-spacing: -1px; font-family: 'Droid Sans Mono', sans-serif; } .large, h2 { font-size: 26px; line-height: 30px; font-family: 'Droid Sans Mono', sans-serif; font-weight: normal; margin-bottom: 20px; } .bigger, h3 { font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; font-family: 'Droid Sans Mono', sans-serif; text-transform: uppercase; font-weight: normal; letter-spacing: 1px; } .big, h4 { font-size: 22px; line-height: 30px; font-family: 'Droid Sans Mono', sans-serif; } body { font: 16px/24px Georgia, serif; } .small, small { font-size: 13px; line-height: 18px; } /* Selection colours (easy to forget) */ ::selection {background: rgb(249,229,220);} ::-moz-selection {background: rgb(249,229,220);} img::selection {background: transparent;} img::-moz-selection {background: transparent;} body {-webkit-tap-highlight-color: rgb(255,255,158);} /* Default Layout: 970px. Gutters: 30px. Outer margins: 30px. Leftover space for scrollbars @1024px: 32px. ------------------------------------------------------------------------------- cols 1 2 3 4 5 6 7 8 9 10 px 70 170 270 370 470 570 670 770 870 970 */ body { width: 970px; padding: 0px 0px 80px 0px; background: rgb(249,246,236); color: rgb(0,0,0); -webkit-text-size-adjust: 100%; /* Stops Mobile Safari from auto-adjusting font-sizes */ margin: 0 auto; line-height: 20px; } a{ color: rgb(0, 0, 0); text-decoration: none; } header{ position: fixed; background: rgb(249,246,236); padding: 40px 0 0; height: 80px; z-index: 101; } p{ margin-bottom: 20px; } .element-invisible{ position: absolute !important; height: 1px; clip: rect(1px, 1px, 1px, 1px); overflow: hidden; } #logotipo{ width: 160px; margin-right: 30px; margin-top: 9px; margin-left: 10px; float: left; } h1#titulo{ font-size: 12px; line-height: 20px; font-style: normal; font-weight: normal; letter-spacing: 2px; width: 160px; margin-right: 30px; padding: 0 0 0 10px; float: left; } #language{ float: left; width: 170px; margin-right: 30px; } #language ul li{ float: left; padding: 0 10px; list-style: none; } #language a{ font-size: 12px; font-family: 'Droid Sans Mono', sans-serif; text-decoration: none; } #search{ width: 170px; height: 25px; border-bottom: 2px solid #000; float: left; } #search-block-form{ } #bloque-tools{ width: 570px; margin-right: 30px; float: left; border-top: 2px solid #000; padding: 8px 0 0 0; } #bloque-login{ width: 170px; float: left; border-top: 2px solid #000; } #white-space{ height: 240px; } #page{ clear: both; } #sidebar{ width: 170px; position: fixed; border-top: 2px solid #000; font-family: 'Droid Sans Mono', sans-serif; font-size: 12px; letter-spacing: 1px; z-index: 100; } #sidebar ul li{ list-style: none; height: 30px; border-bottom: 1px solid #000; padding: 9px 0 0 10px; } #sidebar a{ text-decoration: none; text-transform: uppercase; line-height: 20px; } #content{ width: 770px; padding-left: 200px; position: relative; } #featured{ border-top: 2px solid #000; width: 570px; position: absolute; top: 0; left: 200; } #featured h3{ margin-left: 10px; } #panel-info{ position: absolute; top: 0; left: 800px; width: 149px; border-left: 1px solid #000; padding: 5px 0 0 9px; font-family: 'Droid Sans Mono', sans-serif; line-height: 20px; font-size: 14px; height: 400px; } #panel-news{ position: absolute; top: 440px; left: 200px; width: 370px; } .panel-header{ border-top: 2px solid #000; border-bottom: 1px solid #000; } .panel-header h3{ margin-left: 10px; margin-bottom: 8px; margin-top: 8px; } #panel-first{ position: absolute; top: 440px; left: 600px; width: 170px; } #panel-second{ position: absolute; top: 440px; left: 800px; width: 170px; } .entry-header{ margin-left: 10px; margin-right: 10px; margin-bottom: 31px; margin-top: 9px; } .entry-header span{ font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; font-family: 'Droid Sans Mono', sans-serif; text-transform: uppercase; font-weight: normal; letter-spacing: 1px; } .event-title, .event-body, .cuadrado{ margin: 0 10px; } .medium-event, .small-event{ margin:0px; border-bottom: 1px solid #000; } .event-dates{ color: rgb(255, 0, 0); font-weight: bold; margin-bottom: 20px; margin-left: 10px; margin-right: 10px; } .cuadrado{ width: 16px; height: 16px; background-color: rgba(0, 0, 0,0.1); margin-bottom: 23px; } .small-event{ margin-top: 20px; } .small-event h2{ font-size: 16px; line-height: 20px; } .small-event .event-dates{ font-size: 12px; } .event-mini-picture{ margin-bottom: 20px; } .tweet{ font-family: 'Droid Sans', sans-serif; font-size: 12px; line-height: 15px; padding-bottom: 19px; margin-bottom: 20px; border-bottom: 1px solid #000; } .tweet-content{ margin: 20px 10px 0 10px; } .tweet-content a{ font-weight: bold; } .tweet-time, .tweet-actions{ color: rgb(148, 146, 123); margin: 0 10px; } .clear{ clear: both; } #footer{ position: absolute; top: auto; } /*___________________--------------------____________________________________*/ /* Default Layout: 1200px. Gutters: 30px. Outer margins: 0px. Leftover space for scrollbars @1024px: 32px. ------------------------------------------------------------------------------- cols 1 2 3 4 5 6 7 8 9 10 11 12 px 70 170 270 370 470 570 670 770 870 970 1070 1170 */ @media (min-width: 1200px) { body { width: 1170px; } #content{ width: 970px; } #panel-news{ position: absolute; top: 0px; left: 800px; width: 370px; } #panel-info{ top: 440px; left: 200px; } #panel-first{ left: 400px; top: 440px; } #panel-second{ left: 600px; top: 440px; } #bloque-login{ width: 370px; } } /* Tablet Layout: 768px. Gutters: 24px. Outer margins: 28px. Inherits styles from: Default Layout. ----------------------------------------------------------------- cols 1 2 3 4 5 6 7 8 px 68 160 252 344 436 528 620 712 */ @media only screen and (min-width: 768px) and (max-width: 991px) { body { width: 770px; } #bloque-tools{ margin-right: 0px; } #bloque-login{ clear: both; float: right; width: 170px; } #content{ width: 570px; } #panel-news{ position: relative; top: 440px; left: 0px; width: 370px; margin-bottom: 20px; } #panel-info{ top: 440px; left: 600px; } #panel-first{ position: relative; float: left; left: 0px; } #panel-second{ left: 30px; float: left; position: relative; } } /* Mobile Layout: 320px. Gutters: 24px. Outer margins: 34px. Inherits styles from: Default Layout. --------------------------------------------- cols 1 2 3 px 68 160 252 */ @media only screen and (max-width: 767px) { body { width: 252px; padding: 48px 34px 60px; } } /* Wide Mobile Layout: 480px. Gutters: 24px. Outer margins: 22px. Inherits styles from: Default Layout, Mobile Layout. ------------------------------------------------------------ cols 1 2 3 4 5 px 68 160 252 344 436 */ @media only screen and (min-width: 480px) and (max-width: 767px) { body { width: 436px; padding: 36px 22px 48px; } } /* Retina media query. Overrides styles for devices with a device-pixel-ratio of 2+, such as iPhone 4. ----------------------------------------------- */ @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) { body { } }