spaCy/website/assets/css/_variables.sass

51 lines
1.4 KiB
Sass
Raw Normal View History

2016-10-31 18:04:15 +00:00
//- 💫 CSS > VARIABLES
2016-10-03 18:19:13 +00:00
// Settings and Sizes
$type-base: 11px
2016-10-31 18:04:15 +00:00
$nav-height: 45px
$content-width: 1250px
$sidebar-width: 200px
$aside-width: 30vw
2016-10-03 18:19:13 +00:00
$aside-padding: 25px
2016-10-31 18:04:15 +00:00
$logo-width: 85px
$logo-height: 27px
2016-10-31 18:04:15 +00:00
$grid: ( quarter: 4, third: 3, half: 2, two-thirds: 1.5, three-quarters: 1.33 )
2016-10-03 18:19:13 +00:00
$breakpoints: ( sm: 768px, md: 992px, lg: 1200px )
2016-10-31 18:04:15 +00:00
$headings: (1: 3, 2: 2.6, 3: 2, 4: 1.8, 5: 1.5)
2016-10-03 18:19:13 +00:00
// Fonts
$font-primary: "Source Sans Pro", Tahoma, Geneva, sans-serif !default
$font-code: 'Source Code Pro', Consolas, 'Andale Mono', Menlo, Monaco, Courier, monospace !default
// Colors
2016-10-31 18:04:15 +00:00
$colors: ( blue: #09a3d5, red: #d9515d )
$color-back: #fff !default
$color-front: #1a1e23 !default
$color-dark: lighten($color-front, 20) !default
$color-theme: map-get($colors, $theme)
$color-theme-dark: darken(map-get($colors, $theme), 5)
2017-03-16 20:53:00 +00:00
$color-theme-light: saturate(lighten(map-get($colors, $theme), 35), 15)
2016-10-31 18:04:15 +00:00
$color-subtle: #ddd !default
$color-subtle-light: #f6f6f6 !default
$color-subtle-dark: #949e9b !default
$color-red: #d9515d
$color-green: #3ec930
$color-yellow: #f4c025
2016-10-03 18:19:13 +00:00
$syntax-highlighting: ( comment: #949e9b, tag: #b084eb, number: #b084eb, selector: #ffb86c, operator: #ff2c6d, function: #35b3dc, keyword: #45a9f9, regex: #f4c025 )
2016-10-03 18:19:13 +00:00
2016-10-31 18:04:15 +00:00
$pattern: $color-theme url("/assets/img/pattern_#{$theme}.jpg") center top repeat
$pattern-overlay: transparent url("/assets/img/pattern_landing.jpg") center -138px no-repeat