Template:NewsNav.css: Difference between revisions

Template page
No edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
     display: flex;
     display: flex;
     flex-wrap: wrap;
     flex-wrap: wrap;
     gap: 0.5rem;
     gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
}


.news-nav-item {
.news-nav-item {
     padding: 0.1rem 0.3rem;
     padding: 0.1rem 0.3rem;
     background-color: #f1f1f1;
}
     border-radius: 6%;
 
.active-nav {
     color: black;
border-bottom: 2px solid black;
}
 
.news-nav-item a {color: black;}
 
html.skin-citizen-dark .news-nav-item a {
    color: white;
}
 
html.skin-citizen-dark .active-nav {
     border-color: white;
    color: white;
}
}

Latest revision as of 10:49, 18 February 2024

.news-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.news-nav-item {
    padding: 0.1rem 0.3rem;
}

.active-nav {
    color: black;
	border-bottom: 2px solid black;
}

.news-nav-item a {color: black;}

html.skin-citizen-dark .news-nav-item a {
    color: white;
}

html.skin-citizen-dark .active-nav {
    border-color: white;
    color: white;
}