Template:MainPage/Vector/Navigation/styles.css: Difference between revisions
Jump to navigation
Jump to search
Created page with ".mainpage-navigation .card { width: calc(100%/5 - 0.4rem); min-width: calc(860px/5 - 0.4rem); border: 0; } .mainpage-navigation .card:hover .card-caption { color: white; } .mainpage-navigation .card-caption { padding: 0.4rem; background: #304665; color: #bfcee7; text-align: center; transition: color 0.2s ease; } .mainpage-navigation .card-image { height: 180px; background-color: #f8f9fa; overflow: hidden; } @media (pref..." |
mNo edit summary |
||
Line 21: | Line 21: | ||
background-color: #f8f9fa; | background-color: #f8f9fa; | ||
overflow: hidden; | overflow: hidden; | ||
} | } |
Revision as of 22:08, 31 July 2024
.mainpage-navigation .card {
width: calc(100%/5 - 0.4rem);
min-width: calc(860px/5 - 0.4rem);
border: 0;
}
.mainpage-navigation .card:hover .card-caption {
color: white;
}
.mainpage-navigation .card-caption {
padding: 0.4rem;
background: #304665;
color: #bfcee7;
text-align: center;
transition: color 0.2s ease;
}
.mainpage-navigation .card-image {
height: 180px;
background-color: #f8f9fa;
overflow: hidden;
}