Implemented new style reset
This commit is contained in:
parent
dcc2073045
commit
428f6cfd80
@ -1,46 +1,32 @@
|
|||||||
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video, main
|
// Default styles for all elements.
|
||||||
outline 0
|
*
|
||||||
|
margin 0
|
||||||
|
padding 0
|
||||||
border 0
|
border 0
|
||||||
font-size 100%
|
outline 0
|
||||||
|
box-sizing inherit
|
||||||
font inherit
|
font inherit
|
||||||
vertical-align baseline
|
|
||||||
background transparent
|
|
||||||
|
|
||||||
|
// Set root element to use border-box sizing,
|
||||||
|
// all sub-elements will inherit this property.
|
||||||
html
|
html
|
||||||
box-sizing border-box
|
box-sizing border-box
|
||||||
|
|
||||||
|
// Make sure that textarea is resized vertically only
|
||||||
textarea
|
textarea
|
||||||
resize vertical
|
resize vertical
|
||||||
|
|
||||||
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section
|
// Set default line height and font smoothing
|
||||||
display block
|
|
||||||
|
|
||||||
body
|
body
|
||||||
line-height 1
|
line-height 1
|
||||||
-webkit-font-smoothing antialiased
|
-webkit-font-smoothing antialiased
|
||||||
-moz-osx-font-smoothing grayscale
|
-moz-osx-font-smoothing grayscale
|
||||||
|
|
||||||
ol, ul
|
// Without this, table borders aren't shown
|
||||||
list-style none
|
|
||||||
|
|
||||||
blockquote, q
|
|
||||||
quotes none
|
|
||||||
|
|
||||||
blockquote:before, blockquote:after, q:before, q:after
|
|
||||||
content ''
|
|
||||||
content none
|
|
||||||
|
|
||||||
table
|
table
|
||||||
border-collapse collapse
|
border-collapse collapse
|
||||||
border-spacing 0
|
border-spacing 0
|
||||||
|
|
||||||
|
// Align these elements in the vertical center of the text flow
|
||||||
audio, canvas, img, video, input, select
|
audio, canvas, img, video, input, select
|
||||||
vertical-align middle
|
vertical-align middle
|
||||||
|
|
||||||
:focus
|
|
||||||
outline 0
|
|
||||||
|
|
||||||
*
|
|
||||||
margin 0
|
|
||||||
padding 0
|
|
||||||
box-sizing inherit
|
|
@ -38,6 +38,7 @@ p
|
|||||||
|
|
||||||
.furigana
|
.furigana
|
||||||
opacity 0.25
|
opacity 0.25
|
||||||
|
font-size 50%
|
||||||
transition opacity transition-speed ease, transform transition-speed ease
|
transition opacity transition-speed ease, transform transition-speed ease
|
||||||
transform translateY(0)
|
transform translateY(0)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user