bulma/sass/base/generic.sass

127 lines
2.1 KiB
Sass
Raw Normal View History

2017-07-28 20:44:46 +00:00
$body-background-color: #fff !default
$body-size: 16px !default
$body-rendering: optimizeLegibility !default
2017-08-14 10:26:48 +00:00
$body-family: $family-primary !default
2017-07-28 20:44:46 +00:00
$body-color: $text !default
$body-weight: $weight-normal !default
$body-line-height: 1.5 !default
2017-08-14 10:26:48 +00:00
$code-family: $family-code !default
2017-07-28 20:44:46 +00:00
$code-padding: 0.25em 0.5em 0.25em !default
$code-weight: normal !default
$code-size: 0.875em !default
$hr-background-color: $border !default
$hr-height: 1px !default
$hr-margin: 1.5rem 0 !default
$strong-color: $text-strong !default
$strong-weight: $weight-bold !default
2016-01-24 00:03:43 +00:00
html
2017-07-28 20:44:46 +00:00
background-color: $body-background-color
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
2017-07-28 20:44:46 +00:00
text-rendering: $body-rendering
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
2017-07-28 20:44:46 +00:00
font-family: $body-family
2016-01-24 00:03:43 +00:00
code,
pre
-moz-osx-font-smoothing: auto
-webkit-font-smoothing: auto
2017-07-28 20:44:46 +00:00
font-family: $code-family
2016-01-24 00:03:43 +00:00
body
2017-07-28 20:44:46 +00:00
color: $body-color
2016-01-24 00:03:43 +00:00
font-size: 1rem
2017-07-28 20:44:46 +00:00
font-weight: $body-weight
line-height: $body-line-height
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
2017-07-29 22:46:27 +00:00
strong
color: currentColor
2016-01-24 00:03:43 +00:00
&: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
2017-07-28 20:44:46 +00:00
font-size: $code-size
font-weight: $code-weight
padding: $code-padding
2016-01-24 00:03:43 +00:00
hr
2017-07-28 20:44:46 +00:00
background-color: $hr-background-color
2016-09-22 22:14:18 +00:00
border: none
display: block
2017-07-28 20:44:46 +00:00
height: $hr-height
margin: $hr-margin
2016-01-24 00:03:43 +00:00
img
2017-07-19 21:52:22 +00:00
height: auto
2016-01-24 00:03:43 +00:00
max-width: 100%
input[type="checkbox"],
input[type="radio"]
vertical-align: baseline
small
2017-07-02 15:52:20 +00:00
font-size: 0.875em
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
2017-07-28 20:44:46 +00:00
color: $strong-color
font-weight: $strong-weight
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
2017-07-28 20:44:46 +00:00
font-size: 0.875em
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
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