bulma/sass/base/generic.sass

106 lines
1.5 KiB
Sass
Raw Normal View History

2016-01-24 00:03:43 +00:00
html
2016-06-29 22:59:48 +00:00
background-color: $body-background
2016-10-30 19:20:51 +00:00
font-size: $body-size
2016-01-24 00:03:43 +00:00
-moz-osx-font-smoothing: grayscale
-webkit-font-smoothing: antialiased
min-width: 300px
overflow-x: hidden
overflow-y: scroll
text-rendering: $render-mode
2016-01-24 00:03:43 +00:00
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
body
color: $text
font-size: 1rem
font-weight: $weight-normal
2016-10-29 17:53:30 +00:00
line-height: 1.5
2016-01-24 00:03:43 +00:00
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
2016-06-29 22:59:48 +00:00
background-color: $code-background
2016-01-24 00:03:43 +00:00
color: $code
font-size: 0.8em
2016-01-24 00:03:43 +00:00
font-weight: normal
2016-10-29 17:53:30 +00:00
padding: 0.25em 0.5em 0.25em
2016-01-24 00:03:43 +00:00
hr
2016-09-22 22:14:18 +00:00
background-color: $border
border: none
display: block
height: 1px
2016-10-29 17:53:30 +00:00
margin: 1.5rem 0
2016-01-24 00:03:43 +00:00
img
max-width: 100%
input[type="checkbox"],
input[type="radio"]
vertical-align: baseline
small
2016-12-22 19:37:38 +00:00
font-size: 0.8em
2016-01-24 00:03:43 +00:00
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
2016-06-29 22:59:48 +00:00
background-color: $pre-background
2016-01-24 00:03:43 +00:00
color: $pre
font-size: 0.8em
2016-01-24 00:03:43 +00:00
white-space: pre
word-wrap: normal
code
+overflow-touch
2016-10-30 10:41:53 +00:00
background: none
color: inherit
2016-01-24 00:03:43 +00:00
display: block
2016-10-29 17:53:30 +00:00
font-size: 1em
2016-01-24 00:03:43 +00:00
overflow-x: auto
2016-10-29 17:53:30 +00:00
padding: 1.25rem 1.5rem
2016-01-24 00:03:43 +00:00
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