Add background gradient

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner
2023-09-13 17:53:12 +02:00
parent 1f95ec7a0c
commit dd49bd517c
4 changed files with 132 additions and 35 deletions

View File

@@ -49,11 +49,17 @@ limitations under the License.
/* The distance to inset non-full-width content from the edge of the window
along the inline axis */
--inline-content-inset: max(var(--cpd-space-4x), calc((100vw - 1180px) / 2));
--background-gradient: url("graphics/backgroundGradient.svg");
}
.cpd-theme-dark {
--stopgap-color-on-solid-accent: var(--cpd-color-text-primary);
--stopgap-background-85: rgba(16, 19, 23, 0.85);
background-size: calc(max(100%, 100vw)) calc(max(100%, 100vh));
background-repeat: no-repeat;
background-position: bottom right;
}
@font-face {