MediaWiki:Common.css: Difference between revisions

From RadiWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 46: Line 46:
h1, h2 {
h1, h2 {
     border-bottom: 1px solid #902082
     border-bottom: 1px solid #902082
}
/* If an image in the content part is too wide for the page, scale it down */
div.mw-parser-output  img {
    max-width: 100%;
    height: auto;
}
}

Revision as of 12:49, 28 September 2024

/* CSS placed here will be applied to all skins */
/* Hide the 'Editor tools' and 'Tools' in the left-side toolbar */
#p-tb { 
    display: none; 
}
#p-Editor_tools { 
    display: none; 
}
/* Reduce the header at the top, which moves the search box into the page content */
#mw-head-base {
    height: 2em;
}
/* Move the help-icon indicators also a little down (visible on a category page) */
.mw-indicators {
    top: 3em;
}
/* The left-side toolbar stays fixed in view */
#mw-panel {
    position: fixed;
}
/* No icons in the footer */
#footer-icons {
    display: none;
}

/* .wikitable to match the style of the grid in RadiMation */
.wikitable tr th {
    background-color: #DDD9EC;
    text-align: left;
}
.wikitable tr:nth-child(odd) td {
    background-color: #FFFFFF;
}
.wikitable tr:nth-child(even) td {
    background-color: #F0F0F8;
}

/* The background color of a window in RadiMation */
body {
    background-color: #F0F0F0;
}
/* Borders matching the groupbox frame color in RadiMation */
.mw-body {
    border: 1px solid #902082
}
h1, h2 {
    border-bottom: 1px solid #902082
}

/* If an image in the content part is too wide for the page, scale it down */
div.mw-parser-output  img {
    max-width: 100%;
    height: auto;
}