Dantes (обсуждение | вклад) Нет описания правки |
Dantes (обсуждение | вклад) Нет описания правки |
||
| Строка 1: | Строка 1: | ||
.nav-container { | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 0.7em; | |||
margin: 2em; | |||
justify-content: space-between; | |||
border-bottom: 1px solid black; | |||
} | } | ||
.nav-button { | |||
flex: 1 1 19.55em; | |||
min-width: 280px; | |||
border: 2px solid #000; | |||
background: #f8f9fa; | |||
display: flex !important; | |||
align-items: center; | |||
justify-content: space-between; | |||
padding: 12px; | |||
transition: background 0.3s; | |||
margin: 0.7em 0; | |||
} | |||
.nav-button:hover { | |||
background: #e9ecef; | |||
} | |||
.nav-button > a { | |||
color: #000 !important; | |||
font-size: 30px !important; | |||
text-decoration: none !important; | |||
order: 1; | |||
flex-grow: 1; | |||
padding-right: 15px; | |||
} | |||
.nav-button img { | |||
width: 64px !important; | |||
height: 64px !important; | |||
order: 2; | |||
object-fit: contain; | |||
margin: 0 !important; | |||
} | } | ||
Версия от 19:53, 7 марта 2025
.nav-container {
display: flex;
flex-wrap: wrap;
gap: 0.7em;
margin: 2em;
justify-content: space-between;
border-bottom: 1px solid black;
}
.nav-button {
flex: 1 1 19.55em;
min-width: 280px;
border: 2px solid #000;
background: #f8f9fa;
display: flex !important;
align-items: center;
justify-content: space-between;
padding: 12px;
transition: background 0.3s;
margin: 0.7em 0;
}
.nav-button:hover {
background: #e9ecef;
}
.nav-button > a {
color: #000 !important;
font-size: 30px !important;
text-decoration: none !important;
order: 1;
flex-grow: 1;
padding-right: 15px;
}
.nav-button img {
width: 64px !important;
height: 64px !important;
order: 2;
object-fit: contain;
margin: 0 !important;
}