Dantes (обсуждение | вклад) Нет описания правки Метка: отменено |
Dantes (обсуждение | вклад) Нет описания правки Метка: отменено |
||
| Строка 1: | Строка 1: | ||
.race- | .race-carousel { | ||
width: 100%; | width: 100%; | ||
margin- | max-width: 600px; | ||
margin: 0 auto; | |||
text-align: center; | |||
font-family: sans-serif; | |||
} | } | ||
.race- | .race-main { | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
padding: | justify-content: center; | ||
margin-bottom: 10px; | |||
position: relative; | |||
} | |||
.race-main .arrow { | |||
font-size: 30px; | |||
cursor: pointer; | |||
user-select: none; | |||
padding: 0 15px; | |||
color: #0C9456; | |||
transition: color 0.2s; | |||
} | |||
.race-main .arrow:hover { | |||
color: #05B16C; | |||
} | |||
.race-card-large { | |||
padding: 10px; | |||
background: linear-gradient(145deg, #0C9456, #05914A); | |||
border-radius: 0.5em; | border-radius: 0.5em; | ||
box-shadow: 0 0 15px rgba(12,148,86,0.5); | |||
box-shadow: 0 0 | min-width: 200px; | ||
text-align: center; | |||
transition: transform 0.2s, box-shadow 0.2s; | transition: transform 0.2s, box-shadow 0.2s; | ||
} | } | ||
.race-card:hover { | .race-card-large:hover { | ||
transform: scale(1.05); | transform: scale(1.05); | ||
} | } | ||
.race-card .race-name { | .race-card-large img { | ||
width: 150px; | |||
height: 150px; | |||
border-radius: 0.3em; | |||
margin-bottom: 5px; | |||
} | |||
.race-name-large { | |||
font-weight: bold; | font-weight: bold; | ||
font-size: | font-size: 18px; | ||
text-shadow: 0 0 4px #0C9456; | |||
} | |||
.race-mini-container { | |||
display: flex; | |||
justify-content: center; | |||
flex-wrap: wrap; | |||
margin-top: 10px; | |||
} | } | ||
.race- | .race-mini { | ||
width: | width: 50px; | ||
height: | height: 50px; | ||
margin: 5px; | |||
cursor: pointer; | |||
border-radius: 0.3em; | border-radius: 0.3em; | ||
border: 2px solid #0C9456; | border: 2px solid #0C9456; | ||
box-shadow: 0 0 | box-shadow: 0 0 5px rgba(0,0,0,0.3); | ||
transition: transform 0.2s, box-shadow 0.2s; | |||
} | |||
.race-mini img { | |||
width: 100%; | |||
height: 100%; | |||
border-radius: 0.3em; | |||
} | |||
.race-mini:hover { | |||
transform: scale(1.2); | |||
box-shadow: 0 0 10px rgba(12,148,86,0.6); | |||
} | } | ||
. | .race-info { | ||
margin: | margin-top: 10px; | ||
font-weight: bold; | |||
font-size: | font-size: 16px; | ||
color: #0C9456; | |||
} | } | ||
Версия от 11:51, 31 августа 2025
.race-carousel {
width: 100%;
max-width: 600px;
margin: 0 auto;
text-align: center;
font-family: sans-serif;
}
.race-main {
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 10px;
position: relative;
}
.race-main .arrow {
font-size: 30px;
cursor: pointer;
user-select: none;
padding: 0 15px;
color: #0C9456;
transition: color 0.2s;
}
.race-main .arrow:hover {
color: #05B16C;
}
.race-card-large {
padding: 10px;
background: linear-gradient(145deg, #0C9456, #05914A);
border-radius: 0.5em;
box-shadow: 0 0 15px rgba(12,148,86,0.5);
min-width: 200px;
text-align: center;
transition: transform 0.2s, box-shadow 0.2s;
}
.race-card-large:hover {
transform: scale(1.05);
}
.race-card-large img {
width: 150px;
height: 150px;
border-radius: 0.3em;
margin-bottom: 5px;
}
.race-name-large {
font-weight: bold;
font-size: 18px;
text-shadow: 0 0 4px #0C9456;
}
.race-mini-container {
display: flex;
justify-content: center;
flex-wrap: wrap;
margin-top: 10px;
}
.race-mini {
width: 50px;
height: 50px;
margin: 5px;
cursor: pointer;
border-radius: 0.3em;
border: 2px solid #0C9456;
box-shadow: 0 0 5px rgba(0,0,0,0.3);
transition: transform 0.2s, box-shadow 0.2s;
}
.race-mini img {
width: 100%;
height: 100%;
border-radius: 0.3em;
}
.race-mini:hover {
transform: scale(1.2);
box-shadow: 0 0 10px rgba(12,148,86,0.6);
}
.race-info {
margin-top: 10px;
font-weight: bold;
font-size: 16px;
color: #0C9456;
}