тесты медиавики
Реально работает
Строка 10: Строка 10:
== Хай ==
== Хай ==


<div class="main__block__div">
<div class="box">
    <div class="label">МЕХАНИКИ</div>
</div>


<div style="display: flex; justify-content: center; align-items: center; height: 100vh; gap: 40px;">
<div class="box">
    <div class="label">ЛОР</div>
</div>


    <div style="
{{#css:
        width: 120px;
.main__block__div {
        height: 160px;
    background-color: #18181b;
        background-color: #303039;  
    display: flex;
        border-radius: 10px;
    justify-content: center;
        display: flex;  
    align-items: center;
        align-items: flex-end;  
    height: 100vh;
        justify-content: center;  
    gap: 40px;
        transition: transform 0.3s ease-in-out;
}
        cursor: pointer;"
.box {
        onmouseover="this.style.transform='scale(1.1)'"
    width: 240px;
        onmouseout="this.style.transform='scale(1)'">
    height: 320px;
        <div style="justify-content: center; width: 100%; background-color: #212126; ; color: white; font-family: Arial, sans-serif; font-size: 14px;">МЕХАНИКИ</div>
    background-color: #2a2a2e;
     </div>
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    border-radius: 8px;
     transition: transform 0.3s ease-in-out;
    cursor: pointer;
}


    <div style="
.box:hover {
        width: 120px;
    transform: scale(1.1);
        height: 160px;
}
        background-color: #303039;
.box:active {
        border-radius: 10px;
    transform: scale(0.9);
        display: flex;
}
        align-items: flex-end;
        justify-content: center;
        transition: transform 0.3s ease-in-out;
        cursor: pointer;"
        onmouseover="this.style.transform='scale(1.1)'"
        onmouseout="this.style.transform='scale(1)'">
        <div style="justify-content: center; width: 100%; background-color: #212126; ; color: white; font-family: Arial, sans-serif; font-size: 14px;">ЛОР</div>
    </div>


</div>
.label {
    width: 100%;
    height: 20%;
    line-height: 200%;
    background-color: #1a1a1d;
    text-align: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    color: white;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
 
.image__block {
 
}
}}