Шаблон:Блок/styles.css: различия между версиями
Материал из SpaceOnyx
Дополнительные действия
Neyran (обсуждение | вклад) Новая страница: «.блок { text-decoration: none !important; border-radius: 6px; padding: 12px; margin-bottom: 12px; } .блок h2, .блок p { margin: 0; } .блок h2 { margin-bottom: 12px; } .блок hr { border-top: 6px solid rgba(255,255,255,0.05); border-radius: 6px; }» |
Neyran (обсуждение | вклад) Нет описания правки |
||
| Строка 4: | Строка 4: | ||
padding: 12px; | padding: 12px; | ||
margin-bottom: 12px; | margin-bottom: 12px; | ||
width: 100%; | |||
max-width: none; | |||
box-sizing: border-box; | |||
display: block; | |||
} | } | ||
.блок h2, .блок p { | .блок__контент { | ||
width: 100%; | |||
max-width: none; | |||
box-sizing: border-box; | |||
display: block; | |||
} | |||
.блок h2, | |||
.блок p { | |||
margin: 0; | margin: 0; | ||
} | } | ||
| Строка 17: | Строка 30: | ||
border-top: 6px solid rgba(255,255,255,0.05); | border-top: 6px solid rgba(255,255,255,0.05); | ||
border-radius: 6px; | border-radius: 6px; | ||
} | |||
.блок table, | |||
.блок .wikitable { | |||
width: 100% !important; | |||
max-width: none !important; | |||
box-sizing: border-box; | |||
} | } | ||
Текущая версия от 09:58, 14 июня 2026
.блок {
text-decoration: none !important;
border-radius: 6px;
padding: 12px;
margin-bottom: 12px;
width: 100%;
max-width: none;
box-sizing: border-box;
display: block;
}
.блок__контент {
width: 100%;
max-width: none;
box-sizing: border-box;
display: block;
}
.блок h2,
.блок p {
margin: 0;
}
.блок h2 {
margin-bottom: 12px;
}
.блок hr {
border-top: 6px solid rgba(255,255,255,0.05);
border-radius: 6px;
}
.блок table,
.блок .wikitable {
width: 100% !important;
max-width: none !important;
box-sizing: border-box;
}