1/** 2 * This file provides the basic vars and reset styles. 3 * 4 * @author Jana Deutschlaender <deutschlaender@cosmocode.de> 5 */ 6 7/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 8/* global vars */ 9/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 10 11 12/* + + + + + + + + + + + + + + + + + + + + + + + + + + */ 13/* fonts */ 14@line-height-default: 125%; 15@line-height-big: 135%; 16@line-height-bigger: 140%; 17 18 19/* + + + + + + + + + + + + + + + + + + + + + + + + + + */ 20/* breakpoints */ 21@break-min-xxs: 480; 22@break-max-xxs: (@break-min-xxs - 1); 23 24@break-min-xs: 768; 25@break-max-xs: (@break-min-xs - 1); 26 27@break-min-sm: 992; 28@break-max-sm: (@break-min-xs - 1); 29 30@break-min-md: 1024; 31@break-max-md: (@break-min-md - 1); 32 33@break-min-lg: 1200; 34@break-max-lg: (@break-min-lg - 1); 35 36@break-min-xlg: 1440; 37@break-max-xlg: (@break-min-xlg - 1); 38 39@break-min-xxlg: 1600; 40@break-max-xxlg: (@break-min-xlg - 1); 41 42 43/* + + + + + + + + + + + + + + + + + + + + + + + + + + */ 44/* media queries for breakpoints */ 45 46@screen_min-xxs: ~"only screen and (min-width: " ~"@{break-min-xxs}px)"; 47@screen_max-xxs: ~"only screen and (max-width: " ~"@{break-max-xxs}px)"; 48 49@screen_min-xs: ~"only screen and (min-width: " ~"@{break-min-xs}px)"; 50@screen_max-xs: ~"only screen and (max-width: " ~"@{break-max-xs}px)"; 51 52@screen_min-sm: ~"only screen and (min-width: " ~"@{break-min-sm}px)"; 53@screen_max-sm: ~"only screen and (max-width: " ~"@{break-max-sm}px)"; 54 55@screen_min-md: ~"only screen and (min-width: " ~"@{break-min-md}px)"; 56@screen_max-md: ~"only screen and (max-width: " ~"@{break-max-md}px)"; 57@screen_only-md: ~"only screen and (min-width: 800px) and (max-width: " ~"@{break-max-md}px)"; 58 59@screen_min-lg: ~"only screen and (min-width: " ~"@{break-min-lg}px)"; 60@screen_max-lg: ~"only screen and (max-width: " ~"@{break-max-lg}px)"; 61 62@screen_min-xlg: ~"only screen and (min-width: " ~"@{break-min-xlg}px)"; 63@screen_max-xlg: ~"only screen and (max-width: " ~"@{break-max-xlg}px)"; 64 65@screen_min-xxlg: ~"only screen and (min-width: " ~"@{break-min-xxlg}px)"; 66@screen_max-xxlg: ~"only screen and (max-width: " ~"@{break-max-xxlg}px)"; 67 68 69/* + + + + + + + + + + + + + + + + + + + + + + + + + + */ 70/* col width */ 71@c12: 100%; 72@c11: 91.66666667%; 73@c10: 83.33333333%; 74@c9: 75%; 75@c8: 66.66666667%; 76@c7: 58.33333333%; 77@c6: 50%; 78@c5: 41.66666667%; 79@c4: 33.33333333%; 80@c3: 25%; 81@c2: 16.66666667%; 82@c1: 8.33333333%; 83 84@grid-columns: 12; 85 86/* + + + + + + + + + + + + + + + + + + + + + + + + + + */ 87/* margin / padding */ 88@margin-big: 2.5rem; 89 90@border-radius: __default_border_radius__; 91 92 93 94@color-border: __border__; 95@color-nav: __nav_menu_color__; 96@color-nav-hover: __nav_menu_hover_color__; 97@color-nav-hover-bg:__nav_menu_hover_bg__; 98 99@color-content-bg: __background_content__; 100@color-site-bg: __background_site__; 101 102@color-link: __existing__; 103 104@height-context-bar: 50px; 105 106@box-shadow-offset: __box_shadow_offset__; 107@box-shadow: __box_shadow__; 108@box-shadow-colored:__box_shadow_colored__; 109 110/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 111/* all media */ 112/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 113html, body{ 114 font-size: 100.1%; 115 .reset(); 116} 117 118header, .nav-direct{ 119 .elementsReset(); 120} 121 122 123 124div, span, object, 125h1, h2, h3, h4, h5, h6, p, blockquote, 126a, abbr, em,acronym, img, strong, 127dl, dt, dd, ol, ul, li, 128fieldset, form, label, legend, 129table, caption, tbody, tfoot, thead, tr, th, td, 130input, select, option, textarea, button{ 131 font-size: 1rem; line-height: 100%; 132} 133 134 135ol, ul{ list-style: none outside none; } 136blockquote, q{ quotes: none; } 137acronym{ cursor: help; border-bottom: dotted 1px #333; } 138 139*:focus{ outline: 0; } 140 141table{ border-collapse: collapse; border-spacing: 0; empty-cells: show; caption-side: top; } 142caption, th, td{ text-align: left; vertical-align: top; } 143 144img{ display: block; float: none; border: none 0; line-height: @line-height-default; } 145 146*, div, nav, header{ 147 box-sizing: border-box; 148} 149 150header, footer, .container, .row, nav, nav > ul{ 151 &::before, &::after{ 152 display: table; 153 content: " "; 154 clear: both; 155 } 156} 157 158 159 160.sr-out { 161 .sr-out(); 162} 163 164.sr-only { 165 .sr-only(); 166} 167 168.structure, .none, .mobile-only { 169 display: none; 170} 171 172.mobile-only { 173 display: none; 174 175 @media @screen_max-xs { 176 display: inline-block; 177 } 178} 179 180.mobile-hide { 181 display: inline-block; 182 183 @media @screen_max-xs { 184 display: none; 185 } 186} 187 188 189 190/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 191/* screen only */ 192/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 193 194@media screen{ 195 196 html { 197 -ms-text-size-adjust: 100%; 198 -webkit-text-size-adjust: 100%; 199 } 200 201 article, aside, details, figcaption, figure, footer, header, 202 main, menu, nav, section, summary { 203 display: block; 204 } 205 206 audio, canvas, progress, video { 207 display: inline-block; 208 vertical-align: baseline; 209 } 210 211 audio:not([controls]) { 212 display: none; 213 height: 0; 214 } 215 216 [hidden], 217 template { 218 display: none; 219 } 220 221 a:active, 222 a:hover { 223 outline: 0; 224 } 225 226 abbr[title] { 227 border-bottom: 1px dotted; 228 } 229 230 small { 231 font-size: 80%; 232 } 233 234 sub, 235 sup { 236 font-size: 75%; 237 line-height: 0; 238 position: relative; 239 vertical-align: baseline; 240 } 241 242 sup { 243 top: -0.5em; 244 } 245 246 sub { 247 bottom: -0.25em; 248 } 249 250 svg:not(:root) { 251 overflow: hidden; 252 } 253 254 hr { 255 box-sizing: content-box; 256 height: 0; 257 } 258 pre { 259 overflow: auto; 260 } 261 code, 262 kbd, 263 pre, 264 samp { 265 font-family: monospace, monospace; 266 font-size: 1em; 267 } 268 269 button, 270 input, 271 optgroup, 272 select, 273 textarea { 274 color: inherit; 275 font: inherit; 276 margin: 0; 277 } 278 button { 279 overflow: visible; 280 } 281 282 button, 283 select { 284 text-transform: none; 285 } 286 287 input[type="checkbox"], 288 input[type="radio"] { 289 box-sizing: border-box; 290 padding: 0; 291 } 292 293 input[type="number"]::-webkit-inner-spin-button, 294 input[type="number"]::-webkit-outer-spin-button { 295 height: auto; 296 } 297 298 input[type="search"] { 299 -webkit-appearance: textfield; 300 box-sizing: content-box; 301 } 302 303 input[type="search"]::-webkit-search-cancel-button, 304 input[type="search"]::-webkit-search-decoration { 305 -webkit-appearance: none; 306 } 307 legend { 308 border: 0; 309 padding: 0; 310 } 311 textarea { 312 overflow: auto; 313 } 314 table { 315 border-collapse: collapse; 316 border-spacing: 0; 317 } 318 319 td, 320 th { 321 padding: 0; 322 } 323 324 html, body, div, span, applet, object, iframe, 325 h1, h2, h3, h4, h5, h6, p, blockquote, 326 a, abbr, acronym, address, big, cite, del, dfn, em, img, ins, kbd, q, s, samp, 327 small, strike, strong, sub, sup, tt, var, 328 b, u, i, center, 329 dl, dt, dd, ol, ul, li, 330 fieldset, form, label, legend, 331 table, caption, tbody, tfoot, thead, tr, th, td, 332 article, aside, canvas, details, embed, 333 figure, figcaption, footer, header, 334 menu, nav, output, ruby, section, summary, 335 time, mark, audio, video { 336 font-family: __font_family_screen__; 337 color: @ini_text; 338 } 339 340} 341 342/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 343/* print only */ 344/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 345@media print{ 346 body{ 347 font-size: 12pt; 348 } 349} 350