MediaWiki:Monobook.css: Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
Fix black text on sidebar contrasting the background |
mNo edit summary |
||
Line 136: | Line 136: | ||
#sidebar > div > h3 { | #sidebar > div > h3 { | ||
color: white; | color: white; | ||
mix-blend-mode: difference; | |||
} | } |
Latest revision as of 04:12, 26 April 2023
/* edit this file to customize the monobook skin for the entire site */
body {
font: x-small verdana;
background: url(/skins/monobook/robricks.jpg) #6E99C9 0 0 no-repeat;
}
pre {
padding: 1em;
border: 1px dashed #0000FF;
color: black;
background-color: #f9f9f9;
line-height: 1.1em;
font-size:medium;
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
}
/** Tabbed system *************************************
/*--------------------------------------------------
REQUIRED to hide the non-active tab content.
But do not hide them in the print stylesheet!
--------------------------------------------------*/
.tabberlive .tabbertabhide {
display:none;
}
/*--------------------------------------------------
.tabber = before the tabber interface is set up
.tabberlive = after the tabber interface is set up
--------------------------------------------------*/
.tabber {
}
.tabberlive {
margin-top:1em;
}
/*--------------------------------------------------
ul.tabbernav = the tab navigation list
li.tabberactive = the active tab
--------------------------------------------------*/
ul.tabbernav
{
margin:0;
padding: 3px 0;
border-bottom: 2px solid #aa0000;
font: bold 15px Verdana, sans-serif;
}
ul.tabbernav li
{
list-style: none;
margin: 0;
display: inline;
}
ul.tabbernav li a
{
-webkit-border-top-right-radius: 10px;
-webkit-border-top-left-radius: 10px;
-moz-border-radius-topleft: 10px;
-moz-border-radius-topright: 10px;
padding: 3px 0.5em;
margin-left: 3px;
border: 1px solid #778;
border-bottom: none;
background: #c3d6ea;
text-decoration: none;
}
ul.tabbernav li a:link { color: #000; }
ul.tabbernav li a:visited { color: #000; }
ul.tabbernav li a:hover
{
color: #000;
background: #ffdddd;
border-color: #227;
}
ul.tabbernav li.tabberactive a
{
background-color: #EEEEEE;
border-bottom: 2px solid #EEEEEE;
}
ul.tabbernav li.tabberactive a:hover
{
color: #000;
background: #ffdddd;
border-bottom: 1px solid #ffdddd;
}
/*--------------------------------------------------
.tabbertab = the tab content
Add style only after the tabber interface is set up (.tabberlive)
--------------------------------------------------*/
.tabberlive .tabbertab {
padding:5px;
border:0px solid #aaa;
/* If you don't want the tab size changing whenever a tab is changed
you can set a fixed height */
/* height:200px; */
/* If you set a fix height set overflow to auto and you will get a
scrollbar when necessary */
/* overflow:auto; */
}
/* If desired, hide the heading since a heading is provided by the tab */
.tabberlive .tabbertab h2 {
display:none;
}
.tabberlive .tabbertab h3 {
display:none;
}
/* Example of using an ID to set different styles for the tabs on the page */
.tabberlive#tab1 {
}
.tabberlive#tab2 {
}
.tabberlive#tab2 .tabbertab {
height:200px;
overflow:auto;
}
/* sidebar contrast fixes */
#sidebar > div > h3 {
color: white;
mix-blend-mode: difference;
}