_reset.scss (2700B)
1 @if $scope-reset-css { 2 .#{$prefix}border-box .#{$prefix}reset, 3 .#{$prefix}border-box .#{$prefix}reset * { 4 box-sizing:border-box; 5 -moz-box-sizing:border-box; 6 -ms-box-sizing:border-box; 7 -webkit-box-sizing:border-box; 8 } 9 10 .#{$prefix}reset { 11 html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, 12 h4, h5, h6, pre, code, form, fieldset, legend, 13 input, textarea, p, blockquote, th, td { 14 margin:0; 15 padding:0; 16 } 17 18 table { 19 border-collapse:collapse; 20 border-spacing:0; 21 } 22 23 fieldset, img { 24 border:0; 25 } 26 27 address, caption, cite, code, 28 dfn, em, strong, th, var { 29 font-style:normal; 30 font-weight:normal; 31 } 32 33 li { 34 list-style:none; 35 } 36 37 caption, th { 38 text-align:left; 39 } 40 41 h1, h2, h3, h4, h5, h6 { 42 font-size: 100%; 43 } 44 45 q:before, 46 q:after { 47 content:""; 48 } 49 50 abbr, acronym { 51 border:0; 52 font-variant:normal; 53 } 54 55 sup { 56 vertical-align:text-top; 57 } 58 59 sub { 60 vertical-align:text-bottom; 61 } 62 63 input, textarea, select { 64 font-family:inherit; 65 font-size:inherit; 66 font-weight:inherit; 67 } 68 69 *:focus { 70 outline:none; 71 } 72 } 73 } 74 @else { 75 html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, 76 h4, h5, h6, pre, code, form, fieldset, legend, 77 input, textarea, p, blockquote, th, td { 78 margin:0; 79 padding:0; 80 } 81 82 table { 83 border-collapse:collapse; 84 border-spacing:0; 85 } 86 87 fieldset, img { 88 border:0; 89 } 90 91 address, caption, cite, code, 92 dfn, em, strong, th, var { 93 font-style:normal; 94 font-weight:normal; 95 } 96 97 li { 98 list-style:none; 99 } 100 101 caption, th { 102 text-align:left; 103 } 104 105 h1, h2, h3, h4, h5, h6 { 106 font-size: 100%; 107 } 108 109 q:before, 110 q:after { 111 content:""; 112 } 113 114 abbr, acronym { 115 border:0; 116 font-variant:normal; 117 } 118 119 sup { 120 vertical-align:text-top; 121 } 122 123 sub { 124 vertical-align:text-bottom; 125 } 126 127 input, textarea, select { 128 font-family:inherit; 129 font-size:inherit; 130 font-weight:inherit; 131 } 132 133 *:focus { 134 outline:none; 135 } 136 137 .#{$prefix}border-box, 138 .#{$prefix}border-box * { 139 box-sizing:border-box; 140 -moz-box-sizing:border-box; 141 -ms-box-sizing:border-box; 142 -webkit-box-sizing:border-box; 143 } 144 } 145 146