-
Notifications
You must be signed in to change notification settings - Fork 86
/
Copy path_defaults.scss
101 lines (86 loc) · 3.65 KB
/
_defaults.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
// TIP set a value to null to disable
@import "normalize";
$cursor-default-value: auto !default;
@import "foundation/components/global";
@import "compass/css3/box-shadow";
// better defaults (TODO maybe do these at the bottom of the theme colors)
//$table-line-height: 1.6 !default;
//$table-head-font-size: inherit !default;
$table-head-font-color: $body-font-color !default;
//$table-row-font-size: inherit !default;
$table-row-font-color: $body-font-color !default;
// custom default variables
// NOTE we have a chicken-egg problem here since Foundation
// doesn't define all of it's variables in global, many
// come from importing the components
$rainbow-lightness: -25% !default;
$rainbow-bg-lightness: -2% !default;
$header-word-spacing: null !default;
$subheader-font-family: null !default;
$subheader-font-style: null !default;
$subheader-font-size: null !default;
$title-font-color: #000 !default;
$title-font-weight: bold !default;
$font-smoothing: antialiased !default;
$sect-divider-size: 1px !default;
$sect-divider-style: solid !default;
$sect-divider-color: #ddd !default;
$sidebar-header-border-style: solid !default;
$sidebar-header-border-size: 0 !default;
$sidebar-header-border-color: #ddd !default;
$sidebar-header-align: null !default;
$anchor-text-decoration-hover: null !default;
$code-font-size: inherit !default;
$code-line-height: inherit !default;
$code-bg-color: inherit !default;
$code-border-color: #ddd !default;
$code-border-style: solid !default;
$code-border-size: 0 !default;
$code-padding: 0 !default;
$code-word-spacing: 0 !default;
$code-text-rendering: inherit !default;
$pre-font-family: Consolas, 'Liberation Mono', Courier, monospace !default;
$pre-font-size: emCalc($em-base) !default;
$pre-font-color: inherit !default;
$pre-border-size: 1px !default;
$pre-border-style: solid !default;
$pre-border-color: #ddd !default;
$pre-bg: none !default;
// smaller padding bottom needed if using Cousine / Liberation Sans font
//$pre-padding: emCalc(12px) emCalc(12px) emCalc(8px) emCalc(12px) !default;
$pre-padding: emCalc(12px) !default;
$pre-line-height: 1.6 !default;
// fallback values set in components/asciidoc
//$footer-bg: $body-font-color !default;
//$footer-font-color: invert($body-font-color) !default;
$icon-text-shadow: 1px 1px 2px rgba(0, 0, 0, .5) !default;
$definition-list-content-margin-left: emCalc(18px) !default;
$blockquote-border-color: #ddd !default;
$thumb-border-style: solid !default;
$thumb-border-width: 4px !default;
$thumb-border-color: #fff !default;
$thumb-box-shadow: 0 0 0 1px #ddd !default;
// exclude unnecessary styles
$include-html-grid-classes: false;
$include-html-panel-classes: false;
$include-html-media-classes: false;
$include-html-inline-list-classes: false;
$include-print-styles: false;
// cut down on number of vendor prefixes used
$experimental-support-for-khtml: false;
$experimental-support-for-microsoft: false;
$experimental-support-for-mozilla: false;
$experimental-support-for-opera: false;
$experimental-support-for-webkit: true;
// bg-noise from https://gist.github.com/aaronrussell/856571 by Aaron Russell
$bg-noise-default-intensity: 0.5 !default;
$bg-noise-default-opacity: 0.08 !default;
$bg-noise-default-size: 200 !default;
@mixin bg-noise($color, $intensity: $bg-noise-default-intensity, $opacity: $bg-noise-default-opacity, $size: $bg-noise-default-size, $mono: false) {
background-color: $color;
background-image: background_noise($color, $intensity, $opacity, $size, $mono);
background-repeat: repeat;
}
@mixin bg-noise-mono($color, $intensity: $bg-noise-default-intensity, $opacity: $bg-noise-default-opacity, $size: $bg-noise-default-size) {
@include bg-noise($color, $intensity, $opacity, $size, true);
}