MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
(Created page with "→‎CSS placed here will be applied to all skins: .infobox { background: #eee; border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 1em; width: 400px; } .infobox-title { font-size: 2em; text-align: center; } .infobox-image { text-align: center; } .infobox th { text-align: right; vertical-align: top; width: 120px; } .infobox td { vertical-align: top; }")
 
No edit summary
 
(12 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 */
.infobox {
 
    background: #eee;
 
    border: 1px solid #aaa;
.tabber__tab--active, .tabber__tab--active:visited{
     float: right;
     box-shadow: inset 0 -2px 0 0 hsl(0deg 60% 60%);
    margin: 0 0 1em 1em;
     color: hsl(0deg 60% 60%);
    padding: 1em;
     width: 400px;
}
}
.infobox-title {
 
     font-size: 2em;
#p-views #ca-edit > a, #p-views #ca-ve-edit > a {
     text-align: center;
     background-color: hsl(0deg 60% 60%);
     color: #fff;
}
}
.infobox-image {
 
     text-align: center;
.mw-parser-output .home-card__background{
     position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #242a31;
    border-radius: 8px;}
   
    table{overflow-x:auto;}
   
    @media screen and (max-width: 720px)
   
table {
    display: inline-table;
}
}
.infobox th {
 
    text-align: right;
a.image {
    vertical-align: top;
width: 22em;
    width: 120px;
}
.infobox td {
    vertical-align: top;
}
}

Latest revision as of 18:26, 23 June 2023

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


.tabber__tab--active, .tabber__tab--active:visited{
    box-shadow: inset 0 -2px 0 0 hsl(0deg 60% 60%);
    color: hsl(0deg 60% 60%);
}

#p-views #ca-edit > a, #p-views #ca-ve-edit > a {
    background-color: hsl(0deg 60% 60%);
    color: #fff;
}

.mw-parser-output .home-card__background{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #242a31;
    border-radius: 8px;}
    
    table{overflow-x:auto;}
    
    @media screen and (max-width: 720px)
    
table {
    display: inline-table;
}

a.image {
width: 22em;	
}