summaryrefslogtreecommitdiff
path: root/public/css/_sass/base
diff options
context:
space:
mode:
Diffstat (limited to 'public/css/_sass/base')
-rw-r--r--public/css/_sass/base/generic.sass32
-rw-r--r--public/css/_sass/base/helpers.sass5
-rw-r--r--public/css/_sass/base/minireset.sass11
3 files changed, 30 insertions, 18 deletions
diff --git a/public/css/_sass/base/generic.sass b/public/css/_sass/base/generic.sass
index 42a3d88..31eedfe 100644
--- a/public/css/_sass/base/generic.sass
+++ b/public/css/_sass/base/generic.sass
@@ -1,8 +1,13 @@
-$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
@@ -11,6 +16,8 @@ $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
@@ -18,14 +25,18 @@ $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%
@@ -53,7 +64,7 @@ pre
body
color: $body-color
- font-size: 1rem
+ font-size: $body-font-size
font-weight: $body-weight
line-height: $body-line-height
@@ -91,7 +102,7 @@ input[type="radio"]
vertical-align: baseline
small
- font-size: 0.875em
+ font-size: $small-font-size
span
font-style: inherit
@@ -110,21 +121,22 @@ 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
diff --git a/public/css/_sass/base/helpers.sass b/public/css/_sass/base/helpers.sass
index 17fdf15..bbb489d 100644
--- a/public/css/_sass/base/helpers.sass
+++ b/public/css/_sass/base/helpers.sass
@@ -115,6 +115,8 @@ $alignments: ('centered': 'center', 'justified': 'justify', 'left': 'left', 'rig
font-weight: $weight-light !important
.has-text-weight-normal
font-weight: $weight-normal !important
+.has-text-weight-medium
+ font-weight: $weight-medium !important
.has-text-weight-semibold
font-weight: $weight-semibold !important
.has-text-weight-bold
@@ -274,3 +276,6 @@ $displays: 'block' 'flex' 'inline' 'inline-block' 'inline-flex'
.is-unselectable
@extend %unselectable
+
+.is-relative
+ position: relative !important
diff --git a/public/css/_sass/base/minireset.sass b/public/css/_sass/base/minireset.sass
index 9c34a89..c5657eb 100644
--- a/public/css/_sass/base/minireset.sass
+++ b/public/css/_sass/base/minireset.sass
@@ -1,4 +1,4 @@
-/*! minireset.css v0.0.4 | MIT License | github.com/jgthms/minireset.css */
+/*! minireset.css v0.0.6 | MIT License | github.com/jgthms/minireset.css */
// Blocks
html,
body,
@@ -59,16 +59,10 @@ html
// Media
img,
-embed,
-iframe,
-object,
video
height: auto
max-width: 100%
-audio
- max-width: 100%
-
// Iframe
iframe
border: 0
@@ -81,4 +75,5 @@ table
td,
th
padding: 0
- text-align: left
+ &:not([align])
+ text-align: left