bulma/docs/bulma-docs.sass

89 lines
1.7 KiB
Sass
Raw Permalink Normal View History

@charset "utf-8"
2017-07-31 19:58:30 +00:00
$bootstrap: #6f5499
2017-07-30 17:22:13 +00:00
$github: #333333
$twitter: #55acee
2017-11-14 10:30:37 +00:00
$patreon: #f96854
$patreon-blue: #052d49
2018-01-10 11:48:03 +00:00
$fortyfour: #5f45bb
2018-03-26 17:20:46 +00:00
$amazon: #ffd863
$bleeding-green: #ABF47C
$bleeding-red: #CA1F26
2018-04-09 09:35:44 +00:00
$star: #FFD257
$rss: #f26522
2017-07-30 17:22:13 +00:00
2019-04-07 18:20:46 +00:00
$mauve: #8A4D76
$pink: #FA7C91
$brown: #757763
$beige-light: #D0D1CD
$beige-lighter: #EFF0EB
2018-04-10 13:28:45 +00:00
2018-04-09 15:15:58 +00:00
$carbon-width: 300px
2018-04-10 11:04:10 +00:00
$carbon-height: 100px
2018-04-09 19:19:29 +00:00
$main-spacing: 3rem
2018-04-10 14:38:50 +00:00
$intro-width: 1080px
2018-07-12 16:15:22 +00:00
$sidebar-width: 10.5rem
2018-04-09 15:15:58 +00:00
2018-04-10 22:02:30 +00:00
@import "../bulma"
2019-10-18 18:05:37 +00:00
@import "./bulma-cssvar.sass"
@import "./bulma-dark"
// Dark mode steps
//
// 1. Swap values
// $scheme-main: $black
//
// 2. Assign updated CSS vars to :root
// :root
// --bulma-scheme-main: #{$scheme-main}
//
// 3. Assign CSS vars to elements/components
// html
2019-10-19 00:29:40 +00:00
// background-color: var(--#{$prefix}scheme-main)
2019-10-18 18:05:37 +00:00
//
2018-04-10 22:02:30 +00:00
2018-04-10 11:26:37 +00:00
%center
align-items: center
display: flex
justify-content: center
2018-04-10 22:02:30 +00:00
%bd-box
2019-10-19 00:29:40 +00:00
background-color: var(--#{$prefix}scheme-main)
2018-04-10 22:02:30 +00:00
border-radius: $radius-large
2018-04-11 12:36:41 +00:00
box-shadow: 0 1.5rem 1.5rem -1.25rem rgba($black, 0.05)
2018-04-10 22:02:30 +00:00
display: block
2018-04-10 10:45:48 +00:00
=selection($current-selector: false)
@if $current-selector
&::-moz-selection
@content
&::selection
@content
@else
\::-moz-selection
@content
\::selection
@content
2018-04-09 09:35:44 +00:00
@import "./_sass/main"
2017-07-01 17:30:39 +00:00
@import "./_sass/highlight"
@import "./_sass/override"
@import "./_sass/global"
@import "./_sass/index"
@import "./_sass/header"
@import "./_sass/footer"
@import "./_sass/specific"
@import "./_sass/example"
@import "./_sass/callout"
@import "./_sass/bsa"
2017-07-30 17:22:13 +00:00
@import "./_sass/twitter"
2017-07-30 21:27:54 +00:00
@import "./_sass/expo"
2017-07-30 17:22:13 +00:00
@import "./_sass/love"
2017-07-30 14:11:22 +00:00
@import "./_sass/bootstrap"
2017-08-14 22:52:28 +00:00
@import "./_sass/klmn"
2017-11-14 10:30:37 +00:00
@import "./_sass/patreon"
2017-12-04 13:11:09 +00:00
@import "./_sass/sponsors"
2018-03-26 13:46:39 +00:00
@import "./_sass/book"
2018-03-29 21:25:55 +00:00
@import "./_sass/native"
2018-04-11 12:36:41 +00:00
@import "./_sass/focus"