MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
 
(6 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 */


/*
table.wikitable > tr > th {
* Allow limiting of which header levels are shown in a TOC;
background-color: #d6d6d6 !important;
* <div class="toclimit-3">, for instance, will limit to
}
* showing ==headings== and ===headings=== but no further.
 
* Used in [[Template:TOC]]
#mw-searchoptions {
*/
display: none;
.toclimit-2 .toclevel-1 ul,
}
.toclimit-3 .toclevel-2 ul,
 
.toclimit-4 .toclevel-3 ul,
.tippy-box[data-theme~=wiki]{
.toclimit-5 .toclevel-4 ul,
    font-weight:bold;
.toclimit-6 .toclevel-5 ul,
    font-size:0.75rem;
.toclimit-7 .toclevel-6 ul {
    border-color:hsla(208,14%,14%,1) !important;
  display: none;
    border: 1px solid;
}
    background-color:hsla(210,17%,98%,.9);
    color:#202122;
box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.03 ), 0 1px 2px rgba( 0, 0, 0, 0.06 );
    -webkit-box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.03 ), 0 1px 2px rgba( 0, 0, 0, 0.06 );
    -moz-box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.03 ), 0 1px 2px rgba( 0, 0, 0, 0.06 );
    line-height:var(--line-height) !important;
}
.tippy-box[data-theme~=wiki]>.tippy-content{
    padding:0.5rem;
}
.tippy-box[data-theme~=wiki]>.tippy-arrow{
    width:14px;
    height:14px;
}
.tippy-box[data-theme~=wiki][data-placement^=top]>.tippy-arrow:before{
    border-width:7px 7px 0;
    border-top-color:rgba(0,0,0,.9);
}
.tippy-box[data-theme~=wiki][data-placement^=bottom]>.tippy-arrow:before{
    border-width:0 7px 7px;
    border-bottom-color:rgba(0,0,0,.9);
}
.tippy-box[data-theme~=wiki][data-placement^=left]>.tippy-arrow:before{
    border-width:7px 0 7px 7px;
    border-left-color:rgba(0,0,0,.9);
}
.tippy-box[data-theme~=wiki][data-placement^=right]>.tippy-arrow:before{
    border-width:7px 7px 7px 0;
    border-right-color:rgba(0,0,0,.9);
}
.tippy-box[data-theme~=wiki]>.tippy-backdrop{
    background-color:rgba(0,0,0,.9);
}
.tippy-box[data-theme~=wiki]>.tippy-svg-arrow{
    fill:rgba(0,0,0,.9);
}
 
.tippy-box[data-animation=scale-subtle][data-placement^=top]{transform-origin:bottom}.tippy-box[data-animation=scale-subtle][data-placement^=bottom]{transform-origin:top}.tippy-box[data-animation=scale-subtle][data-placement^=left]{transform-origin:right}.tippy-box[data-animation=scale-subtle][data-placement^=right]{transform-origin:left}.tippy-box[data-animation=scale-subtle][data-state=hidden]{transform:scale(.8);opacity:0}

Latest revision as of 16:12, 16 October 2023

/* CSS placed here will be applied to all skins */

table.wikitable > tr > th {
	background-color: #d6d6d6 !important;
}

#mw-searchoptions {
	display: none;
}

.tippy-box[data-theme~=wiki]{
    font-weight:bold;
    font-size:0.75rem;
    border-color:hsla(208,14%,14%,1) !important;
    border: 1px solid;
    background-color:hsla(210,17%,98%,.9);
    color:#202122;
	box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.03 ), 0 1px 2px rgba( 0, 0, 0, 0.06 );
    -webkit-box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.03 ), 0 1px 2px rgba( 0, 0, 0, 0.06 );
    -moz-box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.03 ), 0 1px 2px rgba( 0, 0, 0, 0.06 );
    line-height:var(--line-height) !important;
}
.tippy-box[data-theme~=wiki]>.tippy-content{
    padding:0.5rem;
}
.tippy-box[data-theme~=wiki]>.tippy-arrow{
    width:14px;
    height:14px;
}
.tippy-box[data-theme~=wiki][data-placement^=top]>.tippy-arrow:before{
    border-width:7px 7px 0;
    border-top-color:rgba(0,0,0,.9);
}
.tippy-box[data-theme~=wiki][data-placement^=bottom]>.tippy-arrow:before{
    border-width:0 7px 7px;
    border-bottom-color:rgba(0,0,0,.9);
}
.tippy-box[data-theme~=wiki][data-placement^=left]>.tippy-arrow:before{
    border-width:7px 0 7px 7px;
    border-left-color:rgba(0,0,0,.9);
}
.tippy-box[data-theme~=wiki][data-placement^=right]>.tippy-arrow:before{
    border-width:7px 7px 7px 0;
    border-right-color:rgba(0,0,0,.9);
}
.tippy-box[data-theme~=wiki]>.tippy-backdrop{
    background-color:rgba(0,0,0,.9);
}
.tippy-box[data-theme~=wiki]>.tippy-svg-arrow{
    fill:rgba(0,0,0,.9);
}

.tippy-box[data-animation=scale-subtle][data-placement^=top]{transform-origin:bottom}.tippy-box[data-animation=scale-subtle][data-placement^=bottom]{transform-origin:top}.tippy-box[data-animation=scale-subtle][data-placement^=left]{transform-origin:right}.tippy-box[data-animation=scale-subtle][data-placement^=right]{transform-origin:left}.tippy-box[data-animation=scale-subtle][data-state=hidden]{transform:scale(.8);opacity:0}
We collect cookies to analyze our website traffic and performance; we never collect any personal data.