_sass/base/generic.sass in jekyll-bulma-0.2 vs _sass/base/generic.sass in jekyll-bulma-0.8
- old
+ new
@@ -1,33 +1,44 @@
-$body-background-color: $white !default
+$body-background-color: $scheme-main !default
$body-size: 16px !default
+$body-min-width: 300px !default
$body-rendering: optimizeLegibility !default
$body-family: $family-primary !default
+$body-overflow-x: hidden !default
+$body-overflow-y: scroll !default
+
$body-color: $text !default
+$body-font-size: 1em !default
$body-weight: $weight-normal !default
$body-line-height: 1.5 !default
$code-family: $family-code !default
$code-padding: 0.25em 0.5em 0.25em !default
$code-weight: normal !default
$code-size: 0.875em !default
+$small-font-size: 0.875em !default
+
$hr-background-color: $background !default
$hr-height: 2px !default
$hr-margin: 1.5rem 0 !default
$strong-color: $text-strong !default
$strong-weight: $weight-bold !default
+$pre-font-size: 0.875em !default
+$pre-padding: 1.25rem 1.5rem !default
+$pre-code-font-size: 1em !default
+
html
background-color: $body-background-color
font-size: $body-size
-moz-osx-font-smoothing: grayscale
-webkit-font-smoothing: antialiased
- min-width: 300px
- overflow-x: hidden
- overflow-y: scroll
+ min-width: $body-min-width
+ overflow-x: $body-overflow-x
+ overflow-y: $body-overflow-y
text-rendering: $body-rendering
text-size-adjust: 100%
article,
aside,
@@ -51,11 +62,11 @@
-webkit-font-smoothing: auto
font-family: $code-family
body
color: $body-color
- font-size: 1rem
+ font-size: $body-font-size
font-weight: $body-weight
line-height: $body-line-height
// Inline
@@ -89,11 +100,11 @@
input[type="checkbox"],
input[type="radio"]
vertical-align: baseline
small
- font-size: 0.875em
+ font-size: $small-font-size
span
font-style: inherit
font-weight: inherit
@@ -101,27 +112,31 @@
color: $strong-color
font-weight: $strong-weight
// Block
+fieldset
+ border: none
+
pre
+overflow-touch
background-color: $pre-background
color: $pre
- font-size: 0.875em
+ font-size: $pre-font-size
overflow-x: auto
- padding: 1.25rem 1.5rem
+ padding: $pre-padding
white-space: pre
word-wrap: normal
code
background-color: transparent
color: currentColor
- font-size: 1em
+ font-size: $pre-code-font-size
padding: 0
table
td,
th
- text-align: left
vertical-align: top
+ &:not([align])
+ text-align: left
th
color: $text-strong