summaryrefslogtreecommitdiff
path: root/assets/css/theme-vars.css
diff options
context:
space:
mode:
authorAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-11-17 12:45:19 +0530
committerAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-11-17 12:45:19 +0530
commit2a06c26e9f80b95fd09b18c2708d1cca3d0151b2 (patch)
tree6a04fd399068d0944bd0dbf8358cbf92354cb87e /assets/css/theme-vars.css
parent62477e7d1b3a69bf76d413e6a4281f93b582b03d (diff)
assets(css): optimize using csso
https://css.github.io/csso/csso.html
Diffstat (limited to 'assets/css/theme-vars.css')
-rw-r--r--assets/css/theme-vars.css19
1 files changed, 7 insertions, 12 deletions
diff --git a/assets/css/theme-vars.css b/assets/css/theme-vars.css
index 8e152ff..47c061c 100644
--- a/assets/css/theme-vars.css
+++ b/assets/css/theme-vars.css
@@ -1,5 +1,3 @@
-/* Theme
--------------------------------------------------- */
:root {
--gap: 24px;
--content-gap: 20px;
@@ -8,22 +6,20 @@
--header-height: 60px;
--footer-height: 60px;
--radius: 8px;
-
--theme: #fff;
--entry: #fff;
--primary: rgba(0, 0, 0, 0.88);
--secondary: rgba(0, 0, 0, 0.56);
--tertiary: rgba(0, 0, 0, 0.16);
--content: rgba(0, 0, 0, 0.88);
-
--hljs-bg: #1c1d21;
--code-bg: #f5f5f5;
- --border: #eee;
+ --border: #eee
}
-@media screen and (max-width: 600px) {
+@media screen and (max-width:600px) {
:root {
- --gap: 14px;
+ --gap: 14px
}
}
@@ -34,16 +30,15 @@
--secondary: rgba(255, 255, 255, 0.56);
--tertiary: rgba(255, 255, 255, 0.16);
--content: rgba(255, 255, 255, 0.64);
-
--hljs-bg: #2e2e33;
--code-bg: #37383e;
- --border: #5b5d67;
+ --border: #5b5d67
}
.list {
- background: var(--code-bg);
+ background: var(--code-bg)
}
.dark.list {
- background: var(--theme);
-} \ No newline at end of file
+ background: var(--theme)
+}