MediaWiki:Common.css — различия между версиями
Материал из SpaceProgram Wiki
Greywind (обсуждение | вклад) |
Greywind (обсуждение | вклад) |
||
| (не показана 1 промежуточная версия этого же участника) | |||
| Строка 6: | Строка 6: | ||
.info-box { | .info-box { | ||
| − | + | display: inline-block; | |
| − | + | padding: 1em; | |
| + | padding-right: 20px; | ||
| + | padding-left: 50px; | ||
| + | background-color: #fffed9; | ||
| + | position: relative; | ||
} | } | ||
.info-box:before { | .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; | |
| − | border-radius: 10px 10px 10px 10px; | + | -moz-border-radius: 10px 10px 10px 10px; |
| − | -moz-border-radius: 10px 10px 10px 10px; | + | -webkit-border-radius: 15px; |
| − | -webkit-border-radius: | + | border: 1px solid #04a6f4; |
| − | border: | + | 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;
}