aboutsummaryrefslogtreecommitdiffstats
path: root/assets/scss/style.scss
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2023-10-12 03:04:36 +0200
committerOscar Najera <hi@oscarnajera.com>2023-10-12 03:04:36 +0200
commitb6850fe0584fe7176a1908befd280f6f0ee6fcf0 (patch)
tree6688831c5b17079bafd0208a1bf1ae7b9a7d3a2b /assets/scss/style.scss
parent5ac043bd3c7d025a3df69e4b1df25b320a8277b9 (diff)
downloadhugo-minimalist-theme-b6850fe0584fe7176a1908befd280f6f0ee6fcf0.tar.gz
hugo-minimalist-theme-b6850fe0584fe7176a1908befd280f6f0ee6fcf0.tar.bz2
hugo-minimalist-theme-b6850fe0584fe7176a1908befd280f6f0ee6fcf0.zip
gruvbox syntax highlight
hugo gen chromastyles --style=gruvbox > syntax.scss
Diffstat (limited to 'assets/scss/style.scss')
-rw-r--r--assets/scss/style.scss9
1 files changed, 5 insertions, 4 deletions
diff --git a/assets/scss/style.scss b/assets/scss/style.scss
index 40155e5..2e1df53 100644
--- a/assets/scss/style.scss
+++ b/assets/scss/style.scss
@@ -1,8 +1,5 @@
@import "tachyons/css/tachyons";
-
-div.highlight pre {
- overflow-x: scroll;
-}
+@import "syntax";
.header ul {
clear: both;
@@ -149,6 +146,10 @@ div.highlight pre {
p code {
@extend .bg-black-30, .ph1, .br2;
}
+
+ div.highlight pre.chroma {
+ @extend .br2, .overflow-x-scroll;
+ }
}
footer {
a {