Updates styles

This commit is contained in:
Alicia Sykes 2021-08-29 18:42:34 +01:00
parent 05e4c389f5
commit 036f42ce04
3 changed files with 30 additions and 2 deletions

View File

@ -56,4 +56,27 @@ header.heroBanner {
margin-left: 0.5rem;
cursor: pointer;
text-decoration: underline;
}
.scrollDown {
display: flex;
width: fit-content;
cursor: pointer;
margin: 2rem auto;
position: absolute;
bottom: 2rem;
left: 42%;
@media (max-width: 966px) {
display: none;
}
}
.scrollDownText {
margin: 0 1rem;
font-size: 1.2rem;
font-weight: bold;
}
.scrollDownIcon {
width: 2rem;
}

View File

@ -43,7 +43,7 @@ html[data-theme='light'] { /* Dark Theme */
height: fit-content;
border-radius: 8px;
box-shadow: var(--feature-img-shadow);
img.demo {
img.demo, span.not-demo {
background: var(--kinda-transparent);
width: 100%;
max-height: 36rem;
@ -53,6 +53,11 @@ html[data-theme='light'] { /* Dark Theme */
border-radius: 8px;
box-shadow: var(--feature-img-shadow);
}
span.not-demo {
display: flex;
align-items: center;
justify-content: center;
}
}
}
.feature-title {

View File

@ -15,7 +15,7 @@
--ifm-color-primary-lighter: rgb(102, 212, 189);
--ifm-color-primary-lightest: rgb(146, 224, 208);
--ifm-code-font-size: 95%;
--ifm-navbar-background-color: var(--primary);
--ifm-navbar-background-color: var(--hero-background);
--ifm-navbar-link-color: var(--text-color);
}