Jump to content

MediaWiki:Common.css: Difference between revisions

From CATCRAFT WIKI
Created page with "CSS placed here will be applied to all skins: Hide the toolbar for everyone except the owner: .cosmos-toolbar-tools { display: none; } .mw-user-DarkChroma .cosmos-toolbar-tools { display: block; }"
 
No edit summary
Tag: Manual revert
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* Hide the toolbar for everyone except the owner */
/* Hide the toolbar for everyone */
.cosmos-toolbar-tools {
#p-tb {
     display: none;
     display: none;
}
}
.mw-user-DarkChroma .cosmos-toolbar-tools {
 
     display: block;
/* Apply rounded corners to all images */
img, .thumbimage, .image img {
    border-radius: 5px !important; /* Adjust the value to control the roundness of the corners */
}
 
/* Prevent large images from overflowing off the page */
img, .thumbimage, .image img {
    max-width: 100%;
     height: auto;
}
}

Latest revision as of 07:44, 7 May 2023

/* CSS placed here will be applied to all skins */
/* Hide the toolbar for everyone */
#p-tb {
    display: none;
}

/* Apply rounded corners to all images */
img, .thumbimage, .image img {
    border-radius: 5px !important; /* Adjust the value to control the roundness of the corners */
}

/* Prevent large images from overflowing off the page */
img, .thumbimage, .image img {
    max-width: 100%;
    height: auto;
}