Last active
February 6, 2018 05:47
-
-
Save FredSRocha/8c6119f5816df1378e10b1718c390e1b to your computer and use it in GitHub Desktop.
Reset CSS based on Normalize.css with some steroids.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* FSR Reset CSS - Based on Normalize.css (https://necolas.github.io/normalize.css/) with some steroids. | |
* Gist: https://gist.github.com/fredsrocha/8c6119f5816df1378e10b1718c390e1b | |
* @fredsrocha (https://github.com/fredsrocha/) | |
*/ | |
@charset "UTF-8";html {-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;}article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary {display: block;}figure {margin: 1em 40px;}summary {display: list-item;}h1 {font-size: 2em;margin: .67em 0;}hr {-webkit-box-sizing: content-box;box-sizing: content-box;height: 0;overflow: visible;}a {background-color: transparent;-webkit-text-decoration-skip: objects;}abbr[data-original-title], abbr[title], dfn[title] {cursor: help;border-bottom: 1px dotted #818a91;}b, strong {font-weight: inherit;}b, strong {font-weight: bolder;}dfn {font-style: italic;}mark {background-color: #ff0;color: #000;}small {font-size: 80%;}sub, sup {font-size: 75%;line-height: 0;position: relative;vertical-align: baseline;}sub {bottom: -.25em;}sup {top: -.5em;}q {quotes: "“" "”" "‘" "’";}q:before {content: open-quote;}q:after {content: close-quote;}audio, video {display: inline-block;}audio:not([controls]) {display: none;height: 0;}img {border-style: none;}svg:not(:root) {overflow: hidden;}canvas {display: inline-block;}[data-hidden], [data-hidden=true], [hidden], [hidden=true], template {display: none;}button, input, optgroup, select, textarea {font: inherit;margin: 0;}optgroup {font-weight: 700;}button, input, select {overflow: visible;}button, select {text-transform: none;}select {cursor: pointer;}button, html [type=button], [type=reset], [type=submit] {-webkit-appearance: button;}button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner {border-style: none;padding: 0;}button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring {outline: 1px dotted ButtonText;}[disabled] {cursor: default;}fieldset {border: 1px solid #c0c0c0;margin: 0 2px;padding: .35em .625em .75em;}legend {-webkit-box-sizing: border-box;box-sizing: border-box;color: inherit;display: table;max-width: 100%;padding: 0;white-space: normal;}progress {display: inline-block;vertical-align: baseline;}textarea {overflow: auto;}input[type], [contenteditable] {user-select: text;}[type=checkbox], [type=radio] {-webkit-box-sizing: border-box;box-sizing: border-box;padding: 0;}[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button {height: auto;}[type=search] {-webkit-appearance: textfield;outline-offset: -2px;}[type=search]::-webkit-search-cancel-button, [type=search]::-webkit-search-decoration {-webkit-appearance: none;}::-webkit-file-upload-button {-webkit-appearance: button;font: inherit;}html {font-size: 16px;-webkit-box-sizing: border-box;box-sizing: border-box;-ms-overflow-style: scrollbar;-webkit-tap-highlight-color: rgba(0, 0, 0, 0);}*, ::after, ::before {-webkit-box-sizing: inherit;box-sizing: inherit;}@-ms-viewport {width: device-width;}body {background-color: #fff;color: #333333;font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;font-size: 1rem;font-weight: 400;line-height: 1.5;margin: 0;padding: 0;}[tabindex="-1"]:focus {outline: none !important;}*[tabindex]:focus {outline: thick solid yellow;}code, kbd, pre, samp {font-family: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;font-size: 1em;}address {margin-bottom: 1rem;font-style: normal;line-height: inherit;}dl, ol, ul {margin-top: 0;margin-bottom: 1rem;}ol ol, ol ul, ul ol, ul ul {margin-bottom: 0;}dt {font-weight: 700;}dd {margin-bottom: .5rem;margin-left: 0;}blockquote {margin: 0 0 1rem;}a {color: #1976d2;text-decoration: none;}a:focus, a:hover, a:active {text-decoration: underline;}a:visited {color: #7a55d1;}a:not([href]):not([tabindex]) {color: inherit;text-decoration: none;}a:not([href]):not([tabindex]):focus, a:not([href]):not([tabindex]):not([href]):not([tabindex]):hover {color: inherit;text-decoration: none;}pre {margin-top: 0;margin-bottom: 1rem;overflow: auto;}figure {margin: 0 0 1rem;}img {vertical-align: middle;}[data-role=button], [role=button] {cursor: pointer;}[data-role=button], [role=button], a, area, button, input, label, select, summary, textarea {-ms-touch-action: manipulation;touch-action: manipulation;}table {border-collapse: collapse;background-color: transparent;}caption {padding-top: 0.75rem;padding-bottom: 0.75rem;color: #616161;text-align: left;caption-side: bottom;}th {text-align: left;}label {display: inline-block;margin-bottom: .5rem;}button:focus {outline: 1px dotted;outline: 5px auto -webkit-focus-ring-color;}button, input, select, textarea {line-height: inherit;}input[type=checkbox]:disabled, input[type=radio]:disabled {cursor: not-allowed;}input[type=date], input[type=time], input[type=datetime-local], input[type=month] {-webkit-appearance: listbox;}textarea {resize: vertical;}fieldset {min-width: 0;padding: 0;margin: 0;border: 0;}legend {display: block;width: 100%;padding: 0;margin-bottom: .5rem;font-size: 1.5rem;line-height: inherit;}input[type=number] {-moz-appearance: textfield;}input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {-webkit-appearance: none;margin: 0;}input[type=search] {-webkit-appearance: none;}input::-ms-clear {display: none;}output {display: inline-block;}::-moz-selection {background: #3297fd;color: #fff;text-shadow: none;}::selection {background: #3297fd;color: #fff;text-shadow: none;}@media print {*, ::after, ::before, ::first-letter, ::first-line {text-shadow: none !important;-webkit-box-shadow: none !important;box-shadow: none !important;}[aria-hidden=true] {display: none;}body {text-shadow: none;}q:before {content: "“";}q:after {content: " (" attr(cite) ")”";}a, a:visited {color: inherit;text-decoration: none;}abbr[title]::after {content: " (" attr(title) ")";}input, button, textarea, select, pre {border: none;border: 1px solid #999;page-break-inside: avoid;}blockquote {border: none;}textarea {overflow: hidden;}thead {display: table-header-group;}img, tr {page-break-inside: avoid;}h2, h3, p {orphans: 3;widows: 3;}h2, h3 {page-break-after: avoid;}.fr1-ic[title]::after {content: " (" attr(title) ")";}.no-print, .no-print * {display: none;}.print {display: block;}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment