aboutsummaryrefslogtreecommitdiff
path: root/themes/hugo-theme-stack/assets/scss/partials/base.scss
diff options
context:
space:
mode:
authorAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-11-03 20:08:36 +0300
committerAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-11-03 20:08:36 +0300
commit59c7d4567380d1a9c80e96eb958fdbdd512ce006 (patch)
tree65410cfc10dbc7d060ec23be110662d9b7f6b0e9 /themes/hugo-theme-stack/assets/scss/partials/base.scss
новая жизнь блога
Diffstat (limited to 'themes/hugo-theme-stack/assets/scss/partials/base.scss')
-rw-r--r--themes/hugo-theme-stack/assets/scss/partials/base.scss38
1 files changed, 38 insertions, 0 deletions
diff --git a/themes/hugo-theme-stack/assets/scss/partials/base.scss b/themes/hugo-theme-stack/assets/scss/partials/base.scss
new file mode 100644
index 0000000..efb4b8f
--- /dev/null
+++ b/themes/hugo-theme-stack/assets/scss/partials/base.scss
@@ -0,0 +1,38 @@
+html {
+ font-size: 62.5%;
+ overflow-y: scroll;
+}
+
+* {
+ box-sizing: border-box;
+}
+
+body {
+ background: var(--body-background);
+ margin: 0;
+ font-family: var(--base-font-family);
+ font-size: 1.6rem;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+}
+
+/* scrollbar styles for Firefox */
+* {
+ scrollbar-width: auto;
+ scrollbar-color: var(--scrollbar-thumb) transparent;
+}
+/**/
+
+/* scrollbar styles for Chromium */
+::-webkit-scrollbar {
+ height: auto;
+}
+
+::-webkit-scrollbar-thumb {
+ background-color: var(--scrollbar-thumb);
+}
+
+::-webkit-scrollbar-track {
+ background-color: transparent;
+}
+/**/ \ No newline at end of file