๐พ Archived View for source.community โบ jeffdecola โบ my-go-tools โบ blob โบ develop โบ docs โบ stylesheetโฆ captured on 2021-12-17 at 13:26:06. Gemini links have been rewritten to link to archived content
โก๏ธ Next capture (2022-01-08)
-=-=-=-=-=-=-
. ,-. ,-. . . ,-. ,-. ,-. ,-. ,-. ,-,-. ,-,-. . . ,-. . |- . . `-. | | | | | | |-' | | | | | | | | | | | | | | | | | `-' `-' `-^ ' `-' `-' :: `-' `-' ' ' ' ' ' ' `-^ ' ' ' `' `-| /| `-'
git clone https://source.community/jeffdecola/my-go-tools.git
View raw contents of /docs/stylesheets/normalise.css (develop)
โโโโโฎ 1โ /*! normalize.css v3.0.2 | MIT License | git.io/normalize */ 2โ 3โ /** 4โ * 1. Set default font family to sans-serif. 5โ * 2. Prevent iOS text size adjust after orientation change, without disabling 6โ * user zoom. 7โ */ 8โ 9โ html { 10โ font-family: sans-serif; /* 1 */ 11โ -ms-text-size-adjust: 100%; /* 2 */ 12โ -webkit-text-size-adjust: 100%; /* 2 */ 13โ } 14โ 15โ /** 16โ * Remove default margin. 17โ */ 18โ 19โ body { 20โ margin: 0; 21โ } 22โ 23โ /* HTML5 display definitions 24โ ========================================================================== */ 25โ 26โ /** 27โ * Correct `block` display not defined for any HTML5 element in IE 8/9. 28โ * Correct `block` display not defined for `details` or `summary` in IE 10/11 29โ * and Firefox. 30โ * Correct `block` display not defined for `main` in IE 11. 31โ */ 32โ 33โ article, 34โ aside, 35โ details, 36โ figcaption, 37โ figure, 38โ footer, 39โ header, 40โ hgroup, 41โ main, 42โ menu, 43โ nav, 44โ section, 45โ summary { 46โ display: block; 47โ } 48โ 49โ /** 50โ * 1. Correct `inline-block` display not defined in IE 8/9. 51โ * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera. 52โ */ 53โ 54โ audio, 55โ canvas, 56โ progress, 57โ video { 58โ display: inline-block; /* 1 */ 59โ vertical-align: baseline; /* 2 */ 60โ } 61โ 62โ /** 63โ * Prevent modern browsers from displaying `audio` without controls. 64โ * Remove excess height in iOS 5 devices. 65โ */ 66โ 67โ audio:not([controls]) { 68โ display: none; 69โ height: 0; 70โ } 71โ 72โ /** 73โ * Address `[hidden]` styling not present in IE 8/9/10. 74โ * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22. 75โ */ 76โ 77โ [hidden], 78โ template { 79โ display: none; 80โ } 81โ 82โ /* Links 83โ ========================================================================== */ 84โ 85โ /** 86โ * Remove the gray background color from active links in IE 10. 87โ */ 88โ 89โ a { 90โ background-color: transparent; 91โ } 92โ 93โ /** 94โ * Improve readability when focused and also mouse hovered in all browsers. 95โ */ 96โ 97โ a:active, 98โ a:hover { 99โ outline: 0; 100โ } 101โ 102โ /* Text-level semantics 103โ ========================================================================== */ 104โ 105โ /** 106โ * Address styling not present in IE 8/9/10/11, Safari, and Chrome. 107โ */ 108โ 109โ abbr[title] { 110โ border-bottom: 1px dotted; 111โ } 112โ 113โ /** 114โ * Address style set to `bolder` in Firefox 4+, Safari, and Chrome. 115โ */ 116โ 117โ b, 118โ strong { 119โ font-weight: bold; 120โ } 121โ 122โ /** 123โ * Address styling not present in Safari and Chrome. 124โ */ 125โ 126โ dfn { 127โ font-style: italic; 128โ } 129โ 130โ /** 131โ * Address variable `h1` font-size and margin within `section` and `article` 132โ * contexts in Firefox 4+, Safari, and Chrome. 133โ */ 134โ 135โ h1 { 136โ font-size: 2em; 137โ margin: 0.67em 0; 138โ } 139โ 140โ /** 141โ * Address styling not present in IE 8/9. 142โ */ 143โ 144โ mark { 145โ background: #ff0; 146โ color: #000; 147โ } 148โ 149โ /** 150โ * Address inconsistent and variable font size in all browsers. 151โ */ 152โ 153โ small { 154โ font-size: 80%; 155โ } 156โ 157โ /** 158โ * Prevent `sub` and `sup` affecting `line-height` in all browsers. 159โ */ 160โ 161โ sub, 162โ sup { 163โ font-size: 75%; 164โ line-height: 0; 165โ position: relative; 166โ vertical-align: baseline; 167โ } 168โ 169โ sup { 170โ top: -0.5em; 171โ } 172โ 173โ sub { 174โ bottom: -0.25em; 175โ } 176โ 177โ /* Embedded content 178โ ========================================================================== */ 179โ 180โ /** 181โ * Remove border when inside `a` element in IE 8/9/10. 182โ */ 183โ 184โ img { 185โ border: 0; 186โ } 187โ 188โ /** 189โ * Correct overflow not hidden in IE 9/10/11. 190โ */ 191โ 192โ svg:not(:root) { 193โ overflow: hidden; 194โ } 195โ 196โ /* Grouping content 197โ ========================================================================== */ 198โ 199โ /** 200โ * Address margin not present in IE 8/9 and Safari. 201โ */ 202โ 203โ figure { 204โ margin: 1em 40px; 205โ } 206โ 207โ /** 208โ * Address differences between Firefox and other browsers. 209โ */ 210โ 211โ hr { 212โ box-sizing: content-box; 213โ height: 0; 214โ } 215โ 216โ /** 217โ * Contain overflow in all browsers. 218โ */ 219โ 220โ pre { 221โ overflow: auto; 222โ } 223โ 224โ /** 225โ * Address odd `em`-unit font size rendering in all browsers. 226โ */ 227โ 228โ code, 229โ kbd, 230โ pre, 231โ samp { 232โ font-family: monospace, monospace; 233โ font-size: 1em; 234โ } 235โ 236โ /* Forms 237โ ========================================================================== */ 238โ 239โ /** 240โ * Known limitation: by default, Chrome and Safari on OS X allow very limited 241โ * styling of `select`, unless a `border` property is set. 242โ */ 243โ 244โ /** 245โ * 1. Correct color not being inherited. 246โ * Known issue: affects color of disabled elements. 247โ * 2. Correct font properties not being inherited. 248โ * 3. Address margins set differently in Firefox 4+, Safari, and Chrome. 249โ */ 250โ 251โ button, 252โ input, 253โ optgroup, 254โ select, 255โ textarea { 256โ color: inherit; /* 1 */ 257โ font: inherit; /* 2 */ 258โ margin: 0; /* 3 */ 259โ } 260โ 261โ /** 262โ * Address `overflow` set to `hidden` in IE 8/9/10/11. 263โ */ 264โ 265โ button { 266โ overflow: visible; 267โ } 268โ 269โ /** 270โ * Address inconsistent `text-transform` inheritance for `button` and `select`. 271โ * All other form control elements do not inherit `text-transform` values. 272โ * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera. 273โ * Correct `select` style inheritance in Firefox. 274โ */ 275โ 276โ button, 277โ select { 278โ text-transform: none; 279โ } 280โ 281โ /** 282โ * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` 283โ * and `video` controls. 284โ * 2. Correct inability to style clickable `input` types in iOS. 285โ * 3. Improve usability and consistency of cursor style between image-type 286โ * `input` and others. 287โ */ 288โ 289โ button, 290โ html input[type="button"], /* 1 */ 291โ input[type="reset"], 292โ input[type="submit"] { 293โ -webkit-appearance: button; /* 2 */ 294โ cursor: pointer; /* 3 */ 295โ } 296โ 297โ /** 298โ * Re-set default cursor for disabled elements. 299โ */ 300โ 301โ button[disabled], 302โ html input[disabled] { 303โ cursor: default; 304โ } 305โ 306โ /** 307โ * Remove inner padding and border in Firefox 4+. 308โ */ 309โ 310โ button::-moz-focus-inner, 311โ input::-moz-focus-inner { 312โ border: 0; 313โ padding: 0; 314โ } 315โ 316โ /** 317โ * Address Firefox 4+ setting `line-height` on `input` using `!important` in 318โ * the UA stylesheet. 319โ */ 320โ 321โ input { 322โ line-height: normal; 323โ } 324โ 325โ /** 326โ * It's recommended that you don't attempt to style these elements. 327โ * Firefox's implementation doesn't respect box-sizing, padding, or width. 328โ * 329โ * 1. Address box sizing set to `content-box` in IE 8/9/10. 330โ * 2. Remove excess padding in IE 8/9/10. 331โ */ 332โ 333โ input[type="checkbox"], 334โ input[type="radio"] { 335โ box-sizing: border-box; /* 1 */ 336โ padding: 0; /* 2 */ 337โ } 338โ 339โ /** 340โ * Fix the cursor style for Chrome's increment/decrement buttons. For certain 341โ * `font-size` values of the `input`, it causes the cursor style of the 342โ * decrement button to change from `default` to `text`. 343โ */ 344โ 345โ input[type="number"]::-webkit-inner-spin-button, 346โ input[type="number"]::-webkit-outer-spin-button { 347โ height: auto; 348โ } 349โ 350โ /** 351โ * 1. Address `appearance` set to `searchfield` in Safari and Chrome. 352โ * 2. Address `box-sizing` set to `border-box` in Safari and Chrome 353โ * (include `-moz` to future-proof). 354โ */ 355โ 356โ input[type="search"] { 357โ -webkit-appearance: textfield; /* 1 */ /* 2 */ 358โ box-sizing: content-box; 359โ } 360โ 361โ /** 362โ * Remove inner padding and search cancel button in Safari and Chrome on OS X. 363โ * Safari (but not Chrome) clips the cancel button when the search input has 364โ * padding (and `textfield` appearance). 365โ */ 366โ 367โ input[type="search"]::-webkit-search-cancel-button, 368โ input[type="search"]::-webkit-search-decoration { 369โ -webkit-appearance: none; 370โ } 371โ 372โ /** 373โ * Define consistent border, margin, and padding. 374โ */ 375โ 376โ fieldset { 377โ border: 1px solid #c0c0c0; 378โ margin: 0 2px; 379โ padding: 0.35em 0.625em 0.75em; 380โ } 381โ 382โ /** 383โ * 1. Correct `color` not being inherited in IE 8/9/10/11. 384โ * 2. Remove padding so people aren't caught out if they zero out fieldsets. 385โ */ 386โ 387โ legend { 388โ border: 0; /* 1 */ 389โ padding: 0; /* 2 */ 390โ } 391โ 392โ /** 393โ * Remove default vertical scrollbar in IE 8/9/10/11. 394โ */ 395โ 396โ textarea { 397โ overflow: auto; 398โ } 399โ 400โ /** 401โ * Don't inherit the `font-weight` (applied by a rule above). 402โ * NOTE: the default cannot safely be changed in Chrome and Safari on OS X. 403โ */ 404โ 405โ optgroup { 406โ font-weight: bold; 407โ } 408โ 409โ /* Tables 410โ ========================================================================== */ 411โ 412โ /** 413โ * Remove most spacing between table cells. 414โ */ 415โ 416โ table { 417โ border-collapse: collapse; 418โ border-spacing: 0; 419โ } 420โ 421โ td, 422โ th { 423โ padding: 0; 424โ } โโโโโฏ
ยท ยท ยท
ยฉ 2021 source.community