-
Notifications
You must be signed in to change notification settings - Fork 919
Expand file tree
/
Copy path_variables.scss
More file actions
177 lines (164 loc) · 6.94 KB
/
_variables.scss
File metadata and controls
177 lines (164 loc) · 6.94 KB
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
/* TYPOGRAPHY */
$font-family-main: 'Source Sans Pro', Helvetica, Arial, sans-serif;
$font-family-headings: 'Source Sans Pro', Helvetica, Arial, sans-serif;
$font-family-logo: 'Source Sans Pro', Helvetica, Arial, sans-serif;
$font-size: 1.25em;
$monospace: Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif !default;
$font-size-code: 0.85em !default;
$font-height-code: 1.3em !default;
$border-radius: 4px !default;
/* PADDING */
$padding-x-large: 23%;
$padding-large: 9%;
$padding-medium: 6%;
$padding-small: 4%;
$padding-x-small: 3%;
$title-padding: 1%;
$feature-image-padding: 10%;
/* MOBILE */
$xl-break: 2000px;
$l-break: 1400px;
$m-break: 1000px;
$break: 768px;
$sm-break: 576px;
$x-sm-break: 320px;
$xs-l-break: 450px;
$xs-m-break: 400px;
$xs-s-break: 380px;
/* TRANSITIONS */
$transition-fast: 0.15s;
$transition-base: 0.2s;
$transition-slow: 0.5s;
/* Z-INDEX */
$z-index-cookie: 1000;
/* COMPONENT SIZES */
$post-img-height: 250px;
$post-img-height-mobile: 150px;
$portfolio-max-width: 400px;
$gallery-item-width: 32.6%;
$gallery-gutter: 1%;
/* MIXINS */
@mixin respond-to($breakpoint) {
@if $breakpoint == 'xl' { @media screen and (max-width: $xl-break) { @content; } }
@if $breakpoint == 'l' { @media screen and (max-width: $l-break) { @content; } }
@if $breakpoint == 'm' { @media screen and (max-width: $m-break) { @content; } }
@if $breakpoint == 'break' { @media screen and (max-width: $break) { @content; } }
@if $breakpoint == 'sm' { @media screen and (max-width: $sm-break) { @content; } }
@if $breakpoint == 'x-sm' { @media screen and (max-width: $x-sm-break) { @content; } }
@if $breakpoint == 'xs-l' { @media screen and (max-width: $xs-l-break) { @content; } }
@if $breakpoint == 'xs-m' { @media screen and (max-width: $xs-m-break) { @content; } }
@if $breakpoint == 'xs-s' { @media screen and (max-width: $xs-s-break) { @content; } }
}
/* THEME COLOR SCHEMES */
html, html[data-theme="light"] {
--background: #ffffff;
--blockquote: #eef7fa;
--selection: #d4d4d4;
--meta: #595959;
--link: #0072B5;
--header-background: #24292e;
--header-text: #ffffff;
--header-link: #383838;
--code-background: #E0E0E0;
--code-inline: #24292e;
--text-shadow: #3f3f3f;
--text: #262626;
--h1: #262626;
--h2: #262626;
--h3: #262626;
--h4: #262626;
--h5: #262626;
--h6: #262626;
--border: rgb(229, 229, 229);
--blockquote-border: #9fd2e3;
--kbd-background: #eee;
--kbd-border: #b4b4b4;
--kbd-color: #333;
--search-highlight: rgba(255, 221, 76, 0.5);
}
html[data-theme="dark"] {
--background: #22272e; // brand, background
--blockquote: #373e47; // blockquote
--selection: #545d68; // selection
--meta: #909dab; // meta
--link: #00a8e0; // theme, link, link shadow header bg
--header-background: #2A3444; // Color before header image load
--header-text: #e7f3f4; // header text, feature img text
--header-link: #adbac7; // header link, search color
--code-background: #2A3444;
--code-inline: #d9b600;
--text-shadow: #2d333b; // text shadow
--text: #cdd9e5; // text
--h1: #d40059; // headers
--h2: #b37eff;
--h3: #ff66c2;
--h4: #00af9e;
--h5: #6bac00;
--h6: #ff5c00;
--border: rgba(255, 255, 255, 0.15);
--blockquote-border: #546e7a;
--kbd-background: #3a3f4b;
--kbd-border: #5a6070;
--kbd-color: #cdd9e5;
--search-highlight: rgba(167, 139, 250, 0.5);
--cusdis--color-text-default: var(--text);
--cusdis--color-comment-username-text: var(--link);
}
/* BASE16 CODE HIGHLIGHT */
// Material Theme
html, html[data-theme="light"] {
--base00: #302f2d; // Default Background
--base01: #2e3c43; // Lighter Background (Used for status bars) - NOT USED
--base02: #314549; // Selection Background
--base03: #546e7a; // Comments, Invisible, Line Highlighting
--base04: #b2ccd6; // Dark Foreground (Used for status bars)
--base05: #eeffff; // Punctuation
--base06: #eeffff; // Highlight, Light Background
--base07: #ffffff; // Default Foreground, Default text color
--base08: #f07178; // Operators (and Parenthesis, Caret, Delimiters)
--base09: #f78c6c; // Classes, Markup Bold, Search Text Background
--base0a: #ffcb6b; // Strings, Inherited Class, Markup Code, Diff Inserted
--base0b: #98c379; // Functions, Methods, Attribute IDs, Headings
--base0c: #89ddff; // Support, Regular Expressions, Escape Characters, Markup Quotes
--base0d: #82aaff; // Keywords, Storage, Selector, Markup Italic, Diff Changed
--base0e: #c792ea; // Integers, Boolean, Constants, XML Attributes, Markup Link Url
--base0f: #ff5370; // Deprecated, Opening/Closing Embedded Language Tags e.g.
}
// Supernova Theme
html[data-theme="dark"] {
--base00: #373e47; // Default Background
--base01: #444c56; // Lighter Background (Used for status bars, line number and folding marks)
--base02: #545d68; // Selection Background
--base03: #909dab; // Comments, Invisible, Line Highlighting
--base04: #adbac7; // Dark Foreground (Used for status bars)
--base05: #cdd9e5; // Default Foreground, Caret, Delimiters, Operators
--base06: #e7f3f4; // Light Foreground (Not often used)
--base07: #ffffff; // Light Background (Not often used)
--base08: #d40059; // Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted
--base09: #ff5c00; // Integers, Boolean, Constants, XML Attributes, Markup Link Url
--base0a: #d9b600; // Classes, Markup Bold, Search Text Background
--base0b: #6bac00; // Strings, Inherited Class, Markup Code, Diff Inserted
--base0c: #00a8e0; // Support, Regular Expressions, Escape Characters, Markup Quotes
--base0d: #b37eff; // Functions, Methods, Attribute IDs, Headings
--base0e: #00af9e; // Keywords, Storage, Selector, Markup Italic, Diff Changed
--base0f: #ff66c2; // Deprecated, Opening/Closing Embedded Language Tags, e.g. <?php ?>
}
// Monokai Theme
//html[data-theme="dark"] {
// --base00: #272822; // Default Background
// --base01: #383830; // Lighter Background (Used for status bars)
// --base02: #49483e; // Selection Background
// --base03: #75715e; // Comments, Invisible, Line Highlighting
// --base04: #a59f85; // Dark Foreground (Used for status bars)
// --base05: #f8f8f2; // Light Foreground (Not often used)
// --base06: #f5f4f1; // Light Background (Not often used)
// --base07: #f9f8f5; // Default text color
// --base08: #f92672; // Parenthesis, Caret, Delimiters, Operators
// --base09: #fd971f; // Classes, Markup Bold, Search Text Background
// --base0a: #e6db74; // Strings, Inherited Class, Markup Code, Diff Inserted
// --base0b: #a6e22e; // Functions, Methods, Attribute IDs, Headings
// --base0c: #a1efe4; // Support, Regular Expressions, Escape Characters, Markup Quotes
// --base0d: #66d9ef; // Keywords, Storage, Selector, Markup Italic, Diff Changed
// --base0e: #ae81ff; // Integers, Boolean, Constants, XML Attributes, Markup Link Url
// --base0f: #cc6633; // Deprecated, Opening/Closing Embedded Language Tags e.g.
//}