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