mirror of
https://git.disroot.org/eudaimon/Simplewaita.git
synced 2026-03-10 04:21:07 +00:00
unified overshoot, added undershoot
This commit is contained in:
parent
51ae8fc420
commit
e7d412e451
9 changed files with 202 additions and 148 deletions
18
source/common/undershoot.scss
Normal file
18
source/common/undershoot.scss
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
undershoot {
|
||||
background-origin: padding-box;
|
||||
&.top, &.bottom {
|
||||
background-image: linear-gradient(to right, currentColor 50%, transparent 50%);
|
||||
background-size: 0.5em 1px;
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
&.right, &.left {
|
||||
background-image: linear-gradient(to bottom, currentColor 50%, transparent 50%);
|
||||
background-size: 1px 0.5em;
|
||||
background-repeat: repeat-y;
|
||||
}
|
||||
&.top {background-position: top;}
|
||||
&.bottom {background-position: bottom;}
|
||||
&.right {background-position: right;}
|
||||
&.left {background-position: left;}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue