bulma/sass/base/generic.sass

101 lines
1.4 KiB
Sass
Raw Normal View History

2016-01-24 00:03:43 +00:00
html
background: $body-background
font-size: $size-normal
-moz-osx-font-smoothing: grayscale
-webkit-font-smoothing: antialiased
min-width: 300px
overflow-x: hidden
overflow-y: scroll
text-rendering: optimizeLegibility
2016-04-10 15:56:27 +00:00
article,
aside,
figure,
footer,
header,
hgroup,
section
display: block
2016-01-24 00:03:43 +00:00
body,
button,
input,
select,
textarea
font-family: $family-primary
code,
pre
-moz-osx-font-smoothing: auto
-webkit-font-smoothing: auto
2016-04-10 15:56:27 +00:00
font-family: $family-code
2016-01-24 00:03:43 +00:00
line-height: 1.25
body
color: $text
font-size: 1rem
font-weight: $weight-normal
2016-01-24 00:03:43 +00:00
line-height: 1.428571428571429
2016-04-10 15:56:27 +00:00
// Inline
2016-01-24 00:03:43 +00:00
a
color: $link
cursor: pointer
text-decoration: none
transition: none $speed $easing
&:hover
color: $link-hover
code
background: $code-background
color: $code
font-size: 12px
font-weight: normal
padding: 1px 2px 2px
hr
border-top-color: $border
margin: 20px 0
img
max-width: 100%
input[type="checkbox"],
input[type="radio"]
vertical-align: baseline
small
font-size: $size-small
2016-05-05 21:23:08 +00:00
span
font-style: inherit
font-weight: inherit
2016-01-24 00:03:43 +00:00
strong
color: $text-strong
font-weight: $weight-bold
2016-01-24 00:03:43 +00:00
2016-04-10 15:56:27 +00:00
// Block
2016-01-24 00:03:43 +00:00
pre
background: $pre-background
color: $pre
white-space: pre
word-wrap: normal
code
background: $pre-background
color: $pre
display: block
overflow-x: auto
padding: 16px 20px
table
width: 100%
2016-04-10 15:56:27 +00:00
td,
th
2016-01-24 00:03:43 +00:00
text-align: left
vertical-align: top
th
color: $text-strong