MediaWiki:Common.css: Difference between revisions

From Fallout: Nevada
mNo edit summary
mNo edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
body.page-Main_Page h1.firstHeading { display:none; }
body.page-Main_Page h1.firstHeading {
    display: none;
}


table.zebra tr:nth-child(2n) { background-color: #e1e1ea; }
table.zebra tr:nth-child(2n) {
table.zebra_light tr:nth-child(2n-1) { background-color: #ededed; }
    background-color: #e1e1ea;
}
table.zebra_light tr:nth-child(2n-1) {
    background-color: #ededed;
}


.wikitable th {
.wikitable th {
text-align: center;
    text-align: center;
font-weight: bold;
    font-weight: bold;
}
}
.wikitable tr {
.wikitable tr {
text-align: center;
    text-align: center;
}
}


.wikitable_l th {
.wikitable_l th {
text-align: left;
    text-align: left;
font-weight: bold;
    font-weight: bold;
}
}
.wikitable_l tr {
.wikitable_l tr {
text-align: left;
    text-align: left;
}
}


.wikitable_info th {
.wikitable_info th {
text-align: left;
    text-align: left;
font-weight: bold;
    font-weight: bold;
}
}
.wikitable_info tr {
.wikitable_info tr {
text-align: left;
    text-align: left;
}
}
.wikitable_info {
.wikitable_info {
width: 320px;
    width: 320px;
border-collapse: collapse;
    border-collapse: collapse;
border-spacing: 0;
    border-spacing: 0;
}
}
.wikitable_info td {
.wikitable_info td {
padding-left:10px;
    padding-left: 10px;
}
}


.img-responsive {
.img-responsive {
  max-width:100%;
    max-width: 100%;
  height:auto;
    height: auto;
}
}


table.bottom_bar {
table.bottom_bar {
width: 100%;
    width: 100%;
font-size:80%;
    font-size: 80%;
text-align: center;
    text-align: center;
}
}
table.bottom_bar tr td:first-child {
table.bottom_bar tr td:first-child {
font-weight: bold;
    font-weight: bold;
}
}
table.bottom_bar th {
table.bottom_bar th {
font-weight: bold;
    font-weight: bold;
}
table.bottom_bar tr:nth-child(2n-1) {
    background-color: #ededed;
}
}
table.bottom_bar tr:nth-child(2n-1) { background-color: #ededed; }


table.left_bar {
table.left_bar {
max-width: 35%;
    max-width: 35%;
font-size:80%;
    font-size: 80%;
text-align: center;
    text-align: center;
float: left;
    float: left;
margin-right: 25px;
    margin-right: 25px;
}
}
table.left_bar tr td:first-child {
table.left_bar tr td:first-child {
font-weight: bold;
    font-weight: bold;
}
}
table.left_bar th {
table.left_bar th {
font-weight: bold;
    font-weight: bold;
}
table.left_bar tr:nth-child(2n-1) {
    background-color: #ededed;
}
}
table.left_bar tr:nth-child(2n-1) { background-color: #ededed; }


#n-discord span {
#n-discord span {
Line 79: Line 87:
     display: inline-block;
     display: inline-block;
     visibility: visible;
     visibility: visible;
     background-image: url('https://bgforge.net/assets/logo/discord_full.svg');
     background-image: url("https://bgforge.net/assets/logo/discord_full.svg");
     background-repeat: no-repeat;
     background-repeat: no-repeat;
     background-size: auto 100%;
     background-size: auto 100%;
Line 86: Line 94:
}
}
#mw-panel .portal .body li#n-discord {
#mw-panel .portal .body li#n-discord {
  font-size: 0em;
    font-size: 0em;
  padding-top: 5px;
    padding-top: 5px;
}
}


Line 97: Line 105:
     display: inline-block;
     display: inline-block;
     visibility: visible;
     visibility: visible;
     background-image: url('https://bgforge.net/assets/logo/telegram_full.svg');
     background-image: url("https://bgforge.net/assets/logo/telegram_full.svg");
     background-repeat: no-repeat;
     background-repeat: no-repeat;
     background-size: auto 100%;
     background-size: auto 100%;
Line 105: Line 113:


#mw-panel .portal .body li#n-telegram {
#mw-panel .portal .body li#n-telegram {
  font-size: 0em;
    font-size: 0em;
  padding-top: 5px;
    padding-top: 5px;
}
}


Line 116: Line 124:
     display: inline-block;
     display: inline-block;
     visibility: visible;
     visibility: visible;
     background-image: url('https://bgforge.net/assets/logo/irc.svg');
     background-image: url("https://bgforge.net/assets/logo/irc.svg");
     background-repeat: no-repeat;
     background-repeat: no-repeat;
     background-size: auto 100%;
     background-size: auto 100%;
