-
Notifications
You must be signed in to change notification settings - Fork 7
/
juliadynamics-style.scss
45 lines (41 loc) · 2.04 KB
/
juliadynamics-style.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
@charset "UTF-8";
// The customizable varibles can be found here:
// https://github.com/JuliaDocs/Documenter.jl/tree/master/assets/html/scss
// under documenter/_variables or documenter/_overrides. But some stuff are Bulma defaults
// as well, so you may need to look them up too: https://bulma.io/documentation/customize/variables/
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
// Thse define the JuliaDynamics template:
$maincolor: #654ca3; // main color of the org theme
$secondcolor: #149eaa; // secondary color that serves as accents
// it is used as-is for links in light theme
$mainwhite: #fff; // color representing white
$mainblack: #202020; // color representing black
$darkbg: #1e1e20; // dark theme main page background
// These commands set up the fonts for the main text and code blocks.
// the fonds must be included into the assets of the `makdocs` command, with e.g.
// format = Documenter.HTML(
// prettyurls = CI,
// assets = [
// "assets/logo.ico",
// asset("https://fonts.googleapis.com/css?family=Montserrat|Source+Code+Pro&display=swap", class=:css),
// ],
// ),
$family-sans-serif: 'Montserrat', sans-serif;
$family-monospace: 'Source Code Pro', monospace;
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
// variables controlling the siderbar's shadow
$shadow-color: #bbb !default;
$shadow-size: 0.2rem !default;
$shadow-blur: 0.4rem !default;
// Two cool helper functions:
$lightness-unit: 8% !default;
// Uses adjust-color to create a darker version of $color
@function darken-color($color, $factor) {
@return adjust-color($color, $lightness: -$factor*$lightness-unit);
}
// Uses adjust-color to create a lighter version of $color
@function lighten-color($color, $factor) {
@return adjust-color($color, $lightness: $factor*$lightness-unit);
}