Вилучено вміст Додано вміст
Немає опису редагування |
Немає опису редагування |
||
| Рядок 11: | Рядок 11: | ||
display: block; |
display: block; |
||
float: none !important; |
float: none !important; |
||
position: |
position: relative !important; |
||
box-sizing: border-box; |
box-sizing: border-box; |
||
background: linear-gradient(90deg, #16a085, #2980b9); |
background: linear-gradient(90deg, #16a085, #2980b9); |
||
| Рядок 17: | Рядок 17: | ||
font-weight: 700; |
font-weight: 700; |
||
font-size: 1.1em; |
font-size: 1.1em; |
||
padding: 10px 16px; |
padding: 10px 40px 10px 16px; |
||
cursor: pointer; |
cursor: pointer; |
||
user-select: none; |
user-select: none; |
||
} |
|||
.section-collapsible-header::after { |
|||
content: "▾"; |
|||
position: absolute; |
|||
right: 16px; |
|||
top: 50%; |
|||
transform: translateY(-50%); |
|||
font-size: 1em; |
|||
transition: transform 0.2s ease; |
|||
} |
|||
.section-collapsible.mw-collapsed .section-collapsible-header::after { |
|||
transform: translateY(-50%) rotate(-90deg); |
|||
} |
} |
||
Версія за 21:33, 1 липня 2026
.section-collapsible {
margin-bottom: 8px;
border-radius: 6px;
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.1);
box-sizing: border-box;
max-width: 100%;
}
.section-collapsible-header {
display: block;
float: none !important;
position: relative !important;
box-sizing: border-box;
background: linear-gradient(90deg, #16a085, #2980b9);
color: #ffffff;
font-weight: 700;
font-size: 1.1em;
padding: 10px 40px 10px 16px;
cursor: pointer;
user-select: none;
}
.section-collapsible-header::after {
content: "▾";
position: absolute;
right: 16px;
top: 50%;
transform: translateY(-50%);
font-size: 1em;
transition: transform 0.2s ease;
}
.section-collapsible.mw-collapsed .section-collapsible-header::after {
transform: translateY(-50%) rotate(-90deg);
}
.section-collapsible-content {
display: block;
box-sizing: border-box;
padding: 12px 16px;
background: rgba(0, 0, 0, 0.3);
color: inherit;
}
.section-collapsible.mw-collapsed .section-collapsible-content {
display: none;
}