diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-04-15 12:08:26 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-04-15 12:08:26 -0600 |
commit | a35780ab78c0733ad48213706276d8fca4eb8264 (patch) | |
tree | b6d2238e1ffcb94b54659c5f1e401c83a7901e0b /public | |
parent | 5b7727162d461cd36e1c828b06a6c8e04e2fbce7 (diff) |
imworkingon: Fuss with status styling
Diffstat (limited to 'public')
-rw-r--r-- | public/imworkingon/imworkingon.scss | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/public/imworkingon/imworkingon.scss b/public/imworkingon/imworkingon.scss index b905bb9..e899dcd 100644 --- a/public/imworkingon/imworkingon.scss +++ b/public/imworkingon/imworkingon.scss @@ -1,3 +1,6 @@ +@use 'sass:math'; +@use 'sass:list'; + * { box-sizing: border-box; } @@ -81,6 +84,16 @@ article.contrib { &.closed-contrib div.contrib-status { background-color: #cf222e; color: white; } &.open-contrib div.contrib-status { background-color: #d3ab3a; color: black; } - &.merged-contrib div.contrib-status { background-color: #1f883d; color: white; } + &.merged-contrib div.contrib-status { + background: repeating-linear-gradient(315deg, #1f883d, #1f883d 1.0em, #d3ab3a 1.0em, #d3ab3a 1.4em); + color: white; + $shadow: []; + @for $w from 1 through 3 { + @for $a from 0 to 24 { + $shadow: list.append($shadow, #{$w*math.cos($a*15deg)}px #{$w*math.sin($a*15deg)}px #1f883d); + }; + }; + text-shadow: list.join($shadow, [], $separator: comma, $bracketed: false); + } &.released-contrib div.contrib-status { background-color: #1f883d; color: white; } } |