Add animation, refactor
All checks were successful
Deploy new version of the application / Deploy Application (push) Successful in 2s
All checks were successful
Deploy new version of the application / Deploy Application (push) Successful in 2s
This commit is contained in:
15
styles.css
15
styles.css
@@ -12,6 +12,7 @@
|
||||
--base-content-background-color: #ffffff20;
|
||||
--content-wrap-padding: 16px;
|
||||
--header-margin-bottom: 20px;
|
||||
--content-container-height: calc(100dvh - (2 * var(--card-gap)));
|
||||
|
||||
font-family: "BBH Sans Bogle", sans-serif;
|
||||
font-weight: 400;
|
||||
@@ -28,6 +29,20 @@ html, body {
|
||||
height: 100dvh;
|
||||
}
|
||||
|
||||
.card-listener {
|
||||
position: relative;
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: var(--content-container-height);
|
||||
top: calc(-1 * (100dvh - (2 * var(--card-gap))) - var(--label-height) - var(--content-container-height));
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.active > .card-listener {
|
||||
top: calc(-1 * (100dvh - (2 * var(--card-gap))) - var(--label-height) + 20px);
|
||||
}
|
||||
|
||||
|
||||
#container {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
|
||||
Reference in New Issue
Block a user