MediaWiki:Common.css: Difference between revisions
(Created page with "→Old Infobox template style: .infobox { border: 1px solid #020202; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; } .infobox td, .infobox th { vertical-align: top; } .infobox caption { font-size: larger; margin-left: inherit; } .infobox.bordered { border-collapse: collapse; } .infobox.bordered td, .infobox.bordered th { border: 1px solid #020202; } .in...") |
No edit summary |
||
(31 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* New background */ | |||
/* | |||
div.mw-page-container { | |||
background-color: grey; | |||
} | |||
*/ | |||
/* | |||
div.mw-page-container { | |||
background: url(https://starfieldfans.com/images/d/d6/Starfield_background1.jpeg); | |||
background-repeat: no-repeat !important; | |||
background-attachment: fixed !important; | |||
background-position: top left; | |||
background-size cover; | |||
} | |||
*/ | |||
/* frontpage styles */ | |||
.frontpage.table { | |||
margin-bottom: 0.8rem; | |||
} | |||
/* make the header text in each frontpage section larger */ | |||
.frontpage .head { | |||
font-size: 16px | |||
} | |||
/* control the position of text in the body of the welcome message on the frontpage */ | |||
.frontpage.welcome .body { | |||
padding-left:2rem; | |||
padding-right:2rem; | |||
text-align: left; | |||
} | |||
/* .table styles */ | |||
.table { | |||
border:1px solid #304c7a; | |||
} | |||
/* Old Infobox template style */ | /* Old Infobox template style */ | ||
.infobox { | .infobox { | ||
Line 33: | Line 75: | ||
body.page-Starfield_Wiki header.mw-body-header { | body.page-Starfield_Wiki header.mw-body-header { | ||
display: none; | display: none; | ||
} | |||
/* remove the empty space below the search bar and above the content */ | |||
div.vector-sitenotice-container { | |||
display: none; | |||
} | |||
.action-view .mw-body-subheader { | |||
display:none!important; | |||
} | |||
/* Important: show only desktop ad code on Desktop*/ | |||
.nodesktop { | |||
display: none !important; | |||
} | |||
/* Removes the long search result menu on Desktop */ | |||
fieldset#mw-searchoptions { | |||
display: none !important; | |||
} | } |
Latest revision as of 14:17, 28 August 2023
/* New background */
/*
div.mw-page-container {
background-color: grey;
}
*/
/*
div.mw-page-container {
background: url(https://starfieldfans.com/images/d/d6/Starfield_background1.jpeg);
background-repeat: no-repeat !important;
background-attachment: fixed !important;
background-position: top left;
background-size cover;
}
*/
/* frontpage styles */
.frontpage.table {
margin-bottom: 0.8rem;
}
/* make the header text in each frontpage section larger */
.frontpage .head {
font-size: 16px
}
/* control the position of text in the body of the welcome message on the frontpage */
.frontpage.welcome .body {
padding-left:2rem;
padding-right:2rem;
text-align: left;
}
/* .table styles */
.table {
border:1px solid #304c7a;
}
/* Old Infobox template style */
.infobox {
border: 1px solid #020202;
background-color: #f9f9f9;
color: black;
margin-bottom: 0.5em;
margin-left: 1em;
padding: 0.2em;
float: right;
clear: right;
}
.infobox td,
.infobox th {
vertical-align: top;
}
.infobox caption {
font-size: larger;
margin-left: inherit;
}
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
border: 1px solid #020202;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}
/* remove header on main page (AI ML Wiki) */
body.page-Starfield_Wiki header.mw-body-header {
display: none;
}
/* remove the empty space below the search bar and above the content */
div.vector-sitenotice-container {
display: none;
}
.action-view .mw-body-subheader {
display:none!important;
}
/* Important: show only desktop ad code on Desktop*/
.nodesktop {
display: none !important;
}
/* Removes the long search result menu on Desktop */
fieldset#mw-searchoptions {
display: none !important;
}