Difference between revisions of "MediaWiki:Common.css"
From DIQA-Homepage
(Created page with "→CSS placed here will be applied to all skins: .tooltip { position: relative; display: inline-block; border-bottom: 1px dotted black; /* If you want dots under the h...") |
|||
| Line 1: | Line 1: | ||
| − | + | .infolink:before | |
| − | + | { | |
| − | + | content: '?'; | |
| − | + | display: inline-block; | |
| − | + | font-family: sans-serif; | |
| + | font-weight: bold; | ||
| + | text-align: center; | ||
| + | width: 1.8ex; | ||
| + | height: 1.8ex; | ||
| + | font-size: 1.4ex; | ||
| + | line-height: 1.8ex; | ||
| + | border-radius: 1.2ex; | ||
| + | margin-right: 4px; | ||
| + | padding: 1px; | ||
| + | color: blue; | ||
| + | background: white; | ||
| + | border: 1px solid blue; | ||
| + | text-decoration: none; | ||
} | } | ||
| − | + | .infolink:hover:before | |
| − | + | { | |
| − | + | color: white; | |
| − | + | background: blue; | |
| − | + | border-color: white; | |
| − | + | text-decoration: none; | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
} | } | ||
Revision as of 10:48, 3 August 2020
.infolink:before
{
content: '?';
display: inline-block;
font-family: sans-serif;
font-weight: bold;
text-align: center;
width: 1.8ex;
height: 1.8ex;
font-size: 1.4ex;
line-height: 1.8ex;
border-radius: 1.2ex;
margin-right: 4px;
padding: 1px;
color: blue;
background: white;
border: 1px solid blue;
text-decoration: none;
}
.infolink:hover:before
{
color: white;
background: blue;
border-color: white;
text-decoration: none;
}