-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update cache-busting gubbins in Sass stylesheets.
- Loading branch information
1 parent
d4de13e
commit 34b84bf
Showing
7 changed files
with
30 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
// please refer to the accompanying "LICENCE" file. | ||
|
||
@use "sass:math"; | ||
@use "../functions"; | ||
|
||
.robot { | ||
line-height: 1; | ||
|
@@ -13,7 +14,7 @@ | |
position: relative; | ||
|
||
&::before { | ||
background: url("/assets/homepage-robot-outline.00000000000000.webp"); | ||
background: functions.cache-bust-url("/assets/homepage-robot-outline.webp"); | ||
background-size: cover; | ||
content: ""; | ||
display: block; | ||
|
@@ -29,7 +30,7 @@ | |
@media only screen and (-webkit-min-device-pixel-ratio: 1.3), | ||
only screen and (min-resolution: 120dpi) | ||
{ | ||
background-image: url("/assets/homepage-robot-outline@2x.00000000000000.webp"); | ||
background-image: functions.cache-bust-url("/assets/[email protected]"); | ||
} | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters