MediaWiki:Common.css: Difference between revisions
From UN-NAMED SHOW wiki
Created page with "→CSS placed here will be applied to all skins: →Header Styles: .main-page-header { background-color: #2c2f33; color: #ffffff; padding: 10px; font-size: 1.5em; text-align: center; border-radius: 5px; } →Box Styles: .main-page-box { background-color: #f9f9f9; border: 1px solid #dddddd; padding: 10px; margin: 10px 0; border-radius: 5px; } .main-page-box h3 { background-color: #dddddd; padding: 5px; font-s..." |
No edit summary |
||
Line 42: | Line 42: | ||
border: 1px solid #cccccc; | border: 1px solid #cccccc; | ||
border-radius: 3px; | border-radius: 3px; | ||
} | |||
.infobox { | |||
float: right; | |||
width: 250px; | |||
border: 1px solid #aaa; | |||
background-color: #f9f9f9; | |||
padding: 5px; | |||
margin: 0 0 1em 1em; | |||
font-family: Arial, sans-serif; | |||
font-size: 90%; | |||
} | } |
Revision as of 11:39, 28 August 2024
/* CSS placed here will be applied to all skins */
/* Header Styles */
.main-page-header {
background-color: #2c2f33;
color: #ffffff;
padding: 10px;
font-size: 1.5em;
text-align: center;
border-radius: 5px;
}
/* Box Styles */
.main-page-box {
background-color: #f9f9f9;
border: 1px solid #dddddd;
padding: 10px;
margin: 10px 0;
border-radius: 5px;
}
.main-page-box h3 {
background-color: #dddddd;
padding: 5px;
font-size: 1.2em;
margin: -10px -10px 10px -10px;
border-radius: 5px 5px 0 0;
}
.main-page-box ul {
list-style-type: none;
padding: 0;
}
.main-page-box li {
margin: 5px 0;
display: flex;
align-items: center;
}
.main-page-box li img {
margin-right: 10px;
border: 1px solid #cccccc;
border-radius: 3px;
}
.infobox {
float: right;
width: 250px;
border: 1px solid #aaa;
background-color: #f9f9f9;
padding: 5px;
margin: 0 0 1em 1em;
font-family: Arial, sans-serif;
font-size: 90%;
}