MediaWiki:Common.css: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(26 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 */
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap');
.mw-headline {
.mw-headline {
font-family: Sans-Serif;
font-family: Sans-Serif;
Line 11: Line 13:
     .mainPageLinksBox
     .mainPageLinksBox
     {
     {
         min-height: 634px;
         min-height: 648px;
         float: left;
         float: left;
         width: 31%;
         width: 31%;
Line 28: Line 30:
}
}


.wikitable-parameters
.wikitable-parameters,
.wikitable-returns,
.wikitable-callback
{
{
border: none;
border: none !important;
background-color: #fff;
}
}


.wikitable-parameters td
.wikitable-parameters td,
.wikitable-returns td,
.wikitable-callback td
{
{
border: none;
border: none !important;
padding: 5px !important;
}
}


.wikitable-parameters tr:not(:last-child) td
.wikitable-parameters td:nth-child(1),
.wikitable-parameters td:nth-child(2),
.wikitable-parameters td:nth-child(3),
.wikitable-returns td:nth-child(1),
.wikitable-callback td:nth-child(1),
.wikitable-callback td:nth-child(2),
.wikitable-callback td:nth-child(3)
{
{
border-bottom: solid 1px black;
line-height: 23px;
font-family: 'Source Code Pro', monospace;
}
}


.wikitable-returns th,
.wikitable-parameters tr:not(:last-child) td,
.wikitable-returns td
.wikitable-callback tr:not(:last-child) td
{
{
background-color: #c3f7cd !important;
border-bottom: solid 1px #cccccc !important;
}
 
.wikitable-parameters tr:hover td,
.wikitable-callback tr:hover td
{
background-color: #E5FDFE;
}
}


Line 62: Line 83:
     .mainPageLinksBox
     .mainPageLinksBox
     {
     {
         min-height: 634px;
         min-height: 648px;
         float: left;
         float: left;
         width: 31%;
         width: 31%;
Line 77: Line 98:
     width: 321px;
     width: 321px;
     height: 423px;
     height: 423px;
}
.wikitable-parameters > * > tr > th
{
background-color: #abc8d6 !important;
}
.wikitable-parameters td
{
}
.wikitable-returns > * > tr > th
{
background-color: #a5d1ae !important;
}
.wikitable-returns td
{
background-color: #c3f7cd;
}
.wikitable-callback > * > tr > th
{
background-color: #d1c6a5 !important;
}
.wikitable-callback td
{
background-color: #f5e7bc;
}
}
6,833

edits