MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* To make images responsive */ | |||
.res-img img { | |||
max-width:100%; | |||
height:auto; | |||
} | |||
/*Take off "Main Page" from the home page */ | |||
body.page-Main_Page h1 { display: none; } | body.page-Main_Page h1 { display: none; } | ||
body { | body { | ||
Revision as of 18:19, 13 November 2023
/* CSS placed here will be applied to all skins */
/* To make images responsive */
.res-img img {
max-width:100%;
height:auto;
}
/*Take off "Main Page" from the home page */
body.page-Main_Page h1 { display: none; }
body {
background: url("/images/TexturedBackground.jpg");
background-size: cover;
background-attachment: fixed;
}
div #mw-panel {
/* Color & Background */
background-attachment: scroll;
background-color: rgba(255, 255, 255, 0.67);
/* Box */
height: 500px;
width: 160px;
/* Positioning */
position: fixed;
/* Effects */
border-padding-top: 80px;
border-top-left-radius: 0px;
border-top-right-radius: 8px;
border-bottom-left-radius: 0px;
border-bottom-right-radius: 8px;
}