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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
Строка 1: Строка 1:
/* В медиавики: Common.css */
/* Основная карточка */
.alchemy-card {
.alchemy-card {
     border: 1px solid #a2a9b1;
     border: 1px solid #ccc;
     padding: 10px;
    border-radius: 8px;
     margin-bottom: 15px;
     padding: 15px;
     border-radius: 5px;
     margin: 15px 0;
     background-color: #f8f9fa;
    background-color: #f9f9f9;
     box-shadow: 0 2px 5px rgba(0,0,0,0.1);
     font-family: sans-serif;
}
}


/* Заголовок рецепта */
.alchemy-title {
.alchemy-title {
     font-size: 1.2em;
     font-size: 24px;
     font-weight: bold;
     margin-bottom: 15px;
     margin-bottom: 10px;
     padding-bottom: 8px;
     border-bottom: 1px solid #aaa;
     border-bottom: 2px solid #ddd;
     padding-bottom: 5px;
     color: #333;
}
}


details.alchemy-collapsible {
/* Секции */
     margin-bottom: 8px;
.alchemy-section {
     margin-bottom: 15px;
}
}


details.alchemy-collapsible > summary {
/* Заголовок секции */
.section-header {
     cursor: pointer;
     cursor: pointer;
     font-weight: bold;
     font-weight: bold;
     padding: 5px;
     padding: 8px;
     background-color: #eaecf0;
     background-color: #eaeaea;
     border-radius: 3px;
     border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
 
.section-header:hover {
    background-color: #e0e0e0;
}
 
/* Текст сворачивания */
.collapse-toggle {
    font-weight: normal;
    color: #06c;
    font-size: 14px;
}
}


details.alchemy-collapsible[open] > summary {
/* Содержимое секции */
     background-color: #d8eafc;
.section-content {
     padding: 10px 5px;
}
}


.reagent-item {
/* Шаги рецепта */
     margin: 3px 0;
.recipe-step {
     margin: 8px 0;
    display: flex;
    align-items: center;
     padding-left: 5px;
     padding-left: 5px;
}
}


.method {
.recipe-step input {
     margin-top: 8px;
     margin-right: 8px;
     font-style: italic;
}
 
.recipe-step label {
    cursor: default;
}
 
/* Разделитель */
.alchemy-divider {
    border: 0;
    height: 1px;
    background: #ddd;
    margin: 15px 0;
}
 
/* Эффекты */
.alchemy-effects {
     line-height: 1.5;
}
}

Версия от 11:15, 22 июня 2025

/* Основная карточка */
.alchemy-card {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-family: sans-serif;
}

/* Заголовок рецепта */
.alchemy-title {
    font-size: 24px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #ddd;
    color: #333;
}

/* Секции */
.alchemy-section {
    margin-bottom: 15px;
}

/* Заголовок секции */
.section-header {
    cursor: pointer;
    font-weight: bold;
    padding: 8px;
    background-color: #eaeaea;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-header:hover {
    background-color: #e0e0e0;
}

/* Текст сворачивания */
.collapse-toggle {
    font-weight: normal;
    color: #06c;
    font-size: 14px;
}

/* Содержимое секции */
.section-content {
    padding: 10px 5px;
}

/* Шаги рецепта */
.recipe-step {
    margin: 8px 0;
    display: flex;
    align-items: center;
    padding-left: 5px;
}

.recipe-step input {
    margin-right: 8px;
}

.recipe-step label {
    cursor: default;
}

/* Разделитель */
.alchemy-divider {
    border: 0;
    height: 1px;
    background: #ddd;
    margin: 15px 0;
}

/* Эффекты */
.alchemy-effects {
    line-height: 1.5;
}