angelovcom.net

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

_normalize.scss (5986B)


      1 /*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */
      2 
      3 /* Document
      4 	 ========================================================================== */
      5 
      6 /**
      7  * 1. Correct the line height in all browsers.
      8  * 2. Prevent adjustments of font size after orientation changes in iOS.
      9  */
     10 
     11 html {
     12 	line-height: 1.15; /* 1 */
     13 	-webkit-text-size-adjust: 100%; /* 2 */
     14 }
     15 
     16 /* Sections
     17 	 ========================================================================== */
     18 
     19 /**
     20  * Remove the margin in all browsers.
     21  */
     22 
     23 body {
     24 	margin: 0;
     25 }
     26 
     27 /**
     28  * Correct the font size and margin on `h1` elements within `section` and
     29  * `article` contexts in Chrome, Firefox, and Safari.
     30  */
     31 
     32 h1 {
     33 	font-size: 2em;
     34 	margin: 0.67em 0;
     35 }
     36 
     37 /* Grouping content
     38 	 ========================================================================== */
     39 
     40 /**
     41  * 1. Add the correct box sizing in Firefox.
     42  * 2. Show the overflow in Edge and IE.
     43  */
     44 
     45 hr {
     46 	box-sizing: content-box; /* 1 */
     47 	height: 0; /* 1 */
     48 	overflow: visible; /* 2 */
     49 }
     50 
     51 /**
     52  * 1. Correct the inheritance and scaling of font size in all browsers.
     53  * 2. Correct the odd `em` font sizing in all browsers.
     54  */
     55 
     56 pre {
     57 	font-family: monospace, monospace; /* 1 */
     58 	font-size: 1em; /* 2 */
     59 }
     60 
     61 /* Text-level semantics
     62 	 ========================================================================== */
     63 
     64 /**
     65  * Remove the gray background on active links in IE 10.
     66  */
     67 
     68 a {
     69 	background-color: transparent;
     70 }
     71 
     72 /**
     73  * 1. Remove the bottom border in Chrome 57-
     74  * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
     75  */
     76 
     77 abbr[title] {
     78 	border-bottom: none; /* 1 */
     79 	text-decoration: underline; /* 2 */
     80 	text-decoration: underline dotted; /* 2 */
     81 }
     82 
     83 /**
     84  * Add the correct font weight in Chrome, Edge, and Safari.
     85  */
     86 
     87 b,
     88 strong {
     89 	font-weight: bolder;
     90 }
     91 
     92 /**
     93  * 1. Correct the inheritance and scaling of font size in all browsers.
     94  * 2. Correct the odd `em` font sizing in all browsers.
     95  */
     96 
     97 code,
     98 kbd,
     99 samp {
    100 	font-family: monospace, monospace; /* 1 */
    101 	font-size: 1em; /* 2 */
    102 }
    103 
    104 /**
    105  * Add the correct font size in all browsers.
    106  */
    107 
    108 small {
    109 	font-size: 80%;
    110 }
    111 
    112 /**
    113  * Prevent `sub` and `sup` elements from affecting the line height in
    114  * all browsers.
    115  */
    116 
    117 sub,
    118 sup {
    119 	font-size: 75%;
    120 	line-height: 0;
    121 	position: relative;
    122 	vertical-align: baseline;
    123 }
    124 
    125 sub {
    126 	bottom: -0.25em;
    127 }
    128 
    129 sup {
    130 	top: -0.5em;
    131 }
    132 
    133 /* Embedded content
    134 	 ========================================================================== */
    135 
    136 /**
    137  * Remove the border on images inside links in IE 10.
    138  */
    139 
    140 img {
    141 	border-style: none;
    142 }
    143 
    144 /* Forms
    145 	 ========================================================================== */
    146 
    147 /**
    148  * 1. Change the font styles in all browsers.
    149  * 2. Remove the margin in Firefox and Safari.
    150  */
    151 
    152 button,
    153 input,
    154 optgroup,
    155 select,
    156 textarea {
    157 	font-family: inherit; /* 1 */
    158 	font-size: 100%; /* 1 */
    159 	line-height: 1.15; /* 1 */
    160 	margin: 0; /* 2 */
    161 }
    162 
    163 /**
    164  * Show the overflow in IE.
    165  * 1. Show the overflow in Edge.
    166  */
    167 
    168 button,
    169 input { /* 1 */
    170 	overflow: visible;
    171 }
    172 
    173 /**
    174  * Remove the inheritance of text transform in Edge, Firefox, and IE.
    175  * 1. Remove the inheritance of text transform in Firefox.
    176  */
    177 
    178 button,
    179 select { /* 1 */
    180 	text-transform: none;
    181 }
    182 
    183 /**
    184  * Correct the inability to style clickable types in iOS and Safari.
    185  */
    186 
    187 button,
    188 [type="button"],
    189 [type="reset"],
    190 [type="submit"] {
    191 	-webkit-appearance: button;
    192 }
    193 
    194 /**
    195  * Remove the inner border and padding in Firefox.
    196  */
    197 
    198 button::-moz-focus-inner,
    199 [type="button"]::-moz-focus-inner,
    200 [type="reset"]::-moz-focus-inner,
    201 [type="submit"]::-moz-focus-inner {
    202 	border-style: none;
    203 	padding: 0;
    204 }
    205 
    206 /**
    207  * Restore the focus styles unset by the previous rule.
    208  */
    209 
    210 button:-moz-focusring,
    211 [type="button"]:-moz-focusring,
    212 [type="reset"]:-moz-focusring,
    213 [type="submit"]:-moz-focusring {
    214 	outline: 1px dotted ButtonText;
    215 }
    216 
    217 /**
    218  * Correct the padding in Firefox.
    219  */
    220 
    221 fieldset {
    222 	padding: 0.35em 0.75em 0.625em;
    223 }
    224 
    225 /**
    226  * 1. Correct the text wrapping in Edge and IE.
    227  * 2. Correct the color inheritance from `fieldset` elements in IE.
    228  * 3. Remove the padding so developers are not caught out when they zero out
    229  *		`fieldset` elements in all browsers.
    230  */
    231 
    232 legend {
    233 	box-sizing: border-box; /* 1 */
    234 	color: inherit; /* 2 */
    235 	display: table; /* 1 */
    236 	max-width: 100%; /* 1 */
    237 	padding: 0; /* 3 */
    238 	white-space: normal; /* 1 */
    239 }
    240 
    241 /**
    242  * Add the correct vertical alignment in Chrome, Firefox, and Opera.
    243  */
    244 
    245 progress {
    246 	vertical-align: baseline;
    247 }
    248 
    249 /**
    250  * Remove the default vertical scrollbar in IE 10+.
    251  */
    252 
    253 textarea {
    254 	overflow: auto;
    255 }
    256 
    257 /**
    258  * 1. Add the correct box sizing in IE 10.
    259  * 2. Remove the padding in IE 10.
    260  */
    261 
    262 [type="checkbox"],
    263 [type="radio"] {
    264 	box-sizing: border-box; /* 1 */
    265 	padding: 0; /* 2 */
    266 }
    267 
    268 /**
    269  * Correct the cursor style of increment and decrement buttons in Chrome.
    270  */
    271 
    272 [type="number"]::-webkit-inner-spin-button,
    273 [type="number"]::-webkit-outer-spin-button {
    274 	height: auto;
    275 }
    276 
    277 /**
    278  * 1. Correct the odd appearance in Chrome and Safari.
    279  * 2. Correct the outline style in Safari.
    280  */
    281 
    282 [type="search"] {
    283 	-webkit-appearance: textfield; /* 1 */
    284 	outline-offset: -2px; /* 2 */
    285 }
    286 
    287 /**
    288  * Remove the inner padding in Chrome and Safari on macOS.
    289  */
    290 
    291 [type="search"]::-webkit-search-decoration {
    292 	-webkit-appearance: none;
    293 }
    294 
    295 /**
    296  * 1. Correct the inability to style clickable types in iOS and Safari.
    297  * 2. Change font properties to `inherit` in Safari.
    298  */
    299 
    300 ::-webkit-file-upload-button {
    301 	-webkit-appearance: button; /* 1 */
    302 	font: inherit; /* 2 */
    303 }
    304 
    305 /* Interactive
    306 	 ========================================================================== */
    307 
    308 /*
    309  * Add the correct display in Edge, IE 10+, and Firefox.
    310  */
    311 
    312 details {
    313 	display: block;
    314 }
    315 
    316 /*
    317  * Add the correct display in all browsers.
    318  */
    319 
    320 summary {
    321 	display: list-item;
    322 }
    323 
    324 /* Misc
    325 	 ========================================================================== */
    326 
    327 /**
    328  * Add the correct display in IE 10+.
    329  */
    330 
    331 template {
    332 	display: none;
    333 }
    334 
    335 /**
    336  * Add the correct display in IE 10.
    337  */
    338 
    339 [hidden] {
    340 	display: none;
    341 }