summaryrefslogtreecommitdiff
path: root/sass
diff options
context:
space:
mode:
authorxAlpharax <42233094+xAlpharax@users.noreply.github.com>2024-10-06 02:09:15 +0300
committerxAlpharax <42233094+xAlpharax@users.noreply.github.com>2024-10-06 02:09:15 +0300
commit4eae5213c9e1b2c6db6035247a0124912c4dfba1 (patch)
tree128fbbbddf3508c1cb4b1c00118c9fc34a74d683 /sass
parentae0525c25ba7c00ec688c5006a931ce68485d366 (diff)
Really nice optimizations.
Changes to be committed: modified: config.toml modified: sass/_predefined.scss modified: sass/style.scss modified: static/js/main.js renamed: static/auto-render.min.js -> static/katex/auto-render.min.js renamed: static/katex.min.css -> static/katex/katex.min.css renamed: static/katex.min.js -> static/katex/katex.min.js modified: templates/index.html modified: templates/page.html
Diffstat (limited to 'sass')
-rw-r--r--sass/_predefined.scss19
-rw-r--r--sass/style.scss7
2 files changed, 4 insertions, 22 deletions
diff --git a/sass/_predefined.scss b/sass/_predefined.scss
index 105172d..977e7f7 100644
--- a/sass/_predefined.scss
+++ b/sass/_predefined.scss
@@ -1,25 +1,8 @@
// Colors
//
-//bkup hermit colors
-//$theme: #018574; // links // green
-//$text: #c6cddb; // general text // white grey
-//$light-grey: #494f5c; // bg // all below are grey darkish
-//$dark-grey: #3b3e48;
-//$highlight-grey: #7d828a;
-//$midnightblue: #2b303b; //#31333d; // to fix code syntax highlighting
-
-// Alphara banner pic colors
-
-//$theme: #8dabd0; // links // green
-//$text: #8dabd0; // fg // general text // white
-//$light-grey: #4e6695; // bg // blue
-//$dark-grey: #4e6695;
-//$highlight-grey: #4e6695;
-//$midnightblue: #2b303b; // to fix code syntax highlighting
-
// My X11 colors
-
+//
$theme: #e94c80;
$text: #ace6f0; // fg // general text // white
$light-grey: #0a001f; // bg // blue
diff --git a/sass/style.scss b/sass/style.scss
index 8ffaa86..0ac9a88 100644
--- a/sass/style.scss
+++ b/sass/style.scss
@@ -47,7 +47,6 @@ pre {
letter-spacing: normal;
white-space: pre-wrap;
word-wrap: break-word;
- color: #eee;
border-radius: 4px;
-webkit-overflow-scrolling: touch; // For iOS improved scrolling
@@ -55,11 +54,12 @@ pre {
padding: 0;
margin: 0;
background: $midnightblue;
+ color: $text;
}
}
code {
- color: #eee;
+ color: $dark-grey;
background: $highlight-grey;
border-radius: 3px;
padding: 0 3px;
@@ -93,7 +93,6 @@ a {
transition-timing-function: ease-out;
&:hover {
- //color: #fff;
color: $theme;
}
@@ -246,7 +245,7 @@ table {
cursor: pointer;
&:hover {
- color: #fff;
+ color: $theme;
}
}