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} 276 277// input[type="checkbox"] { 278// margin-left: 10px; 279// width: 16px; 280// height: 16px; 281// align-self: center; 282// } 283input[type="checkbox"], 284input[type="radio"] { 285 box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */ 286 padding: 0; /* Addresses excess padding in IE8/9 */ 287 width: 16px !important; 288 height: 16px !important; 289} 290input[type="search"] { 291 -webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */ 292 -webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */ 293 -moz-box-sizing: content-box; 294 box-sizing: content-box; 295} 296input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */ 297 -webkit-appearance: none; 298} 299button::-moz-focus-inner, 300input::-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/ */ 301 border: 0; 302 padding: 0; 303} 304select, 305input:not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]), 306textarea { 307 width: 100%; 308 height: 40px; 309 padding: 5px 10px; 310 background: transparent; 311 color: @ini_text; 312 border: 5px solid @ini_background_alt; 313 font-size: 14px; 314 line-height: 1.43; 315 -webkit-box-sizing: border-box; 316 -moz-box-sizing: border-box; 317 box-sizing: border-box; 318 -webkit-appearance: none; 319 transition: all 0.5s ease; 320} 321table { 322 select, 323 input:not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]), 324 textarea { 325 border: 5px solid @ini_background_neu; 326 } 327} 328select:focus, 329input:not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]):focus, 330textarea:focus { 331 outline: none; 332 border: 5px solid @ini_theme_color; 333} 334textarea { 335 overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */ 336 vertical-align: top; /* Improves readability and alignment in all browsers */ 337 height: auto; 338} 339::-webkit-input-placeholder { 340 color: @ini_text; 341} 342:-moz-placeholder { 343 color: @ini_text; 344} 345::-moz-placeholder { 346 color: @ini_text; 347} 348:-ms-input-placeholder { 349 color: @ini_text; 350} 351 352button, 353select, 354input:not([type="checkbox"]):not([type="radio"]), 355textarea { 356 -webkit-border-radius: 20px; 357 -moz-border-radius: 20px; 358 border-radius: 20px; 359} 360 361/* Links */ 362a { 363 color: @ini_theme_color; 364} 365a:hover, 366a:focus, 367a:active { 368 color: @ini_theme_color_alt; 369} 370 371/* Transition */ 372a:not(#writr__sidebar-toggle), 373select, 374input, 375.site-title a, 376.site-info a, 377.main-navigation a { 378 transition: all 0.25s ease-in-out; 379} 380 381/* removing images of external links */ 382a.urlextern { 383 background-image: none!important; 384 padding: 0px!important; 385} 386 387/* Alignment */ 388.medialeft { 389 display: inline; 390 float: left; 391 margin: 0 20px 20px 0; 392} 393.mediaright { 394 display: inline; 395 float: right; 396 margin: 0 0 20px 20px; 397} 398.mediacenter { 399 clear: both; 400 display: block; 401 margin: 0 auto 20px auto; 402} 403 404/* Clearing */ 405.clear:before, 406.clear:after, 407.site-header:before, 408.site-header:after, 409.site-content:before, 410.site-content:after, 411.site-footer:before, 412.site-footer:after, 413.widget:before, 414.widget:after { 415 content: ''; 416 display: table; 417} 418 419.clear:after, 420.site-header:after, 421.site-content:after, 422.site-footer:after, 423.widget:after { 424 clear: both; 425} 426