MediaWiki:Common.css — различия между версиями
Материал из SpaceProgram Wiki
Greywind (обсуждение | вклад) (Новая страница: «→Размещённый здесь CSS будет применяться ко всем темам оформления: .comment { background: yellow; }») |
Greywind (обсуждение | вклад) |
||
| (не показаны 2 промежуточные версии этого же участника) | |||
| Строка 3: | Строка 3: | ||
.comment { | .comment { | ||
background: yellow; | background: yellow; | ||
| + | } | ||
| + | |||
| + | .info-box { | ||
| + | display: inline-block; | ||
| + | padding: 1em; | ||
| + | padding-right: 20px; | ||
| + | padding-left: 50px; | ||
| + | background-color: #fffed9; | ||
| + | position: relative; | ||
| + | } | ||
| + | |||
| + | .info-box:before { | ||
| + | left: 15px; | ||
| + | top: 15px; | ||
| + | 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: 15px; | ||
| + | border: 1px solid #04a6f4; | ||
| + | background-color: #ffffff; | ||
| + | color: #04a6f4; | ||
| + | font-weight: bold; | ||
| + | font-family: serif; | ||
} | } | ||
Текущая версия на 23:14, 25 июля 2020
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
.comment {
background: yellow;
}
.info-box {
display: inline-block;
padding: 1em;
padding-right: 20px;
padding-left: 50px;
background-color: #fffed9;
position: relative;
}
.info-box:before {
left: 15px;
top: 15px;
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: 15px;
border: 1px solid #04a6f4;
background-color: #ffffff;
color: #04a6f4;
font-weight: bold;
font-family: serif;
}