inkstream 0.1.0 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +21 -0
- data/README.md +95 -0
- data/_config.yml +131 -0
- data/_includes/button.html +4 -0
- data/_includes/icon.html +1 -0
- data/_includes/nav-default.html +23 -0
- data/_includes/nav-header.html +25 -0
- data/_includes/post-list.html +59 -0
- data/_includes/post-meta.html +0 -0
- data/_includes/post-pagination.html +29 -0
- data/_includes/promo-section.html +12 -0
- data/_includes/site-before-end.html +1 -0
- data/_includes/site-before-start.html +1 -0
- data/_includes/site-favicons.html +12 -0
- data/_includes/site-fonts.html +13 -0
- data/_includes/site-footer-default.html +17 -0
- data/_includes/site-footer.html +23 -0
- data/_includes/site-header.html +66 -0
- data/_includes/site-styles.html +6 -0
- data/_layouts/blog.html +24 -0
- data/_layouts/default.html +62 -0
- data/_layouts/page.html +35 -0
- data/_layouts/post.html +201 -0
- data/assets/css/styles.css +11167 -0
- data/assets/favicon/android-chrome-192x192.png +0 -0
- data/assets/favicon/android-chrome-512x512.png +0 -0
- data/assets/favicon/apple-touch-icon.png +0 -0
- data/assets/favicon/browserconfig.xml +9 -0
- data/assets/favicon/favicon-16x16.png +0 -0
- data/assets/favicon/favicon-32x32.png +0 -0
- data/assets/favicon/favicon.ico +0 -0
- data/assets/favicon/favicon.svg +1 -0
- data/assets/favicon/mstile-150x150.png +0 -0
- data/assets/favicon/safari-pinned-tab.svg +88 -0
- data/assets/favicon/site.webmanifest +19 -0
- data/assets/images/about-me.jpg +0 -0
- data/assets/images/posts/default-post-img.jpg +0 -0
- data/assets/images/posts/text-syntax.jpg +0 -0
- data/assets/images/posts/welcome.jpg +0 -0
- data/assets/images/profile.png +0 -0
- data/assets/images/promo-banner.jpg +0 -0
- data/assets/js/blog.js +9 -0
- data/assets/js/demo/style-switcher.js +45 -0
- data/assets/logo/logo.jpg +0 -0
- data/assets/logo/logo.svg +1 -0
- data/assets/plugins/bootstrap/js/bootstrap.min.js +7 -0
- data/assets/plugins/jquery-3.3.1.min.js +2 -0
- data/assets/plugins/popper.min.js +5 -0
- data/assets/resume/resume.pdf +0 -0
- data/assets/scss/bootstrap/js/dist/alert.js +199 -0
- data/assets/scss/bootstrap/js/dist/alert.js.map +1 -0
- data/assets/scss/bootstrap/js/dist/button.js +187 -0
- data/assets/scss/bootstrap/js/dist/button.js.map +1 -0
- data/assets/scss/bootstrap/js/dist/carousel.js +668 -0
- data/assets/scss/bootstrap/js/dist/carousel.js.map +1 -0
- data/assets/scss/bootstrap/js/dist/collapse.js +428 -0
- data/assets/scss/bootstrap/js/dist/collapse.js.map +1 -0
- data/assets/scss/bootstrap/js/dist/dropdown.js +595 -0
- data/assets/scss/bootstrap/js/dist/dropdown.js.map +1 -0
- data/assets/scss/bootstrap/js/dist/index.js +23 -0
- data/assets/scss/bootstrap/js/dist/index.js.map +1 -0
- data/assets/scss/bootstrap/js/dist/modal.js +650 -0
- data/assets/scss/bootstrap/js/dist/modal.js.map +1 -0
- data/assets/scss/bootstrap/js/dist/popover.js +261 -0
- data/assets/scss/bootstrap/js/dist/popover.js.map +1 -0
- data/assets/scss/bootstrap/js/dist/scrollspy.js +375 -0
- data/assets/scss/bootstrap/js/dist/scrollspy.js.map +1 -0
- data/assets/scss/bootstrap/js/dist/tab.js +269 -0
- data/assets/scss/bootstrap/js/dist/tab.js.map +1 -0
- data/assets/scss/bootstrap/js/dist/toast.js +283 -0
- data/assets/scss/bootstrap/js/dist/toast.js.map +1 -0
- data/assets/scss/bootstrap/js/dist/tooltip.js +760 -0
- data/assets/scss/bootstrap/js/dist/tooltip.js.map +1 -0
- data/assets/scss/bootstrap/js/dist/util.js +172 -0
- data/assets/scss/bootstrap/js/dist/util.js.map +1 -0
- data/assets/scss/bootstrap/js/src/alert.js +179 -0
- data/assets/scss/bootstrap/js/src/button.js +171 -0
- data/assets/scss/bootstrap/js/src/carousel.js +606 -0
- data/assets/scss/bootstrap/js/src/collapse.js +402 -0
- data/assets/scss/bootstrap/js/src/dropdown.js +545 -0
- data/assets/scss/bootstrap/js/src/index.js +52 -0
- data/assets/scss/bootstrap/js/src/modal.js +594 -0
- data/assets/scss/bootstrap/js/src/popover.js +184 -0
- data/assets/scss/bootstrap/js/src/scrollspy.js +326 -0
- data/assets/scss/bootstrap/js/src/tab.js +260 -0
- data/assets/scss/bootstrap/js/src/toast.js +227 -0
- data/assets/scss/bootstrap/js/src/tooltip.js +752 -0
- data/assets/scss/bootstrap/js/src/util.js +177 -0
- data/assets/scss/bootstrap/js/tests/README.md +69 -0
- data/assets/scss/bootstrap/js/tests/browsers.js +82 -0
- data/assets/scss/bootstrap/js/tests/index.html +133 -0
- data/assets/scss/bootstrap/js/tests/integration/bundle.js +8 -0
- data/assets/scss/bootstrap/js/tests/integration/index.html +66 -0
- data/assets/scss/bootstrap/js/tests/integration/rollup.bundle.js +20 -0
- data/assets/scss/bootstrap/js/tests/karma.conf.js +143 -0
- data/assets/scss/bootstrap/js/tests/unit/.eslintrc.json +40 -0
- data/assets/scss/bootstrap/js/tests/unit/alert.js +123 -0
- data/assets/scss/bootstrap/js/tests/unit/button.js +222 -0
- data/assets/scss/bootstrap/js/tests/unit/carousel.js +1333 -0
- data/assets/scss/bootstrap/js/tests/unit/collapse.js +892 -0
- data/assets/scss/bootstrap/js/tests/unit/dropdown.js +1419 -0
- data/assets/scss/bootstrap/js/tests/unit/modal.js +815 -0
- data/assets/scss/bootstrap/js/tests/unit/popover.js +471 -0
- data/assets/scss/bootstrap/js/tests/unit/scrollspy.js +728 -0
- data/assets/scss/bootstrap/js/tests/unit/tab.js +518 -0
- data/assets/scss/bootstrap/js/tests/unit/toast.js +259 -0
- data/assets/scss/bootstrap/js/tests/unit/tooltip.js +1109 -0
- data/assets/scss/bootstrap/js/tests/unit/util.js +163 -0
- data/assets/scss/bootstrap/js/tests/visual/alert.html +58 -0
- data/assets/scss/bootstrap/js/tests/visual/button.html +51 -0
- data/assets/scss/bootstrap/js/tests/visual/carousel.html +66 -0
- data/assets/scss/bootstrap/js/tests/visual/collapse.html +78 -0
- data/assets/scss/bootstrap/js/tests/visual/dropdown.html +212 -0
- data/assets/scss/bootstrap/js/tests/visual/modal.html +268 -0
- data/assets/scss/bootstrap/js/tests/visual/popover.html +46 -0
- data/assets/scss/bootstrap/js/tests/visual/scrollspy.html +95 -0
- data/assets/scss/bootstrap/js/tests/visual/tab.html +234 -0
- data/assets/scss/bootstrap/js/tests/visual/toast.html +72 -0
- data/assets/scss/bootstrap/js/tests/visual/tooltip.html +106 -0
- data/assets/scss/bootstrap/scss/_alert.scss +51 -0
- data/assets/scss/bootstrap/scss/_badge.scss +54 -0
- data/assets/scss/bootstrap/scss/_breadcrumb.scss +41 -0
- data/assets/scss/bootstrap/scss/_button-group.scss +163 -0
- data/assets/scss/bootstrap/scss/_buttons.scss +137 -0
- data/assets/scss/bootstrap/scss/_card.scss +289 -0
- data/assets/scss/bootstrap/scss/_carousel.scss +197 -0
- data/assets/scss/bootstrap/scss/_close.scss +41 -0
- data/assets/scss/bootstrap/scss/_code.scss +48 -0
- data/assets/scss/bootstrap/scss/_custom-forms.scss +507 -0
- data/assets/scss/bootstrap/scss/_dropdown.scss +191 -0
- data/assets/scss/bootstrap/scss/_forms.scss +330 -0
- data/assets/scss/bootstrap/scss/_functions.scss +86 -0
- data/assets/scss/bootstrap/scss/_grid.scss +52 -0
- data/assets/scss/bootstrap/scss/_images.scss +42 -0
- data/assets/scss/bootstrap/scss/_input-group.scss +193 -0
- data/assets/scss/bootstrap/scss/_jumbotron.scss +17 -0
- data/assets/scss/bootstrap/scss/_list-group.scss +149 -0
- data/assets/scss/bootstrap/scss/_media.scss +8 -0
- data/assets/scss/bootstrap/scss/_mixins.scss +47 -0
- data/assets/scss/bootstrap/scss/_modal.scss +229 -0
- data/assets/scss/bootstrap/scss/_nav.scss +120 -0
- data/assets/scss/bootstrap/scss/_navbar.scss +294 -0
- data/assets/scss/bootstrap/scss/_pagination.scss +73 -0
- data/assets/scss/bootstrap/scss/_popover.scss +171 -0
- data/assets/scss/bootstrap/scss/_print.scss +141 -0
- data/assets/scss/bootstrap/scss/_progress.scss +43 -0
- data/assets/scss/bootstrap/scss/_reboot.scss +483 -0
- data/assets/scss/bootstrap/scss/_root.scss +19 -0
- data/assets/scss/bootstrap/scss/_spinners.scss +55 -0
- data/assets/scss/bootstrap/scss/_tables.scss +185 -0
- data/assets/scss/bootstrap/scss/_toasts.scss +44 -0
- data/assets/scss/bootstrap/scss/_tooltip.scss +115 -0
- data/assets/scss/bootstrap/scss/_transitions.scss +20 -0
- data/assets/scss/bootstrap/scss/_type.scss +125 -0
- data/assets/scss/bootstrap/scss/_utilities.scss +17 -0
- data/assets/scss/bootstrap/scss/_variables.scss +1123 -0
- data/assets/scss/bootstrap/scss/bootstrap-grid.scss +29 -0
- data/assets/scss/bootstrap/scss/bootstrap-reboot.scss +12 -0
- data/assets/scss/bootstrap/scss/bootstrap.scss +44 -0
- data/assets/scss/bootstrap/scss/mixins/_alert.scss +13 -0
- data/assets/scss/bootstrap/scss/mixins/_background-variant.scss +21 -0
- data/assets/scss/bootstrap/scss/mixins/_badge.scss +17 -0
- data/assets/scss/bootstrap/scss/mixins/_border-radius.scss +63 -0
- data/assets/scss/bootstrap/scss/mixins/_box-shadow.scss +20 -0
- data/assets/scss/bootstrap/scss/mixins/_breakpoints.scss +123 -0
- data/assets/scss/bootstrap/scss/mixins/_buttons.scss +107 -0
- data/assets/scss/bootstrap/scss/mixins/_caret.scss +62 -0
- data/assets/scss/bootstrap/scss/mixins/_clearfix.scss +7 -0
- data/assets/scss/bootstrap/scss/mixins/_deprecate.scss +10 -0
- data/assets/scss/bootstrap/scss/mixins/_float.scss +14 -0
- data/assets/scss/bootstrap/scss/mixins/_forms.scss +192 -0
- data/assets/scss/bootstrap/scss/mixins/_gradients.scss +45 -0
- data/assets/scss/bootstrap/scss/mixins/_grid-framework.scss +66 -0
- data/assets/scss/bootstrap/scss/mixins/_grid.scss +51 -0
- data/assets/scss/bootstrap/scss/mixins/_hover.scss +37 -0
- data/assets/scss/bootstrap/scss/mixins/_image.scss +36 -0
- data/assets/scss/bootstrap/scss/mixins/_list-group.scss +21 -0
- data/assets/scss/bootstrap/scss/mixins/_lists.scss +7 -0
- data/assets/scss/bootstrap/scss/mixins/_nav-divider.scss +10 -0
- data/assets/scss/bootstrap/scss/mixins/_pagination.scss +22 -0
- data/assets/scss/bootstrap/scss/mixins/_reset-text.scss +17 -0
- data/assets/scss/bootstrap/scss/mixins/_resize.scss +6 -0
- data/assets/scss/bootstrap/scss/mixins/_screen-reader.scss +33 -0
- data/assets/scss/bootstrap/scss/mixins/_size.scss +7 -0
- data/assets/scss/bootstrap/scss/mixins/_table-row.scss +39 -0
- data/assets/scss/bootstrap/scss/mixins/_text-emphasis.scss +16 -0
- data/assets/scss/bootstrap/scss/mixins/_text-hide.scss +11 -0
- data/assets/scss/bootstrap/scss/mixins/_text-truncate.scss +8 -0
- data/assets/scss/bootstrap/scss/mixins/_transition.scss +16 -0
- data/assets/scss/bootstrap/scss/mixins/_visibility.scss +8 -0
- data/assets/scss/bootstrap/scss/utilities/_align.scss +8 -0
- data/assets/scss/bootstrap/scss/utilities/_background.scss +19 -0
- data/assets/scss/bootstrap/scss/utilities/_borders.scss +75 -0
- data/assets/scss/bootstrap/scss/utilities/_clearfix.scss +3 -0
- data/assets/scss/bootstrap/scss/utilities/_display.scss +26 -0
- data/assets/scss/bootstrap/scss/utilities/_embed.scss +39 -0
- data/assets/scss/bootstrap/scss/utilities/_flex.scss +51 -0
- data/assets/scss/bootstrap/scss/utilities/_float.scss +11 -0
- data/assets/scss/bootstrap/scss/utilities/_overflow.scss +5 -0
- data/assets/scss/bootstrap/scss/utilities/_position.scss +32 -0
- data/assets/scss/bootstrap/scss/utilities/_screenreaders.scss +11 -0
- data/assets/scss/bootstrap/scss/utilities/_shadows.scss +6 -0
- data/assets/scss/bootstrap/scss/utilities/_sizing.scss +20 -0
- data/assets/scss/bootstrap/scss/utilities/_spacing.scss +73 -0
- data/assets/scss/bootstrap/scss/utilities/_stretched-link.scss +19 -0
- data/assets/scss/bootstrap/scss/utilities/_text.scss +72 -0
- data/assets/scss/bootstrap/scss/utilities/_visibility.scss +13 -0
- data/assets/scss/bootstrap/scss/vendor/_rfs.scss +212 -0
- data/assets/scss/theme/_about.scss +28 -0
- data/assets/scss/theme/_base.scss +207 -0
- data/assets/scss/theme/_blog.scss +140 -0
- data/assets/scss/theme/_demo.scss +153 -0
- data/assets/scss/theme/_mixins.scss +34 -0
- data/assets/scss/theme/_responsive.scss +88 -0
- data/assets/scss/theme/styles.scss +14 -0
- data/assets/scss/theme-8.scss +41 -0
- data/assets/styles.scss +6 -0
- metadata +221 -4
@@ -0,0 +1,212 @@
|
|
1
|
+
// stylelint-disable property-blacklist, scss/dollar-variable-default
|
2
|
+
|
3
|
+
// SCSS RFS mixin
|
4
|
+
//
|
5
|
+
// Automated font-resizing
|
6
|
+
//
|
7
|
+
// See https://github.com/twbs/rfs
|
8
|
+
|
9
|
+
// Configuration
|
10
|
+
|
11
|
+
// Base font size
|
12
|
+
$rfs-base-font-size: 1.25rem !default;
|
13
|
+
$rfs-font-size-unit: rem !default;
|
14
|
+
|
15
|
+
// Breakpoint at where font-size starts decreasing if screen width is smaller
|
16
|
+
$rfs-breakpoint: 1200px !default;
|
17
|
+
$rfs-breakpoint-unit: px !default;
|
18
|
+
|
19
|
+
// Resize font-size based on screen height and width
|
20
|
+
$rfs-two-dimensional: false !default;
|
21
|
+
|
22
|
+
// Factor of decrease
|
23
|
+
$rfs-factor: 10 !default;
|
24
|
+
|
25
|
+
@if type-of($rfs-factor) != "number" or $rfs-factor <= 1 {
|
26
|
+
@error "`#{$rfs-factor}` is not a valid $rfs-factor, it must be greater than 1.";
|
27
|
+
}
|
28
|
+
|
29
|
+
// Generate enable or disable classes. Possibilities: false, "enable" or "disable"
|
30
|
+
$rfs-class: false !default;
|
31
|
+
|
32
|
+
// 1 rem = $rfs-rem-value px
|
33
|
+
$rfs-rem-value: 16 !default;
|
34
|
+
|
35
|
+
// Safari iframe resize bug: https://github.com/twbs/rfs/issues/14
|
36
|
+
$rfs-safari-iframe-resize-bug-fix: false !default;
|
37
|
+
|
38
|
+
// Disable RFS by setting $enable-responsive-font-sizes to false
|
39
|
+
$enable-responsive-font-sizes: true !default;
|
40
|
+
|
41
|
+
// Cache $rfs-base-font-size unit
|
42
|
+
$rfs-base-font-size-unit: unit($rfs-base-font-size);
|
43
|
+
|
44
|
+
// Remove px-unit from $rfs-base-font-size for calculations
|
45
|
+
@if $rfs-base-font-size-unit == "px" {
|
46
|
+
$rfs-base-font-size: $rfs-base-font-size / ($rfs-base-font-size * 0 + 1);
|
47
|
+
}
|
48
|
+
@else if $rfs-base-font-size-unit == "rem" {
|
49
|
+
$rfs-base-font-size: $rfs-base-font-size / ($rfs-base-font-size * 0 + 1 / $rfs-rem-value);
|
50
|
+
}
|
51
|
+
|
52
|
+
// Cache $rfs-breakpoint unit to prevent multiple calls
|
53
|
+
$rfs-breakpoint-unit-cache: unit($rfs-breakpoint);
|
54
|
+
|
55
|
+
// Remove unit from $rfs-breakpoint for calculations
|
56
|
+
@if $rfs-breakpoint-unit-cache == "px" {
|
57
|
+
$rfs-breakpoint: $rfs-breakpoint / ($rfs-breakpoint * 0 + 1);
|
58
|
+
}
|
59
|
+
@else if $rfs-breakpoint-unit-cache == "rem" or $rfs-breakpoint-unit-cache == "em" {
|
60
|
+
$rfs-breakpoint: $rfs-breakpoint / ($rfs-breakpoint * 0 + 1 / $rfs-rem-value);
|
61
|
+
}
|
62
|
+
|
63
|
+
// Responsive font-size mixin
|
64
|
+
@mixin rfs($fs, $important: false) {
|
65
|
+
// Cache $fs unit
|
66
|
+
$fs-unit: if(type-of($fs) == "number", unit($fs), false);
|
67
|
+
|
68
|
+
// Add !important suffix if needed
|
69
|
+
$rfs-suffix: if($important, " !important", "");
|
70
|
+
|
71
|
+
// If $fs isn't a number (like inherit) or $fs has a unit (not px or rem, like 1.5em) or $ is 0, just print the value
|
72
|
+
@if not $fs-unit or $fs-unit != "" and $fs-unit != "px" and $fs-unit != "rem" or $fs == 0 {
|
73
|
+
font-size: #{$fs}#{$rfs-suffix};
|
74
|
+
}
|
75
|
+
@else {
|
76
|
+
// Variables for storing static and fluid rescaling
|
77
|
+
$rfs-static: null;
|
78
|
+
$rfs-fluid: null;
|
79
|
+
|
80
|
+
// Remove px-unit from $fs for calculations
|
81
|
+
@if $fs-unit == "px" {
|
82
|
+
$fs: $fs / ($fs * 0 + 1);
|
83
|
+
}
|
84
|
+
@else if $fs-unit == "rem" {
|
85
|
+
$fs: $fs / ($fs * 0 + 1 / $rfs-rem-value);
|
86
|
+
}
|
87
|
+
|
88
|
+
// Set default font-size
|
89
|
+
@if $rfs-font-size-unit == rem {
|
90
|
+
$rfs-static: #{$fs / $rfs-rem-value}rem#{$rfs-suffix};
|
91
|
+
}
|
92
|
+
@else if $rfs-font-size-unit == px {
|
93
|
+
$rfs-static: #{$fs}px#{$rfs-suffix};
|
94
|
+
}
|
95
|
+
@else {
|
96
|
+
@error "`#{$rfs-font-size-unit}` is not a valid unit for $rfs-font-size-unit. Use `px` or `rem`.";
|
97
|
+
}
|
98
|
+
|
99
|
+
// Only add media query if font-size is bigger as the minimum font-size
|
100
|
+
// If $rfs-factor == 1, no rescaling will take place
|
101
|
+
@if $fs > $rfs-base-font-size and $enable-responsive-font-sizes {
|
102
|
+
$min-width: null;
|
103
|
+
$variable-unit: null;
|
104
|
+
|
105
|
+
// Calculate minimum font-size for given font-size
|
106
|
+
$fs-min: $rfs-base-font-size + ($fs - $rfs-base-font-size) / $rfs-factor;
|
107
|
+
|
108
|
+
// Calculate difference between given font-size and minimum font-size for given font-size
|
109
|
+
$fs-diff: $fs - $fs-min;
|
110
|
+
|
111
|
+
// Base font-size formatting
|
112
|
+
// No need to check if the unit is valid, because we did that before
|
113
|
+
$min-width: if($rfs-font-size-unit == rem, #{$fs-min / $rfs-rem-value}rem, #{$fs-min}px);
|
114
|
+
|
115
|
+
// If two-dimensional, use smallest of screen width and height
|
116
|
+
$variable-unit: if($rfs-two-dimensional, vmin, vw);
|
117
|
+
|
118
|
+
// Calculate the variable width between 0 and $rfs-breakpoint
|
119
|
+
$variable-width: #{$fs-diff * 100 / $rfs-breakpoint}#{$variable-unit};
|
120
|
+
|
121
|
+
// Set the calculated font-size.
|
122
|
+
$rfs-fluid: calc(#{$min-width} + #{$variable-width}) #{$rfs-suffix};
|
123
|
+
}
|
124
|
+
|
125
|
+
// Rendering
|
126
|
+
@if $rfs-fluid == null {
|
127
|
+
// Only render static font-size if no fluid font-size is available
|
128
|
+
font-size: $rfs-static;
|
129
|
+
}
|
130
|
+
@else {
|
131
|
+
$mq-value: null;
|
132
|
+
|
133
|
+
// RFS breakpoint formatting
|
134
|
+
@if $rfs-breakpoint-unit == em or $rfs-breakpoint-unit == rem {
|
135
|
+
$mq-value: #{$rfs-breakpoint / $rfs-rem-value}#{$rfs-breakpoint-unit};
|
136
|
+
}
|
137
|
+
@else if $rfs-breakpoint-unit == px {
|
138
|
+
$mq-value: #{$rfs-breakpoint}px;
|
139
|
+
}
|
140
|
+
@else {
|
141
|
+
@error "`#{$rfs-breakpoint-unit}` is not a valid unit for $rfs-breakpoint-unit. Use `px`, `em` or `rem`.";
|
142
|
+
}
|
143
|
+
|
144
|
+
@if $rfs-class == "disable" {
|
145
|
+
// Adding an extra class increases specificity,
|
146
|
+
// which prevents the media query to override the font size
|
147
|
+
&,
|
148
|
+
.disable-responsive-font-size &,
|
149
|
+
&.disable-responsive-font-size {
|
150
|
+
font-size: $rfs-static;
|
151
|
+
}
|
152
|
+
}
|
153
|
+
@else {
|
154
|
+
font-size: $rfs-static;
|
155
|
+
}
|
156
|
+
|
157
|
+
@if $rfs-two-dimensional {
|
158
|
+
@media (max-width: #{$mq-value}), (max-height: #{$mq-value}) {
|
159
|
+
@if $rfs-class == "enable" {
|
160
|
+
.enable-responsive-font-size &,
|
161
|
+
&.enable-responsive-font-size {
|
162
|
+
font-size: $rfs-fluid;
|
163
|
+
}
|
164
|
+
}
|
165
|
+
@else {
|
166
|
+
font-size: $rfs-fluid;
|
167
|
+
}
|
168
|
+
|
169
|
+
@if $rfs-safari-iframe-resize-bug-fix {
|
170
|
+
// stylelint-disable-next-line length-zero-no-unit
|
171
|
+
min-width: 0vw;
|
172
|
+
}
|
173
|
+
}
|
174
|
+
}
|
175
|
+
@else {
|
176
|
+
@media (max-width: #{$mq-value}) {
|
177
|
+
@if $rfs-class == "enable" {
|
178
|
+
.enable-responsive-font-size &,
|
179
|
+
&.enable-responsive-font-size {
|
180
|
+
font-size: $rfs-fluid;
|
181
|
+
}
|
182
|
+
}
|
183
|
+
@else {
|
184
|
+
font-size: $rfs-fluid;
|
185
|
+
}
|
186
|
+
|
187
|
+
@if $rfs-safari-iframe-resize-bug-fix {
|
188
|
+
// stylelint-disable-next-line length-zero-no-unit
|
189
|
+
min-width: 0vw;
|
190
|
+
}
|
191
|
+
}
|
192
|
+
}
|
193
|
+
}
|
194
|
+
}
|
195
|
+
}
|
196
|
+
|
197
|
+
// The font-size & responsive-font-size mixin uses RFS to rescale font sizes
|
198
|
+
@mixin font-size($fs, $important: false) {
|
199
|
+
@include rfs($fs, $important);
|
200
|
+
}
|
201
|
+
|
202
|
+
@mixin responsive-font-size($fs, $important: false) {
|
203
|
+
@include rfs($fs, $important);
|
204
|
+
}
|
205
|
+
|
206
|
+
$rfs-is-included: false !default;
|
207
|
+
|
208
|
+
@if $rfs-is-included {
|
209
|
+
@warn "Watch out, RFS is included more than once!";
|
210
|
+
}
|
211
|
+
|
212
|
+
$rfs-is-included: true;
|
@@ -0,0 +1,28 @@
|
|
1
|
+
/* ============= About Page ============= */
|
2
|
+
.about-section {
|
3
|
+
.heading {
|
4
|
+
font-size: 2rem;
|
5
|
+
}
|
6
|
+
p, li {
|
7
|
+
font-size: 1.125rem;
|
8
|
+
line-height: 1.6;
|
9
|
+
}
|
10
|
+
h1 {
|
11
|
+
font-size: 2.125rem;
|
12
|
+
}
|
13
|
+
h2 {
|
14
|
+
font-size: 2rem;
|
15
|
+
}
|
16
|
+
h3 {
|
17
|
+
font-size: 1.75rem;
|
18
|
+
}
|
19
|
+
h4 {
|
20
|
+
font-size: 1.5rem;
|
21
|
+
}
|
22
|
+
h5 {
|
23
|
+
font-size: 1.25rem;
|
24
|
+
}
|
25
|
+
h6 {
|
26
|
+
font-size: 1.125rem;
|
27
|
+
}
|
28
|
+
}
|
@@ -0,0 +1,207 @@
|
|
1
|
+
/* ============= Base ============= */
|
2
|
+
|
3
|
+
/*********** Theme Generic **********/
|
4
|
+
body {
|
5
|
+
-webkit-font-smoothing: antialiased;
|
6
|
+
-moz-osx-font-smoothing: grayscale;
|
7
|
+
color: $theme-text-color-secondary;
|
8
|
+
|
9
|
+
}
|
10
|
+
|
11
|
+
h1, h2, h3, h4, h5, h6 {
|
12
|
+
color: $theme-text-color-primary;
|
13
|
+
font-weight: bold;
|
14
|
+
}
|
15
|
+
|
16
|
+
|
17
|
+
.btn {
|
18
|
+
font-weight: bold;
|
19
|
+
padding: .375rem 1rem;
|
20
|
+
height: 2.75rem;
|
21
|
+
@include transition(all 0.4s ease-in-out);
|
22
|
+
}
|
23
|
+
|
24
|
+
.btn:focus, .btn.focus {
|
25
|
+
box-shadow: none !important;
|
26
|
+
}
|
27
|
+
|
28
|
+
.btn-primary {
|
29
|
+
color: #fff;
|
30
|
+
}
|
31
|
+
|
32
|
+
.form-control {
|
33
|
+
padding-top: 0.875rem;
|
34
|
+
padding-bottom: 0.875rem;
|
35
|
+
height: 2.75rem;
|
36
|
+
border-color: $theme-border-color;
|
37
|
+
}
|
38
|
+
|
39
|
+
.theme-bg-light {
|
40
|
+
background: $theme-bg-light !important;
|
41
|
+
}
|
42
|
+
.theme-bg-dark {
|
43
|
+
background: $theme-bg-dark !important;
|
44
|
+
}
|
45
|
+
/* Header */
|
46
|
+
.header {
|
47
|
+
position: fixed;
|
48
|
+
left: 0;
|
49
|
+
top: 0;
|
50
|
+
height:100vh;
|
51
|
+
width: $sidebar-width;
|
52
|
+
background: $theme-color-primary;
|
53
|
+
color: #fff;
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
.blog-name {
|
58
|
+
font-weight: bold;
|
59
|
+
font-size: 1.5rem;
|
60
|
+
color: #fff;
|
61
|
+
a {
|
62
|
+
color: #fff;
|
63
|
+
&:hover {
|
64
|
+
text-decoration: none;
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
|
69
|
+
.btn-primary {
|
70
|
+
background: rgba(0, 0, 0, 0.3);
|
71
|
+
border-color: transparent;
|
72
|
+
font-size: 1rem;
|
73
|
+
padding-top: 0.5rem;
|
74
|
+
&:hover {
|
75
|
+
background: rgba(0, 0, 0, 0.4);
|
76
|
+
border-color: transparent;
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
|
81
|
+
.navbar {
|
82
|
+
padding: 2rem 1rem;
|
83
|
+
}
|
84
|
+
|
85
|
+
.navbar-dark {
|
86
|
+
|
87
|
+
.navbar-toggler {
|
88
|
+
@include border-radius(2px);
|
89
|
+
@include opacity(0.8);
|
90
|
+
border: 1px solid rgba(256, 256, 256, 0.8);
|
91
|
+
padding: .25rem .6rem;
|
92
|
+
|
93
|
+
&:hover {
|
94
|
+
@include opacity(1);
|
95
|
+
|
96
|
+
}
|
97
|
+
}
|
98
|
+
|
99
|
+
|
100
|
+
.navbar-toggler-icon {
|
101
|
+
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(256,256,256, 1)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
|
102
|
+
}
|
103
|
+
}
|
104
|
+
|
105
|
+
.nav-item {
|
106
|
+
font-weight: bold;
|
107
|
+
&.active {
|
108
|
+
.nav-link {
|
109
|
+
|
110
|
+
color: rgba(0, 0, 0, 0.5);
|
111
|
+
&:hover {
|
112
|
+
text-decoration: none;
|
113
|
+
}
|
114
|
+
}
|
115
|
+
|
116
|
+
|
117
|
+
}
|
118
|
+
.nav-link {
|
119
|
+
color: rgba(256, 256, 256, 0.8);
|
120
|
+
&:hover {
|
121
|
+
text-decoration: underline;
|
122
|
+
color: rgba(0, 0, 0, 0.6);
|
123
|
+
}
|
124
|
+
}
|
125
|
+
|
126
|
+
|
127
|
+
}
|
128
|
+
}
|
129
|
+
|
130
|
+
.profile-section {
|
131
|
+
.profile-image {
|
132
|
+
max-width: 160px;
|
133
|
+
}
|
134
|
+
|
135
|
+
.bio {
|
136
|
+
font-size: 0.875rem;
|
137
|
+
a {
|
138
|
+
color: #fff;
|
139
|
+
text-decoration: underline;
|
140
|
+
|
141
|
+
&:hover {
|
142
|
+
color: rgba(0, 0, 0, 0.6);
|
143
|
+
|
144
|
+
}
|
145
|
+
}
|
146
|
+
}
|
147
|
+
|
148
|
+
|
149
|
+
}
|
150
|
+
.social-list {
|
151
|
+
|
152
|
+
a {
|
153
|
+
width: 32px;
|
154
|
+
height: 32px;
|
155
|
+
padding-top: 5px;
|
156
|
+
display: inline-block;
|
157
|
+
text-align: center;
|
158
|
+
@include border-radius(50%);
|
159
|
+
@include transition(all 0.4s ease-in-out);
|
160
|
+
background-color: #fff;
|
161
|
+
&:hover {
|
162
|
+
color: darken($theme-color-primary, 10%);
|
163
|
+
background-color: rgba(256, 256, 256, 0.8);
|
164
|
+
}
|
165
|
+
|
166
|
+
}
|
167
|
+
}
|
168
|
+
|
169
|
+
/* Main wrapper */
|
170
|
+
.main-wrapper {
|
171
|
+
margin-left: $sidebar-width;
|
172
|
+
background: #fff;
|
173
|
+
|
174
|
+
.container {
|
175
|
+
max-width: $single-col-max-width;
|
176
|
+
}
|
177
|
+
}
|
178
|
+
|
179
|
+
.cta-section {
|
180
|
+
.heading {
|
181
|
+
font-size: 2rem;
|
182
|
+
font-weight: bold;
|
183
|
+
}
|
184
|
+
}
|
185
|
+
|
186
|
+
.promo-section {
|
187
|
+
margin-bottom: 40px;
|
188
|
+
.promo-image {
|
189
|
+
max-width: 320px;
|
190
|
+
}
|
191
|
+
.promo-section-inner {
|
192
|
+
background: $theme-color-primary;
|
193
|
+
}
|
194
|
+
}
|
195
|
+
|
196
|
+
/* Footer */
|
197
|
+
.footer {
|
198
|
+
//position: fixed;
|
199
|
+
//left: 0;
|
200
|
+
//width: 100%;
|
201
|
+
//bottom: 0;
|
202
|
+
color: rgba(256, 256, 256, 0.7);
|
203
|
+
a {
|
204
|
+
color: #fff;
|
205
|
+
|
206
|
+
}
|
207
|
+
}
|
@@ -0,0 +1,140 @@
|
|
1
|
+
.blog-list {
|
2
|
+
.item {
|
3
|
+
.title {
|
4
|
+
font-size: 1.275rem;
|
5
|
+
a {
|
6
|
+
color: $theme-text-color-primary;
|
7
|
+
&:hover {
|
8
|
+
color: $theme-text-color-primary;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
}
|
13
|
+
.post-thumb {
|
14
|
+
max-width: 110px;
|
15
|
+
@include border-radius(2px);
|
16
|
+
}
|
17
|
+
|
18
|
+
|
19
|
+
.intro {
|
20
|
+
font-size: 0.875rem;
|
21
|
+
}
|
22
|
+
.more-link {
|
23
|
+
font-size: 0.8125rem;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
.meta {
|
29
|
+
color: $theme-text-color-light;
|
30
|
+
font-size: 0.8125rem;
|
31
|
+
span {
|
32
|
+
display: inline-block;
|
33
|
+
a {
|
34
|
+
color: $theme-text-color-light;
|
35
|
+
&:hover {
|
36
|
+
color: $theme-text-color-secondary;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
&:after {
|
40
|
+
content: "";
|
41
|
+
display: inline-block;
|
42
|
+
width: 3px;
|
43
|
+
height: 3px;
|
44
|
+
@include border-radius(50%);
|
45
|
+
background: $theme-text-color-light;
|
46
|
+
margin-left: 0.5rem;
|
47
|
+
margin-right: 0.5rem;
|
48
|
+
position: relative;
|
49
|
+
top: -3px;
|
50
|
+
}
|
51
|
+
&:last-child {
|
52
|
+
&:after {
|
53
|
+
display:none;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
|
58
|
+
}
|
59
|
+
|
60
|
+
.blog-nav {
|
61
|
+
.nav-link {
|
62
|
+
background: $theme-color-primary;
|
63
|
+
color: #fff;
|
64
|
+
font-size: 1rem;
|
65
|
+
padding: 1rem;
|
66
|
+
font-weight:bold;
|
67
|
+
position: relative;
|
68
|
+
&:hover {
|
69
|
+
background: darken($theme-color-primary, 10%);
|
70
|
+
}
|
71
|
+
}
|
72
|
+
.nav-link-prev {
|
73
|
+
border-right: 1px solid darken($theme-color-primary, 20%);
|
74
|
+
}
|
75
|
+
.arrow-prev {
|
76
|
+
position: absolute;
|
77
|
+
left: 1rem;
|
78
|
+
top: 1.25rem;
|
79
|
+
color: #fff;
|
80
|
+
}
|
81
|
+
|
82
|
+
.arrow-next {
|
83
|
+
position: absolute;
|
84
|
+
right: 1rem;
|
85
|
+
top: 1.25rem;
|
86
|
+
color: #fff;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
|
90
|
+
|
91
|
+
.blog-post {
|
92
|
+
.title {
|
93
|
+
font-weight: bold;
|
94
|
+
font-size: 2rem;
|
95
|
+
}
|
96
|
+
.blog-post-body {
|
97
|
+
p, li {
|
98
|
+
font-size: 1.125rem;
|
99
|
+
line-height: 1.6;
|
100
|
+
}
|
101
|
+
h1 {
|
102
|
+
font-size: 2.125rem;
|
103
|
+
}
|
104
|
+
h2 {
|
105
|
+
font-size: 2rem;
|
106
|
+
}
|
107
|
+
h3 {
|
108
|
+
font-size: 1.75rem;
|
109
|
+
}
|
110
|
+
h4 {
|
111
|
+
font-size: 1.5rem;
|
112
|
+
}
|
113
|
+
h5 {
|
114
|
+
font-size: 1.25rem;
|
115
|
+
}
|
116
|
+
h6 {
|
117
|
+
font-size: 1.125rem;
|
118
|
+
}
|
119
|
+
}
|
120
|
+
.image-caption {
|
121
|
+
color: $theme-text-color-light;
|
122
|
+
font-size: 0.875rem;
|
123
|
+
a {
|
124
|
+
color: $theme-text-color-light;
|
125
|
+
text-decoration: underline;
|
126
|
+
&:hover {
|
127
|
+
color: $theme-text-color-secondary;
|
128
|
+
}
|
129
|
+
}
|
130
|
+
}
|
131
|
+
.blockquote {
|
132
|
+
font-family: Georgia,"Times New Roman",Times,serif;
|
133
|
+
border-left: 2px solid $theme-text-color-primary;
|
134
|
+
font-size: 1.5rem;
|
135
|
+
p {
|
136
|
+
font-size: 1.5rem;
|
137
|
+
}
|
138
|
+
|
139
|
+
}
|
140
|
+
}
|