MediaWiki:Common.css — различия между версиями
Материал из SpaceProgram Wiki
Greywind (обсуждение | вклад) (Новая страница: «→Размещённый здесь CSS будет применяться ко всем темам оформления: .comment { background: yellow; }») |
Greywind (обсуждение | вклад) |
||
| Строка 3: | Строка 3: | ||
.comment { | .comment { | ||
background: yellow; | background: yellow; | ||
| + | } | ||
| + | |||
| + | .info-box { | ||
| + | padding: 1em; | ||
| + | position: relative; | ||
| + | } | ||
| + | |||
| + | .info-box:before { | ||
| + | margin-top: -10px; | ||
| + | left: 5px; | ||
| + | top: 50%; | ||
| + | position: absolute; | ||
| + | display: block; | ||
| + | content: "i"; | ||
| + | line-height: 20px; | ||
| + | text-align: center; | ||
| + | width: 20px; | ||
| + | height: 20px; | ||
| + | border-radius: 10px 10px 10px 10px; | ||
| + | -moz-border-radius: 10px 10px 10px 10px; | ||
| + | -webkit-border-radius: 10px 10px 10px 10px; | ||
| + | border: 0px solid #000000; | ||
} | } | ||
Версия 23:03, 25 июля 2020
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
.comment {
background: yellow;
}
.info-box {
padding: 1em;
position: relative;
}
.info-box:before {
margin-top: -10px;
left: 5px;
top: 50%;
position: absolute;
display: block;
content: "i";
line-height: 20px;
text-align: center;
width: 20px;
height: 20px;
border-radius: 10px 10px 10px 10px;
-moz-border-radius: 10px 10px 10px 10px;
-webkit-border-radius: 10px 10px 10px 10px;
border: 0px solid #000000;
}