Шаблон:Dungeon Crusher Wiki/Navigation/styles.css: различия между версиями
Нет описания правки |
Нет описания правки |
||
Строка 16: | Строка 16: | ||
.mainpage-navigation .card:hover .card-caption { | .mainpage-navigation .card:hover .card-caption { | ||
color: | color: #7cabc9; | ||
} | } | ||
Строка 29: | Строка 29: | ||
.mainpage-navigation .card-image { | .mainpage-navigation .card-image { | ||
height: 180px; | height: 180px; | ||
background-color: | background-color: hsl( 205, 75%, 8% ); | ||
overflow: hidden; | overflow: hidden; | ||
} | } |
Версия от 17:59, 26 ноября 2023
.mainpage-navigation { display: grid; justify-content: center; grid-gap: 1rem; grid-template-columns: repeat(6, 166px); } .mainpage-navigation .card { box-sizing: border-box; border-radius: 8px; overflow: hidden; background-color: hsl( 203, 44%, 14% ); box-shadow: 0 1px 3px rgba(0,0,0,0.03),0 1px 2px rgba(0,0,0,0.06); transition: box-shadow 0.2s ease; } .mainpage-navigation .card:hover .card-caption { color: #7cabc9; } .mainpage-navigation .card-caption { padding: 0.4rem; background: hsl( 205, 75%, 8% ); color: rgba( 255, 255, 255, 0.87 ); text-align: center; transition: color 0.2s ease; } .mainpage-navigation .card-image { height: 180px; background-color: hsl( 205, 75%, 8% ); overflow: hidden; }