mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2024-11-23 18:31:45 +01:00
0d0375a7fc
* add LanguageDirection variable * add .direction-rtl and .direction-ltr clases * margin -right > margin-inline-end * keep Codeblocks LTR * switch to logical properties * left -> inset-inline-start * Add Arabic/RTL placeholder text * Add arabic language * remove space * use Html Dir instead of class * Move codeblock code to layout/article.css and fix 4 spaces codeblocks * remove unused clases
38 lines
No EOL
658 B
SCSS
38 lines
No EOL
658 B
SCSS
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;
|
|
}
|
|
/**/ |