MediaWiki:Common.css: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
No edit summary
No edit summary
 
(16 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');
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap');


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


.wikitable-parameters
.wikitable-parameters,
.wikitable-returns,
.wikitable-callback
{
{
border: none !important;
border: none !important;
Line 37: Line 38:
}
}


.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 td:nth-child(1),
.wikitable-parameters td:nth-child(1),
.wikitable-parameters td:nth-child(2),
.wikitable-parameters td:nth-child(2),
.wikitable-parameters td:nth-child(3)
.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;
font-family: 'Source Code Pro', monospace;
}
}


.wikitable-parameters tr:not(:last-child) td
.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 74: Line 83:
     .mainPageLinksBox
     .mainPageLinksBox
     {
     {
         min-height: 634px;
         min-height: 648px;
         float: left;
         float: left;
         width: 31%;
         width: 31%;
Line 89: 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;
}
}

Latest revision as of 17:55, 2 October 2021

/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap');

.mw-headline {
font-family: Sans-Serif;
}

#firstHeading {
font-family: Sans-Serif;
}

@media only screen and (min-width: 850px) {
    .mainPageLinksBox
    {
        min-height: 648px;
        float: left;
        width: 31%;
    }
    .mainPageLinksBox:not(:last-child)
    {
        margin-right: 5px;
    }
}

.imageLink_TypeInheritance
{
    background-image: url('');
    width: 321px;
    height: 423px;
}

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

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

.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;
}

.wikitable-parameters tr:hover td,
.wikitable-callback tr:hover td
{
	background-color: #E5FDFE;
}


/* CSS placed here will be applied to all skins */
.mw-headline {
font-family: Sans-Serif;
}

#firstHeading {
font-family: Sans-Serif;
}

@media only screen and (min-width: 850px) {
    .mainPageLinksBox
    {
        min-height: 648px;
        float: left;
        width: 31%;
    }
    .mainPageLinksBox:not(:last-child)
    {
        margin-right: 5px;
    }
}

.imageLink_TypeInheritance
{
    background-image: url('');
    width: 321px;
    height: 423px;
}