MediaWiki:Common.css: Difference between revisions
From abbyversewiki.irkanien.de
Jump to navigationJump to search
mNo edit summary |
No edit summary |
||
Line 33: | Line 33: | ||
.mw-content-ltr { | .mw-content-ltr { | ||
max-width: | max-width: 1200px; /* Adjust this as needed */ | ||
margin: 0 auto; /* Centers the content */ | margin: 0 auto; /* Centers the content */ | ||
padding: 0 20px; /* Adds some spacing on the sides */ | padding: 0 20px; /* Adds some spacing on the sides */ | ||
text-align: center; /* Centers text */ | |||
} | } |
Revision as of 18:18, 7 February 2025
/* CSS placed here will be applied to all skins */
/* Scale the wiki logo */
.mw-wiki-logo {
background-size: contain !important;
width: 180px !important; /* Adjust width */
height: 180px !important; /* Adjust height */
}
#toc {
position: relative; /* Keeps it in normal document flow */
float: left !important;
max-width: 450px; /* Fix width-max typo */
margin-right: 25px;
background: #f9f9f9;
padding: 15px;
border: 1px solid #aaa;
clear: both; /* Ensures it does not get overlapped */
}
/* Set a max-width for article content */
.mw-body-content {
max-width: 800px; /* Adjust as needed */
margin: 0 auto; /* Centers the content */
}
.mw-body {
max-width: 800px; /* Adjust this as needed */
margin: 0 auto; /* Centers the content */
padding: 0 20px; /* Adds some spacing on the sides */
}
.mw-content-ltr {
max-width: 1200px; /* Adjust this as needed */
margin: 0 auto; /* Centers the content */
padding: 0 20px; /* Adds some spacing on the sides */
text-align: center; /* Centers text */
}