MediaWiki:Common.css: Difference between revisions
From He is Coming Official Wiki
HolyMormor (talk | contribs) No edit summary |
HolyMormor (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
.title-border { | |||
display: flex; | |||
align-items: center; | |||
height: 5px; /* samma höjd som din pixelart */ | |||
margin: 1em 0; | |||
} | |||
.title-border .start { | |||
background-image: url(/wiki/Special:FilePath/Border%20line%20left.png); | |||
width: 10px; /* eller exakt width på vänsterdel */ | |||
height: 5px; | |||
background-repeat: no-repeat; | |||
background-size: contain; | |||
} | |||
.title-border .middle { | |||
background-image: url(/wiki/Special:FilePath/Border%20line%20middle.png); | |||
flex-grow: 1; | |||
height: 5px; | |||
background-repeat: repeat-x; | |||
background-size: auto 5px; | |||
} | |||
.title-border .end { | |||
background-image: url(/wiki/Special:FilePath/Border%20line%20right.png); | |||
width: 10px; /* eller exakt width på högerdel */ | |||
height: 5px; | |||
background-repeat: no-repeat; | |||
background-size: contain; | |||
} | |||
Revision as of 17:57, 1 August 2025
/* CSS placed here will be applied to all skins */
.title-border {
display: flex;
align-items: center;
height: 5px; /* samma höjd som din pixelart */
margin: 1em 0;
}
.title-border .start {
background-image: url(/wiki/Special:FilePath/Border%20line%20left.png);
width: 10px; /* eller exakt width på vänsterdel */
height: 5px;
background-repeat: no-repeat;
background-size: contain;
}
.title-border .middle {
background-image: url(/wiki/Special:FilePath/Border%20line%20middle.png);
flex-grow: 1;
height: 5px;
background-repeat: repeat-x;
background-size: auto 5px;
}
.title-border .end {
background-image: url(/wiki/Special:FilePath/Border%20line%20right.png);
width: 10px; /* eller exakt width på högerdel */
height: 5px;
background-repeat: no-repeat;
background-size: contain;
}


