emacs-config/misc/org-css/_normalize.scss

156 lines
2.7 KiB
SCSS

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
// * Document *
// 1. Correct the line height in all browsers.
// 2. Prevent adjustments of font size after orientation changes in iOS.
html {
line-height: 1.15; // 1
-webkit-text-size-adjust: 100%; // 2
}
// * Sections *
// Remove the margin in all browsers.
body {
margin: 0;
}
// Correct the font size and margin on `h1` elements within `section` and
// `article` contexts in Chrome, Firefox, and Safari.
h1 {
font-size: 2em;
margin: 0.67em 0;
}
// * Grouping content *
// Add the correct box sizing in Firefox.
hr {
box-sizing: content-box;
height: 0;
}
// 1. Correct the inheritance and scaling of font size in all browsers.
// 2. Correct the odd `em` font sizing in all browsers.
pre {
font-family: monospace, monospace; // 1
font-size: 1em; // 2
}
// * Text-level semantics *
// 1. Remove the bottom border in Chrome 57-
// 2. Add the correct text decoration in Chrome, Edge, Opera, and Safari.
// abbr[title] {
// border-bottom: none; // 1
// text-decoration: underline; // 2
// text-decoration: underline dotted; // 2
// }
// Add the correct font weight in Chrome, Edge, and Safari.
b {
font-weight: bolder;
}
// 1. Correct the inheritance and scaling of font size in all browsers.
// 2. Correct the odd `em` font sizing in all browsers.
code,
kbd,
samp {
font-family: monospace, monospace; // 1
font-size: 1em; // 2
}
// Add the correct font size in all browsers.
small {
font-size: 80%;
}
// Prevent `sub` and `sup` elements from affecting the line height in
// all browsers.
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sub {
bottom: -0.25em;
}
sup {
top: -0.5em;
}
// * Forms *
// 1. Change the font styles in all browsers.
// 2. Remove the margin in Firefox and Safari.
button,
input,
optgroup,
select,
textarea {
font-family: inherit; // 1
font-size: 100%; // 1
line-height: 1.15; // 1
margin: 0; // 2
}
// Remove the inheritance of text transform in Edge, and Firefox.
// 1. Remove the inheritance of text transform in Firefox.
button,
select { // 1
text-transform: none;
}
// Correct the inability to style clickable types in iOS and Safari.
button {
-webkit-appearance: button;
}
// Remove the inner border and padding in Firefox.
button::-moz-focus-inner {
border-style: none;
padding: 0;
}
// Restore the focus styles unset by the previous rule.
button:-moz-focusring {
outline: 1px dotted ButtonText;
}
// * Interactive *
// Add the correct display in Edge and Firefox.
details {
display: block;
}
// Add the correct display in all browsers.
summary {
display: list-item;
}
/*! end normalise.css */