Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thingsym/hugo-theme-techdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthingsym <thingsym@gmail.com>2019-12-07 13:00:06 +0300
committerthingsym <thingsym@gmail.com>2019-12-07 13:00:06 +0300
commited876752b49b2650f0bdab1eb1f29c4665cee3cf (patch)
tree3592b4df760483be49d5a38af609ca2938eb6bf5 /src/scss/_variable.scss
parent5d5846ed5eaa001440c0987c12121e119f79cca6 (diff)
perf: improve scss
Diffstat (limited to 'src/scss/_variable.scss')
-rw-r--r--src/scss/_variable.scss24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/scss/_variable.scss b/src/scss/_variable.scss
index f87e369..fc6ea3f 100644
--- a/src/scss/_variable.scss
+++ b/src/scss/_variable.scss
@@ -1,33 +1,33 @@
$default-layout-width: 1024px;
-$default-layout-margin: 2%;
$default-font-size: 100%;
+$default-line-space: 8px;
+$default-line-height: line-height($default-line-space, $default-font-size);
+$default-stack: stack($default-line-height, $default-font-size) * 4;
+
+$default-layout-margin: 0;
+$default-layout-padding: $default-stack;
+
$default-font-color: #000;
$default-font-family: -apple-system, BlinkMacSystemFont, "游ゴシック体", YuGothic, "メイリオ", Meiryo, "Helvetica Neue", HelveticaNeue, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
-$default-line-height: 1.8;
-$default-margin: 2rem;
-$default-padding: 1.2rem;
-$default-stack: 1.8rem;
-
// color
$default-background-color: #fafafa;
+$default-border-color: #f0f0f0;
+
+$default-link-text-color: #2e7eb3;
+$default-link-text-hover-color: #38a0e4;
$sidebar-background-color: #f9f9f9;
$sidebar-hover-color: #eee;
$sidebar-active-color: #eee;
-$default-link-text-color: #2e7eb3;
-$default-link-hover-text-color: #38a0e4;
-
-$default-border-color: #f0f0f0;
-
// code
$code-font-size: .95rem;
-$code-font-family: Consolas,"Liberation Mono",Menlo,Courier,monospace;
$code-block-background-color: #f4f6f8;
$code-border-color: #f0f0f0;
$code-inline-background-color: #f0f0f0;
+$code-font-family: Consolas,"Liberation Mono",Menlo,Courier,monospace;
// breakpoint
$default-breakpoints: (