1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-21 06:21:17 -04:00

better SASS minification

This commit is contained in:
2019-09-30 00:26:29 -04:00
parent 1b0fac2ceb
commit 297aeddc2f
2 changed files with 7 additions and 5 deletions

View File

@@ -1,5 +1,4 @@
/* JJ SCSS */ /*! Compiled from https://github.com/jakejarvis/jarv.is/blob/master/assets/style.scss */
/* Compiled from https://github.com/jakejarvis/jarv.is/blob/master/assets/style.scss */
// Global Colors // Global Colors
$color-background: #ffffff; $color-background: #ffffff;
@@ -136,6 +135,9 @@ body {
color: $color; color: $color;
&:hover { &:hover {
// Lighter underline compared to text color. mix()'ing with
// background (#fff) gives the impression of transparency
// but with MUCH better compatibility.
border-color: mix($color, $color-background, 40%); border-color: mix($color, $color-background, 40%);
} }
} }
@@ -618,7 +620,7 @@ body {
} }
/* Fancy Waving Hand Emoji (TM) - https://jarv.is/notes/css-waving-hand-emoji/ */ /*! Fancy Waving Hand Emoji (TM) - https://jarv.is/notes/css-waving-hand-emoji/ */
@keyframes wave { @keyframes wave {
0% { transform: rotate( 0.0deg); } 0% { transform: rotate( 0.0deg); }
10% { transform: rotate(-10.0deg); } 10% { transform: rotate(-10.0deg); }
@@ -630,7 +632,7 @@ body {
} }
/* Syntax Highlighting - modified from Monokai Light https://github.com/mlgill/pygments-style-monokailight */ /*! Syntax Highlighting - modified from Monokai Light https://github.com/mlgill/pygments-style-monokailight */
div.highlight span { div.highlight span {
&.k, &.kc, &.kd, &.kp, &.kr, &.kt, &.no { &.k, &.kc, &.kd, &.kp, &.kr, &.kt, &.no {
color: #03748a; color: #03748a;

View File

@@ -30,7 +30,7 @@
<meta name="msvalidate.01" content="164551986DA47F7F6FC0D21A93FFFCA6"> <meta name="msvalidate.01" content="164551986DA47F7F6FC0D21A93FFFCA6">
<meta name="p:domain_verify" content="e8aefab89c04734260da89b6ff26fd5b"> <meta name="p:domain_verify" content="e8aefab89c04734260da89b6ff26fd5b">
<meta name="yandex-verification" content="7432e013ad0164ab"> <meta name="yandex-verification" content="7432e013ad0164ab">
{{ $style := resources.Get "style.scss" | resources.ToCSS }}<link rel="stylesheet" href="{{ $style.Permalink }}"> {{ $style := resources.Get "style.scss" | resources.ToCSS (dict "outputStyle" "compact") }}<link rel="stylesheet" href="{{ $style.Permalink }}">
<link rel="dns-prefetch" href="https://stats.jarv.is"> <link rel="dns-prefetch" href="https://stats.jarv.is">
<link rel="dns-prefetch" href="https://comments.jarv.is"> <link rel="dns-prefetch" href="https://comments.jarv.is">
<link rel="canonical" href="{{ .Permalink }}"> <link rel="canonical" href="{{ .Permalink }}">