1/* =Global 2----------------------------------------------- */ 3 4// Fixing width overflowing 5*, ::after, ::before { 6 box-sizing: border-box; 7} 8 9// Fixing fieldset display width overflowing 10fieldset { 11 min-width: 0; 12} 13 14body, 15button, 16input, 17select, 18textarea { 19 color: @ini_background; 20 font-family: @ini_font; 21 font-size: 16px; 22 line-height: 1.5; 23 border-width: 3px; 24} 25body.custom-background-size { 26 background-position: 0 0 !important; 27 background-repeat: no-repeat !important; 28 background-attachment: fixed !important; 29 -webkit-background-size: cover !important; 30 -moz-background-size: cover !important; 31 background-size: cover !important; 32} 33 34/* Headings */ 35h1, 36h2, 37h3, 38h4, 39h5, 40h6 { 41 clear: left; 42 margin: 0 0 20px; 43 color: @ini_text_alt; 44} 45h1 { 46 font-size: 32px; 47 line-height: 1.2; 48} 49h2 { 50 font-size: 24px; 51 line-height: 1.3; 52} 53h3 { 54 font-size: 22px; 55 line-height: 1.4; 56} 57h4 { 58 font-size: 18px; 59} 60h5 { 61 font-size: 16px; 62} 63h6 { 64 font-size: 14px; 65} 66hr { 67 background-color: @ini_background_alt; 68 border: 0; 69 height: 5px; 70 margin-bottom: 20px; 71} 72 73/* Text elements */ 74p { 75 margin-bottom: 20px; 76} 77ul, 78ol { 79 margin: 0 0 20px 0; 80} 81ul { 82 list-style: disc inside; 83} 84ol { 85 list-style: decimal inside; 86} 87li > ul, 88li > ol { 89 margin-bottom: 0; 90 margin-left: 20px; 91} 92li .li { 93 display: inline; 94} 95dt { 96 font-weight: bold; 97} 98dd { 99 margin: 0 20px 20px; 100} 101dl.code dd, 102dl.file dd { 103 margin-left: 0; 104} 105b, 106strong { 107 font-weight: bold; 108} 109dfn, 110cite, 111em, 112i { 113 font-style: italic; 114} 115cite { 116 color: @ini_theme_color; 117} 118blockquote { 119 padding: 0 0 0 20px; 120 border-left: 15px double @ini_background_alt; 121} 122blockquote > div.no { 123 display: block; 124 margin-bottom: 20px; 125} 126address { 127 margin: 0 0 20px; 128} 129pre { 130 overflow: auto; 131 padding: 20px; 132 margin-bottom: 20px; 133 max-width: 100%; 134 background: @ini_background_alt; 135 font: 15px/1.6 "Courier 10 Pitch", Courier, monospace; 136 direction: ltr; 137 unicode-bidi: bidi-override; 138 text-align: left; 139} 140code, 141kbd, 142tt, 143var { 144 font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; 145 color: #c7254e; 146} 147abbr, 148acronym { 149 border-bottom: 1px dotted; 150 cursor: help; 151 text-decoration: none; 152} 153mark, 154ins { 155 padding: 0 5px; 156 background: @ini_theme_color; 157 color: @ini_background; 158 text-decoration: none; 159} 160sup, 161sub { 162 font-size: 75%; 163 height: 0; 164 line-height: 0; 165 position: relative; 166 vertical-align: baseline; 167} 168sup { 169 bottom: 1ex; 170} 171sub { 172 top: .5ex; 173} 174small { 175 font-size: 75%; 176} 177big { 178 font-size: 125%; 179} 180figure { 181 margin: 0; 182} 183table { 184 margin: 0 0 20px; 185 width: 100%; 186 background: @ini_background_alt; 187} 188div.table { 189 overflow-x: auto; 190 margin-bottom: 20px; 191} 192div.table table { 193 margin-bottom: 0; 194} 195th { 196 background: @ini_background_neu; 197 font-weight: bold; 198} 199th, 200td { 201 padding: 10px; 202 border-bottom: 1px solid @ini_background_neu; 203} 204tr:last-of-type td { 205 border-bottom: none; 206} 207img { 208 margin: auto; 209 height: auto; /* Make sure images are scaled correctly. */ 210 max-width: 100%; /* Adhere to container width. */ 211} 212 213/* Video */ 214embed, 215iframe, 216object, 217video { 218 display: block; 219 max-width: 100%; 220 margin-bottom: 20px; 221} 222 223/* Forms */ 224button, 225input, 226select, 227textarea { 228 font-size: 100%; /* Corrects font size not being inherited in all browsers */ 229 margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */ 230 vertical-align: baseline; /* Improves appearance and consistency in all browsers */ 231 *vertical-align: middle; /* Improves appearance and consistency in all browsers */ 232} 233button, 234input { 235 line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */ 236} 237select { 238 width: 100%; 239 color: @ini_text_alt; 240} 241button, 242html input[type="button"], 243input[type="reset"], 244input[type="submit"] { 245 padding: 10px 20px; 246 border: none; 247 background: @ini_theme_color; 248 color: @ini_background; 249 font-size: 14px; 250 line-height: 1.5; 251 font-weight: bold; 252 text-transform: uppercase; 253 cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */ 254 -webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */ 255 -webkit-box-sizing: border-box; 256 -moz-box-sizing: border-box; 257 box-sizing: border-box; 258} 259button:hover, 260html input[type="button"]:hover, 261input[type="reset"]:hover, 262input[type="submit"]:hover, 263button:focus, 264html input[type="button"]:focus, 265input[type="reset"]:focus, 266input[type="submit"]:focus, 267button:active, 268html input[type="button"]:active, 269input[type="reset"]:active, 270input[type="submit"]:active { 271 background: @ini_theme_color_alt; 272} 273input[type="checkbox"], 274input[type="radio"] { 275 box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */ 276 padding: 0; /* Addresses excess padding in IE8/9 */ 277} 278input[type="search"] { 279 -webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */ 280 -webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */ 281 -moz-box-sizing: content-box; 282 box-sizing: content-box; 283} 284input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */ 285 -webkit-appearance: none; 286} 287button::-moz-focus-inner, 288input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */ 289 border: 0; 290 padding: 0; 291} 292select, 293input[type="text"], 294input[type="url"], 295input[type="email"], 296input[type="password"], 297input[type="search"], 298textarea { 299 width: 100%; 300 height: 40px; 301 padding: 5px 10px; 302 background: transparent; 303 color: @ini_text; 304 border: 5px solid @ini_background_alt; 305 font-size: 14px; 306 line-height: 1.43; 307 -webkit-box-sizing: border-box; 308 -moz-box-sizing: border-box; 309 box-sizing: border-box; 310 -webkit-appearance: none; 311} 312select:focus, 313input[type="text"]:focus, 314input[type="url"]:focus, 315input[type="email"]:focus, 316input[type="password"]:focus, 317input[type="search"]:focus, 318textarea:focus { 319 outline: none; 320 border-color: @ini_background_neu; 321} 322textarea { 323 overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */ 324 vertical-align: top; /* Improves readability and alignment in all browsers */ 325 height: auto; 326} 327::-webkit-input-placeholder { 328 color: @ini_text; 329} 330:-moz-placeholder { 331 color: @ini_text; 332} 333::-moz-placeholder { 334 color: @ini_text; 335} 336:-ms-input-placeholder { 337 color: @ini_text; 338} 339 340button, 341select, 342input[type="button"], 343input[type="reset"], 344input[type="submit"], 345input[type="text"], 346input[type="url"], 347input[type="email"], 348input[type="password"], 349input[type="search"], 350textarea { 351 -webkit-border-radius: 20px; 352 -moz-border-radius: 20px; 353 border-radius: 20px; 354} 355 356/* Links */ 357a { 358 color: @ini_theme_color; 359} 360a:hover, 361a:focus, 362a:active { 363 color: @ini_theme_color_alt; 364} 365 366/* Transition */ 367a:not(#writr__sidebar-toggle), 368select, 369input, 370.site-title a, 371.site-info a, 372.main-navigation a { 373 transition: all 0.25s ease-in-out; 374} 375 376/* removing images of external links */ 377a.urlextern { 378 background-image: none!important; 379 padding: 0px!important; 380} 381 382/* Alignment */ 383.medialeft { 384 display: inline; 385 float: left; 386 margin: 0 20px 20px 0; 387} 388.mediaright { 389 display: inline; 390 float: right; 391 margin: 0 0 20px 20px; 392} 393.mediacenter { 394 clear: both; 395 display: block; 396 margin: 0 auto 20px auto; 397} 398 399/* Clearing */ 400.clear:before, 401.clear:after, 402.site-header:before, 403.site-header:after, 404.site-content:before, 405.site-content:after, 406.site-footer:before, 407.site-footer:after, 408.widget:before, 409.widget:after { 410 content: ''; 411 display: table; 412} 413 414.clear:after, 415.site-header:after, 416.site-content:after, 417.site-footer:after, 418.widget:after { 419 clear: both; 420} 421