Шаблон:Блок/styles.css: различия между версиями
Материал из SpaceOnyx
Дополнительные действия
Neyran (обсуждение | вклад) Нет описания правки |
Soton (обсуждение | вклад) Нет описания правки |
||
| Строка 1: | Строка 1: | ||
.блок { | .блок * { | ||
box-sizing: border-box; | |||
} | } | ||
. | .блок { | ||
text-decoration: none !important; | |||
border-radius: 6px; | |||
padding: 10px 12px; | |||
margin-bottom: 12px; | |||
width: 100%; | |||
display: block; | |||
} | } | ||
.блок h1, | |||
.блок h2, | .блок h2, | ||
.блок p { | .блок h3, | ||
.блок h4, | |||
.блок h5, | |||
.блок h6, | |||
.блок p, | |||
.блок ul, | |||
.блок ol, | |||
.блок li, | |||
.блок dl, | |||
.блок dd, | |||
.блок dt { | |||
margin: 0; | |||
padding: 0; | |||
} | } | ||
.блок h2 { | .блок h2 { | ||
margin-bottom: 8px; | |||
} | } | ||
.блок | .блок ul, | ||
.блок ol { | |||
padding-left: 20px; | |||
} | } | ||
.блок | .блок hr { | ||
border-top: 6px solid rgba(255,255,255,0.05); | |||
margin: 8px 0; | |||
} | } | ||
Версия от 19:29, 18 июня 2026
.блок * {
box-sizing: border-box;
}
.блок {
text-decoration: none !important;
border-radius: 6px;
padding: 10px 12px;
margin-bottom: 12px;
width: 100%;
display: block;
}
.блок h1,
.блок h2,
.блок h3,
.блок h4,
.блок h5,
.блок h6,
.блок p,
.блок ul,
.блок ol,
.блок li,
.блок dl,
.блок dd,
.блок dt {
margin: 0;
padding: 0;
}
.блок h2 {
margin-bottom: 8px;
}
.блок ul,
.блок ol {
padding-left: 20px;
}
.блок hr {
border-top: 6px solid rgba(255,255,255,0.05);
margin: 8px 0;
}