mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-19 21:15:31 -04:00
set max width of pages in Hugo config.toml, retrieve value from SCSS
https://gohugo.io/hugo-pipes/resource-from-template/
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
// Calculate lighter underline color compared to text color by
|
||||
// mix()'ing with background (#fff) to give the impression of
|
||||
// opacity but with MUCH better compatibility.
|
||||
$color-opaque: mix($color, $color-background, $link-opacity);
|
||||
$color-opaque: mix($color, $color-background, $link-underline-opacity);
|
||||
|
||||
// Return non-gradient linear-gradient():
|
||||
@return linear-gradient($color-opaque, $color-opaque);
|
||||
|
Reference in New Issue
Block a user