1
0
mirror of https://github.com/gilbN/theme.park.git synced 2024-10-03 22:17:08 +02:00

fix: 🐛 Landing page: text color fix

This commit is contained in:
GilbN 2022-03-29 21:31:22 +02:00
parent 82aef46abe
commit a8f4606442
3 changed files with 10 additions and 6 deletions

View File

@ -73,7 +73,15 @@ section {
background-color: rgba(0, 0, 0, 0.9);
}
}
#mainNav .navbar-nav .nav-item .nav-link {
color: var(--label-text-color);
}
#mainNav .navbar-nav .nav-item .nav-link:hover,
#mainNav .navbar-nav .nav-item .nav-link:active {
color: var(--label-text-color);
opacity: .8;
}
@media (min-width: 992px) {
#mainNav {
box-shadow: none;
@ -127,10 +135,6 @@ section {
}
}
#mainNav .navbar-nav .nav-item .nav-link:hover,
#mainNav .navbar-nav .nav-item .nav-link:active {
color: var(--text-hover);
}
#mainNav .navbar-nav .nav-item .nav-link.active {
color: var(--link-color-hover) !important;

View File

@ -11006,7 +11006,7 @@ hr.light {
}
#mainNav .navbar-nav .nav-item .nav-link {
color: #6c757d;
color: var(--label-text-color);
font-family: "Merriweather Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
font-weight: 700;
font-size: 0.9rem;

View File

@ -69,7 +69,7 @@ function injectTheme(theme,container="head") {
var themeOptions;
function addThemeData() {
let themeJsonUrl = "/themes.json"
let themeJsonUrl = "themes.json"
fetch(themeJsonUrl)
.then(response => response.json())
.then(json => {