yoohoo! hot sauce please

10:27, 7 September 2026 (UTC)

MediaWiki:Monobook.css: Difference between revisions

From 2swagg wiki
Jump to navigationJump to search
No edit summary
logo: background-size contain so it is not cropped/zoomed
Line 47: Line 47:
body.skin-monobook #p-tb{
body.skin-monobook #p-tb{
margin-left: 4px;
margin-left: 4px;
}
/* Fit the whole logo inside its box (MonoBook shows it cropped by default) */
#p-logo a {
background-size: contain !important;
background-position: center center !important;
}
}

Revision as of 02:52, 7 September 2026

/* All CSS here will be loaded for users of the MonoBook skin */
/* Monobook Multiquote Controls */
.hiddentext { 
    display: none !important; 
}
.showhidetext { 
    color: #002bb8 !important; 
    cursor: pointer !important; 
    user-select: none !important; 
    outline: none !important;
    border: none !important;
}
.showhidetext:hover { 
    text-decoration: underline !important; 
}
.showhidetext:active { 
    color: #b85b00 !important; 
}

/* Force-remove red outlines/boxes across the wiki */
.new, .new a, a.new, .new:visited, a.new:visited {
    color: #ba0000 !important;
    outline: none !important;
    border: none !important;
}

/* Fix red borders on preview/diff warnings */
.previewnote, .diffchange {
    border: none !important;
    outline: none !important;
    background: none !important;
}

/* Site-wide Monobook navigation cleanup */
#p-logo a, #p-navigation a, #p-search form, #p-personal a, #p-cactions a, #p-tb a {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}
#p-logo a:hover, #p-navigation a:hover, #p-personal a:hover, #p-cactions a:hover, #p-tb a:hover {
    border: 0 !important;
    outline: 0 !important;
}

body.skin-monobook #p-navigation,
body.skin-monobook #p-search,
body.skin-monobook #p-tb{
	margin-left: 4px;
}
/* Fit the whole logo inside its box (MonoBook shows it cropped by default) */
#p-logo a {
	background-size: contain !important;
	background-position: center center !important;
}