MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
trying to fix this annoying mobile bug |
center this text because mobile |
||
| Line 45: | Line 45: | ||
flex-direction:column; | flex-direction:column; | ||
align-items:center; | align-items:center; | ||
text-align:center; | |||
z-index:1; | z-index:1; | ||
padding:5px; | padding:5px; | ||
| Line 96: | Line 97: | ||
.mainPage_newsDate, .mainPage_newsItem { | .mainPage_newsDate, .mainPage_newsItem { | ||
font-weight:bold; | font-weight:bold; | ||
text-align:center; | |||
} | } | ||
Revision as of 19:39, 27 March 2026
/* ========================================== */
/* General */
/* ========================================== */
body {
-webkit-text-size-adjust:100% !important;
}
/* ========================================== */
/* 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:10px;
padding:5px;
margin:5px;
}
.mainPage_full {
flex:1;
}
/* ========================================== */
/* Main Page - Welcome */
/* ========================================== */
.mainPage_banner {
background:url(https://wiki.everybodyedits.com/images/9/96/WikiBanner.png);
background-position:center;
opacity:0.5;
position:absolute;
border-radius:5px;
inset:5px;
}
.mainPage_welcome {
display:flex;
flex-direction:column;
align-items:center;
text-align:center;
z-index:1;
padding:5px;
font-size: 16px;
text-shadow: 2px 2px 2px #000000;
}
/* ========================================== */
/* Main Page - Items */
/* ========================================== */
.mainPage_items {
display:flex;
}
.mainPage_header {
font-size:150%;
font-weight:bold;
color:#DDDDDD;
background:#222222;
border-radius:5px;
padding:5px 10px;
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_newsDate, .mainPage_newsItem {
font-weight:bold;
text-align:center;
}
.mainPage_newsItem {
font-size:125%;
}