Line 122: Line 130:
     height: 26px;
     height: 26px;
}
}


#mw-panel .portal .body li#n-irc {
#mw-panel .portal .body li#n-irc {
  font-size: 0em;
    font-size: 0em;
  padding-top: 5px;
    padding-top: 5px;
  padding-bottom: 5px;
    padding-bottom: 5px;
}
}


li#n-Forums {
li#n-Forums {
  background-image: url('https://bgforge.net/assets/logo/bgforge.svg');
    background-image: url("https://bgforge.net/assets/logo/bgforge.svg");
  background-size: contain;
    background-size: contain;
  background-repeat: no-repeat;
    background-repeat: no-repeat;
}
}
li#n-Forums a {
li#n-Forums a {
  margin-left: 23px;
    margin-left: 23px;
}
}


li#n-BGforge {
li#n-BGforge {
  background-image: url('https://bgforge.net/assets/logo/bgforge.svg');
    background-image: url("https://bgforge.net/assets/logo/bgforge.svg");
  background-size: contain;
    background-size: contain;
  background-repeat: no-repeat;
    background-repeat: no-repeat;
}
}
li#n-BGforge a {
li#n-BGforge a {
  margin-left: 23px;
    margin-left: 23px;
}
}

Revision as of 20:58, 26 August 2023

/* CSS placed here will be applied to all skins */
body.page-Main_Page h1.firstHeading {
    display: none;
}

table.zebra tr:nth-child(2n) {
    background-color: #e1e1ea;
}
table.zebra_light tr:nth-child(2n-1) {
    background-color: #ededed;
}

.wikitable th {
    text-align: center;
    font-weight: bold;
}
.wikitable tr {
    text-align: center;
}

.wikitable_l th {
    text-align: left;
    font-weight: bold;
}
.wikitable_l tr {
    text-align: left;
}

.wikitable_info th {
    text-align: left;
    font-weight: bold;
}
.wikitable_info tr {
    text-align: left;
}
.wikitable_info {
    width: 320px;
    border-collapse: collapse;
    border-spacing: 0;
}
.wikitable_info td {
    padding-left: 10px;
}

.img-responsive {
    max-width: 100%;
    height: auto;
}

table.bottom_bar {
    width: 100%;
    font-size: 80%;
    text-align: center;
}
table.bottom_bar tr td:first-child {
    font-weight: bold;
}
table.bottom_bar th {
    font-weight: bold;
}
table.bottom_bar tr:nth-child(2n-1) {
    background-color: #ededed;
}

table.left_bar {
    max-width: 35%;
    font-size: 80%;
    text-align: center;
    float: left;
    margin-right: 25px;
}
table.left_bar tr td:first-child {
    font-weight: bold;
}
table.left_bar th {
    font-weight: bold;
}
table.left_bar tr:nth-child(2n-1) {
    background-color: #ededed;
}

#n-discord span {
    font-size: 0; /* Remove space that text might occupy */
}
#n-discord span::before {
    content: "";
    display: inline-block;
    visibility: visible;
    background-image: url("https://bgforge.net/assets/logo/discord_full.svg");
    background-repeat: no-repeat;
    background-size: auto 100%;
    width: 130px;
    height: 20px;
}
#mw-panel .portal .body li#n-discord {
    font-size: 0em;
    padding-top: 5px;
}

#n-telegram span {
    font-size: 0; /* Remove space that text might occupy */
}
#n-telegram span::before {
    content: "";
    display: inline-block;
    visibility: visible;
    background-image: url("https://bgforge.net/assets/logo/telegram_full.svg");
    background-repeat: no-repeat;
    background-size: auto 100%;
    width: 130px;
    height: 20px;
}

#mw-panel .portal .body li#n-telegram {
    font-size: 0em;
    padding-top: 5px;
}

#n-irc span {
    font-size: 0; /* Remove space that text might occupy */
}
#n-irc span::before {
    content: "";
    display: inline-block;
    visibility: visible;
    background-image: url("https://bgforge.net/assets/logo/irc.svg");
    background-repeat: no-repeat;
    background-size: auto 100%;
    width: 130px;
    height: 26px;
}

#mw-panel .portal .body li#n-irc {
    font-size: 0em;
    padding-top: 5px;
    padding-bottom: 5px;
}

li#n-Forums {
    background-image: url("https://bgforge.net/assets/logo/bgforge.svg");
    background-size: contain;
    background-repeat: no-repeat;
}
li#n-Forums a {
    margin-left: 23px;
}

li#n-BGforge {
    background-image: url("https://bgforge.net/assets/logo/bgforge.svg");
    background-size: contain;
    background-repeat: no-repeat;
}
li#n-BGforge a {
    margin-left: 23px;
}