MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary Tag: Manual revert |
No edit summary |
||
Line 21: | Line 21: | ||
/* Reduce font size of footnotes */ | /* Reduce font size of footnotes */ | ||
.reference, .reference-text { | |||
font-size: 0.8em; /* Adjust the value as needed */ | font-size: 0.8em; /* Adjust the value as needed */ | ||
} | } | ||
/* | /* adjust viewing widths */ | ||
body { | /* Styles for standard view */ | ||
max-width: | .skin-standard .mw-body { | ||
max-width: 900px; /* Adjust this value as needed */ | |||
min-width: 600px; /* Adjust this value as needed */ | |||
margin: 0 auto; | margin: 0 auto; | ||
padding: 0 20px; | |||
} | |||
/* Styles for wide view */ | |||
.skin-wide .mw-body { | |||
max-width: 1200px; /* Adjust this value as needed */ | |||
min-width: 800px; /* Adjust this value as needed */ | |||
margin: 0 auto; | |||
padding: 0 20px; | |||
} | |||
/* Apply consistent width to the content area */ | |||
.mw-body { | |||
flex: 1; /* Allow content to take up available space */ | |||
} | |||
/* Styles to ensure sidebar does not affect the width */ | |||
#mw-content-text { | |||
box-sizing: border-box; /* Include padding and border in the element's width and height */ | |||
} | } |
Revision as of 23:22, 30 January 2025
/* CSS placed here will be applied to all skins */
/* Adjust the size of the logo */
.mw-logo-icon {
width: 125px; /* Adjust this value to your desired width */
height: auto; /* This maintains the aspect ratio */
}
/* blockquote formatting */
blockquote {
clear: both;
background-color: #f5f5f5;
border: 1px solid #ccc !important;
font-family: Roboto Mono !important;
font-size: 110% !important;
padding: 10px !important;
margin-left: 20px 0 !important;
width:80% !important;
border-radius: 4px !important;
}
/* Reduce font size of footnotes */
.reference, .reference-text {
font-size: 0.8em; /* Adjust the value as needed */
}
/* adjust viewing widths */
/* Styles for standard view */
.skin-standard .mw-body {
max-width: 900px; /* Adjust this value as needed */
min-width: 600px; /* Adjust this value as needed */
margin: 0 auto;
padding: 0 20px;
}
/* Styles for wide view */
.skin-wide .mw-body {
max-width: 1200px; /* Adjust this value as needed */
min-width: 800px; /* Adjust this value as needed */
margin: 0 auto;
padding: 0 20px;
}
/* Apply consistent width to the content area */
.mw-body {
flex: 1; /* Allow content to take up available space */
}
/* Styles to ensure sidebar does not affect the width */
#mw-content-text {
box-sizing: border-box; /* Include padding and border in the element's width and height */
}