forked from mirrors/bookwyrm
6daaffeaa7
* Compiles css framework from sass * Adds watch commands * Copies existing css to sass file * Moves sass out of static path * Removes global linter I wasn't sure how to customize this, and it's not providing a lot of additional value on top of the domain-specific linters * Reverts invalid change to dockerfile * Changes stylelint path * Remove unused bulma files * Properly minifies generated css * Fixes regression in thread display * rgba function only works with percents for whatever reason * Hush stylelint * Removes trailing zeros * Compile sass in Django Co-authored-by: Joachim <joachim.robert@protonmail.com> * Python formatting * Updates linter * Updates commands * Adds css-config file Co-authored-by: Joachim <joachim.robert@protonmail.com> * Stylelint fix * Removes unused compiled bulma files Co-authored-by: Joachim <joachim.robert@protonmail.com>
17 lines
433 B
Sass
17 lines
433 B
Sass
@import "../utilities/mixins"
|
|
|
|
$section-padding: 3rem 1.5rem !default
|
|
$section-padding-desktop: 3rem 3rem !default
|
|
$section-padding-medium: 9rem 4.5rem !default
|
|
$section-padding-large: 18rem 6rem !default
|
|
|
|
.section
|
|
padding: $section-padding
|
|
// Responsiveness
|
|
+desktop
|
|
padding: $section-padding-desktop
|
|
// Sizes
|
|
&.is-medium
|
|
padding: $section-padding-medium
|
|
&.is-large
|
|
padding: $section-padding-large
|