MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
more padding damn you |
overhaul this |
||
| Line 1: | Line 1: | ||
body.page-Main_Page | /* ========================================== */ | ||
/* Main Page */ | |||
/* ========================================== */ | |||
body.page-Main_Page h1.firstHeading { | |||
display:none; | display:none; | ||
} | } | ||
. | .mainPage_container { | ||
display:flex; | display:flex; | ||
flex-direction:column; | flex-direction:column; | ||
| Line 19: | Line 18: | ||
} | } | ||
. | /* ========================================== */ | ||
/* Main Page - Welcome */ | |||
/* ========================================== */ | |||
.mainPage_banner { | |||
background:url(https://wiki.everybodyedits.com/images/9/96/WikiBanner.png); | background:url(https://wiki.everybodyedits.com/images/9/96/WikiBanner.png); | ||
opacity:0.5; | opacity:0.5; | ||
position:absolute; | position:absolute; | ||
| Line 28: | Line 29: | ||
} | } | ||
. | .mainPage_welcome { | ||
display:flex; | display:flex; | ||
flex-direction:column; | flex-direction:column; | ||
| Line 38: | Line 39: | ||
} | } | ||
. | /* ========================================== */ | ||
/* Main Page - Items */ | |||
/* ========================================== */ | |||
.mainPage_items { | |||
display:flex; | |||
} | |||
.mainPage_header { | |||
display:flex; | display:flex; | ||
justify-content:center; | justify-content:center; | ||
| Line 51: | Line 59: | ||
} | } | ||
. | /* ========================================== */ | ||
/* Main Page - Index */ | |||
/* ========================================== */ | |||
.mainPage_index { | |||
display:flex; | display:flex; | ||
justify-content:space-around; | |||
align-items:center; | align-items:center; | ||
height:100%; | |||
} | } | ||
. | .mainPage_indexItem { | ||
display:flex; | |||
flex-direction:column; | |||
align-items:center; | |||
} | } | ||
. | /* ========================================== */ | ||
/* Main Page - News */ | |||
/* ========================================== */ | |||
.mainPage_news { | |||
display:flex; | display:flex; | ||
flex-direction:column; | |||
align-items:center; | align-items:center; | ||
margin-bottom:5px; | margin-bottom:5px; | ||
} | } | ||
. | .mainPage_news:last-child { | ||
margin-bottom:0px; | |||
} | |||
.mainPage_newsDate, .mainPage_newsItem { | |||
font-weight:bold; | |||
} | } | ||
. | .mainPage_newsItem { | ||
font-size:125%; | |||
} | } | ||
Revision as of 02:12, 27 March 2026
/* ========================================== */
/* Main Page */
/* ========================================== */
body.page-Main_Page h1.firstHeading {
display:none;
}
.mainPage_container {
display:flex;
flex-direction:column;
position:relative;
color:#DDDDDD;
background:#333333;
border:2px solid #7B7B7B;
border-radius:5px;
padding:5px;
margin:5px;
}
/* ========================================== */
/* Main Page - Welcome */
/* ========================================== */
.mainPage_banner {
background:url(https://wiki.everybodyedits.com/images/9/96/WikiBanner.png);
opacity:0.5;
position:absolute;
border-radius:5px;
inset:5px;
}
.mainPage_welcome {
display:flex;
flex-direction:column;
align-items:center;
z-index:1;
padding:5px;
font-size: 16px;
text-shadow: 2px 2px 2px #000000;
}
/* ========================================== */
/* Main Page - Items */
/* ========================================== */
.mainPage_items {
display:flex;
}
.mainPage_header {
display:flex;
justify-content:center;
align-items:center;
font-size:150%;
font-weight:bold;
color:#DDDDDD;
background:#222222;
border-radius:5px;
padding:5px;
margin-bottom:5px;
}
/* ========================================== */
/* Main Page - Index */
/* ========================================== */
.mainPage_index {
display:flex;
justify-content:space-around;
align-items:center;
height:100%;
}
.mainPage_indexItem {
display:flex;
flex-direction:column;
align-items:center;
}
/* ========================================== */
/* Main Page - News */
/* ========================================== */
.mainPage_news {
display:flex;
flex-direction:column;
align-items:center;
margin-bottom:5px;
}
.mainPage_news:last-child {
margin-bottom:0px;
}
.mainPage_newsDate, .mainPage_newsItem {
font-weight:bold;
}
.mainPage_newsItem {
font-size:125%;
}