MediaWiki:Common.css: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(19 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=Roboto+Mono:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap');


.mw-headline {
.mw-headline {
Line 13: Line 13:
     .mainPageLinksBox
     .mainPageLinksBox
     {
     {
         min-height: 634px;
         min-height: 648px;
         float: left;
         float: left;
         width: 31%;
         width: 31%;
Line 30: Line 30:
}
}


.wikitable-parameters
.wikitable-parameters,
.wikitable-returns,
.wikitable-callback
{
{
border: none !important;
border: none !important;
background-color: #fff;
background-color: #fff;
font-family: 'Roboto Mono', monospace;
}
}


.wikitable-parameters td
.wikitable-parameters td,
.wikitable-returns td,
.wikitable-callback td
{
{
border: none !important;
border: none !important;
line-height: 45px;
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)
{
line-height: 23px;
font-family: 'Source Code Pro', monospace;
}
 
.wikitable-parameters tr:not(:last-child) td,
.wikitable-callback tr:not(:last-child) td
{
{
border-bottom: solid 1px #cccccc !important;
border-bottom: solid 1px #cccccc !important;
}
}


.wikitable-returns th,
.wikitable-parameters tr:hover td,
.wikitable-returns td
.wikitable-callback tr:hover td
{
{
background-color: #c3f7cd !important;
background-color: #E5FDFE;
}
}


Line 67: Line 83:
     .mainPageLinksBox
     .mainPageLinksBox
     {
     {
         min-height: 634px;
         min-height: 648px;
         float: left;
         float: left;
         width: 31%;
         width: 31%;
Line 82: Line 98:
     width: 321px;
     width: 321px;
     height: 423px;
     height: 423px;
}
.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