MediaWiki:Common.css: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
No edit summary
No edit summary
 
(37 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
.mw-headline {
font-family: Sans-Serif;
}
#firstHeading {
#firstHeading {
font-family: Sans-Serif;
font-family: Sans-Serif;
Line 11: Line 6:
     .mainPageLinksBox
     .mainPageLinksBox
     {
     {
         min-height: 634px;
         min-height: 200px;
         float: left;
         float: left;
         width: 31%;
         width: 24%;
     }
     }
     .mainPageLinksBox:not(:last-child)
     .mainPageLinksBox:not(:last-child)
Line 21: Line 16:
}
}


.imageLink_TypeInheritance
.wikitable-parameters,
.wikitable-returns,
.wikitable-callback
{
{
    background-image: url('');
border: none !important;
    width: 321px;
background-color: #fff;
    height: 423px;
}
}


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


.wikitable-parameters 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: 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,
/* CSS placed here will be applied to all skins */
.wikitable-callback tr:hover td
.mw-headline {
{
font-family: Sans-Serif;
background-color: #E5FDFE;
}
}


Line 58: Line 63:
     .mainPageLinksBox
     .mainPageLinksBox
     {
     {
         min-height: 634px;
         min-height: 648px;
         float: left;
         float: left;
         width: 31%;
         width: 24%;
     }
     }
     .mainPageLinksBox:not(:last-child)
     .mainPageLinksBox:not(:last-child)
Line 68: Line 73:
}
}


.imageLink_TypeInheritance
/* CSS placed here will be applied to all skins */
{
.mw-highlight pre {
     background-image: url('');
font-size: 90%;
     width: 321px;
     font-family: "Courier New", monospace;
     height: 423px;
    border: 0px;
     padding: 1px;
     margin: 1px;
}
}


.wikitable-parameters > * > tr > th
.code pre {
{
font-size: 90%;
background-color: #abc8d6 !important;
    font-family: "Courier New", monospace;
}
    border: 0px;
 
    padding: 1px;
.wikitable-parameters td
    margin: 1px;
{
 
}
 
.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 11:03, 1 September 2025

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

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

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

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

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

/* CSS placed here will be applied to all skins */
.mw-highlight pre {
	font-size: 90%;
    font-family: "Courier New", monospace;
    border: 0px;
    padding: 1px;
    margin: 1px;
}

.code pre {
	font-size: 90%;
    font-family: "Courier New", monospace;
    border: 0px;
    padding: 1px;
    margin: 1px;
}