MediaWiki:Test.css: различия между версиями

Страница интерфейса MediaWiki
Нет описания правки
Метка: отменено
Нет описания правки
Метка: отменено
Строка 1: Строка 1:
.race-container {
.race-carousel {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
     width: 100%;
     width: 100%;
     margin-bottom: 1em;
    max-width: 600px;
     margin: 0 auto;
    text-align: center;
    font-family: sans-serif;
}
}


.race-card {
.race-main {
     display: flex;
     display: flex;
    flex-direction: column;
     align-items: center;
     align-items: center;
     padding: 6px;
    justify-content: center;
     margin: 4px;
    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;
    background: #0C9456;
     box-shadow: 0 0 15px rgba(12,148,86,0.5);
     box-shadow: 0 0 10px rgba(12, 148, 86, 0.4);
    min-width: 200px;
    text-align: center;
     transition: transform 0.2s, box-shadow 0.2s;
     transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
    width: 160px;
}
}


.race-card:hover {
.race-card-large:hover {
     transform: scale(1.05);
     transform: scale(1.05);
    box-shadow: 0 0 15px rgba(12, 148, 86, 0.7);
}
}


.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: 16px;
     font-size: 18px;
     margin-bottom: 4px;
     text-shadow: 0 0 4px #0C9456;
     text-shadow: 1px 1px black;
}
 
.race-mini-container {
    display: flex;
     justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}
}


.race-card .race-image img {
.race-mini {
     width: 120px;
     width: 50px;
     height: 120px;
     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 8px rgba(255,255,255,0.2);
     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);
}
}


.biglink {
.race-info {
     margin: 0;
     margin-top: 10px;
     text-align: center;
     font-weight: bold;
     font-size: 40px;
     font-size: 16px;
     line-height: 50px;
     color: #0C9456;
    text-shadow: 2px 3px black, 3px 5px #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;
}