MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 61: | Line 61: | ||
white-space: pre-wrap; | white-space: pre-wrap; | ||
} | |||
/* Messagebox templates */ | |||
.messagebox { | |||
border: 1px solid #a2a9b1; | |||
background-color: #f8f9fa; | |||
width: 80%; | |||
margin: 0 auto 1em auto; | |||
padding: .2em; | |||
} | |||
.messagebox.merge { | |||
border: 1px solid #c0b8cc; | |||
background-color: #f0e5ff; | |||
text-align: center; | |||
} | |||
.messagebox.cleanup { | |||
border: 1px solid #9f9fff; | |||
background-color: #efefff; | |||
text-align: center; | |||
} | |||
.messagebox.standard-talk { | |||
border: 1px solid #c0c090; | |||
background-color: #f8eaba; | |||
margin: 4px auto; | |||
} | |||
/* For old WikiProject banners inside banner shells. */ | |||
.mbox-inside .standard-talk, | |||
.messagebox.nested-talk { | |||
border: 1px solid #c0c090; | |||
background-color: #f8eaba; | |||
width: 100%; | |||
margin: 2px 0; | |||
padding: 2px; | |||
} | |||
.messagebox.small { | |||
width: 238px; | |||
font-size: 85%; | |||
/* @noflip */ | |||
float: right; | |||
clear: both; | |||
/* @noflip */ | |||
margin: 0 0 1em 1em; | |||
line-height: 1.25em; | |||
} | |||
.messagebox.small-talk { | |||
width: 238px; | |||
font-size: 85%; | |||
/* @noflip */ | |||
float: right; | |||
clear: both; | |||
/* @noflip */ | |||
margin: 0 0 1em 1em; | |||
line-height: 1.25em; | |||
background: #F8EABA; | |||
} | } |
Revision as of 09:22, 15 May 2018
/* CSS placed here will affect users of the Common interface */
body.page-TTA h1.firstHeading, body.page-TheFiddlersCompanion h1.firstHeading, body.page-Main_Page h1.firstHeading { display:none; }
/*#content h1 { display: none; }*/
/*#f-poweredbyico { display: none; }*/
.page-TTA #ca-main { display: none !important; }
.page-TheFiddlersCompanion #ca-main { display: none !important; }
.page-Main_Page #ca-main { display: none !important; }
.page-Main_Page #ca-talk { display: none !important; }
.page-TTA #ca-talk { display: none !important; }
#ca-editsource { display:none!important; }
#ca-view { display:none!important; }
#ca-talk { display:none!important; }
#ca-nstab-main { display:none!important; }
.ns-204 #ca-talk { display: none !important; }
/* rounded corners for webkit browsers: works on Chrome v5.0.307.11 beta and Safari v4.0.4 */
#p-cactions ul li, #p-cactions ul li a {
-webkit-border-top-left-radius: 8px;
-webkit-border-top-right-radius: 8px;
}
#content {
-webkit-border-top-left-radius: 8px;
-webkit-border-bottom-left-radius: 8px;
}
div.pBody {
-webkit-border-top-right-radius: 8px;
-webkit-border-bottom-right-radius: 8px;
}
/* same following the css3 draft specs, any browsers supporting this? */
#p-cactions ul li, #p-cactions ul li a {
border-top-left-radius: 1em;
border-top-right-radius: 1em;
}
#content {
border-top-left-radius: 1em;
border-bottom-left-radius: 1em;
}
div.pBody {
border-top-right-radius: 1em;
border-bottom-right-radius: 1em;
}
#bodyContent a[href ^="spotify:"],
.link-spotify {
background: url("spotify.jpg") center right no-repeat;
padding-right: 11px;
}
.wikiEditor-ui-toolbar .tabs, .wikiEditor-ui-toolbar .section-main {
height: inherit;
}
.wikiEditor-ui-toolbar .tabs{
height: inherit;
}
div.abctext {
display:inline-block;
white-space: pre-wrap;
}
/* Messagebox templates */
.messagebox {
border: 1px solid #a2a9b1;
background-color: #f8f9fa;
width: 80%;
margin: 0 auto 1em auto;
padding: .2em;
}
.messagebox.merge {
border: 1px solid #c0b8cc;
background-color: #f0e5ff;
text-align: center;
}
.messagebox.cleanup {
border: 1px solid #9f9fff;
background-color: #efefff;
text-align: center;
}
.messagebox.standard-talk {
border: 1px solid #c0c090;
background-color: #f8eaba;
margin: 4px auto;
}
/* For old WikiProject banners inside banner shells. */
.mbox-inside .standard-talk,
.messagebox.nested-talk {
border: 1px solid #c0c090;
background-color: #f8eaba;
width: 100%;
margin: 2px 0;
padding: 2px;
}
.messagebox.small {
width: 238px;
font-size: 85%;
/* @noflip */
float: right;
clear: both;
/* @noflip */
margin: 0 0 1em 1em;
line-height: 1.25em;
}
.messagebox.small-talk {
width: 238px;
font-size: 85%;
/* @noflip */
float: right;
clear: both;
/* @noflip */
margin: 0 0 1em 1em;
line-height: 1.25em;
background: #F8EABA;
}