~williamvds/website

website/sass/_variables.sass -rw-r--r-- 789 bytes
54454d97williamvds Update CV and PDF 2 months ago
                                                                                
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
$bg:           #282828
$bg-light:     #383838
$bg-dark:      #181818
$fg:           #eee
$primary:      #ffb52a
$primary-dark: #996c18

$font:      sans-serif
$font-code: monospace

$line-height: 1.5
$tab-size: 4

$main-width:   50rem
$sidebar-width: 20rem
$line-width: .2em
$space-large:  2rem
$space-medium: 1.6rem
$space-small:  1rem
$space-min:    .4rem
$small-thresh: $main-width + 2 * $space-small
$sidebar-thresh: $main-width + 2 * ($sidebar-width + $space-medium)

@mixin box-shadow
	box-shadow: $bg-dark 0 0 $space-min

@mixin small-word-spacing
	word-spacing: $space-small

	*
		word-spacing: normal

@mixin bordered-box($text: $bg, $background: $primary, $border: $primary-dark)
	color: $text
	padding: $space-min
	background: $background
	border-top: solid $border $line-width