Skip to content

Commit b968ce0

Browse files
Merge pull request #19 from kjeller/main
Add param.style color option for home_image border
2 parents 061262f + 8b4bc6f commit b968ce0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

assets/sass/override.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// === Import Bootstrap and set variable overrides ===
22
$body-bg: {{ if .Param "style.backgroundColor" }}{{ .Param "style.backgroundColor"}}{{ else }}#f8f9fa{{ end }};
33
$body-color: {{ if .Param "style.fontColor" }}{{ .Param "style.fontColor"}}{{ else }}#212529{{ end }};
4+
$home-image-border-color: {{ if .Param "style.homeImageBorderColor" }}{{ .Param "style.homeImageBorderColor"}}{{ else }}#ffffff{{ end }};
45
$font-family-base: "Helvetica Neue", Arial, sans-serif;
56
$font-size-base: 0.95rem;
67
@import "../../node_modules/bootstrap/scss/bootstrap";
@@ -24,7 +25,7 @@ $fa-font-path: "../webfonts";
2425
#home-image {
2526
width: 120px;
2627
height: 120px;
27-
border: solid 5px white;
28+
border: solid 5px $home-image-border-color;
2829
box-shadow: 0px 10px 7px -10px rgba(0,0,0,0.6);
2930
border-radius: 0.20rem;
3031
padding: 0px;

0 commit comments

Comments
 (0)