38 lines
828 B
Plaintext
Raw Normal View History

2018-11-23 05:41:34 +00:00
// Default styles for all elements.
*
margin 0
padding 0
border 0
2018-11-23 05:41:34 +00:00
outline 0
box-sizing inherit
font inherit
2019-08-29 03:23:58 +00:00
// This breaks accessibility, but is needed to ensure a consistent style.
// Make sure you add your own focus styles.
::-moz-focus-inner
border 0
2018-11-23 05:41:34 +00:00
// Set root element to use border-box sizing,
// all sub-elements will inherit this property.
html
box-sizing border-box
2018-11-23 05:41:34 +00:00
// Make sure that textarea is resized vertically only
textarea
resize vertical
2018-11-23 05:41:34 +00:00
// Set default line height and font smoothing
body
line-height 1
-webkit-font-smoothing antialiased
-moz-osx-font-smoothing grayscale
2018-11-23 05:41:34 +00:00
// Without this, table borders aren't shown
table
border-collapse collapse
border-spacing 0
2018-11-23 05:41:34 +00:00
// Align these elements in the vertical center of the text flow
audio, canvas, img, video, input, select
vertical-align middle