MediaWiki:Common.css
From Brickipedia, the LEGO Wiki
Note: After saving, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to all skins */
/* Scrolling for pre tags */
pre {
overflow: auto;
word-wrap: normal;
white-space: pre;
}
/* Main Page fix for non-refreshed skins */
body:not(.skin-refreshed) #mw-content-text > br:first-of-type {
display: none;
}
/* Hide ArticleFeedback from review, fan, and news namespaces and the forum */
.ns-112 .articleFeedbackv5
.ns-118 .articleFeedbackv5,
.ns-2000 .articleFeedbackv5,
.page-Brickipedia_Forum .articleFeedbackv5 {
display: none;
}
.advent-cal img {
max-width: 150px;
max-height: 130px;
border-radius: 0.5em;
}
/* Hide MP title */
.page-Main_Page #maintitle, .page-Main_Page #firstHeading {
display: none;
}
/* Style Main page boxes*/
.MPBoxesContainer {
width: 100%;
color: #000;
}
.MPBoxesLeft {
width: 48%;
float: left;
background: #fff;
border-radius: 10px;
margin-left: 1%;
}
.MPBoxesRight {
width: 48%;
float: right;
background: #fff;
border-radius: 10px;
margin-right: 1%;
}
.MPBoxesWide {
width: 98%;
color: #000;
float: left;
background: #fff;
border-radius: 10px;
margin-left: 1%;
}
.MPOtherSiteImage, .MPOtherSiteImageComputer {
width: 48%;
float: left;
}
.MPOtherSiteImageMobile {
display: none;
}
.MP-logo-mobile {
display: none;
}
.setHeaderRight {
text-align: right;
}
/* Infobox styling */
#infobox tr:last-child, .slide-content:last-child {
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
}
#infobox tr:last-child td:first-child {
border-bottom-left-radius: 10px;
}
#infobox tr:last-child td:last-child {
border-bottom-right-radius: 10px;
}
/* Make it obvious that the "Box" and "Set" tabs are actually _clickable_ tabs */
#infobox .infoBtn {
cursor: pointer;
}
/* Further results button for Brickipedia News */
.page-Brickipedia_News_Home .smw-template-furtherresults a {
color: #fff;
font-weight: bold;
margin-left: 6px;
}
/* Blogs */
#blog-page-middle {
width: 100%;
}
textarea#comment {
width: 1000px;
max-width: 100%;
}
.c-item {
padding-bottom: 1em;
}
.c-item.full {
width: 100%;
}
.c-item.reply {
width: calc(100% - 70px);
}
.f-message,
.r-message {
width: 100%;
}
.comments-block-user {
display: none;
}
/* For mobile devices */
@media only screen and (max-width: 800px) {
/** Main page CSS **/
.MPBoxesLeft,
.MPBoxesRight,
.MPBoxesWide,
.MPOtherSiteImageMobile,
.MPOtherSiteImage {
float: inherit;
width: 98%;
margin-left: 1%;
}
.MPBoxesContainer {
float: inherit;
width: inherit;
margin-left: inherit;
}
.MPOtherSiteImageComputer {
display: none;
}
.MPOtherSiteImageMobile {
display: inline;
}
.MP-logo-mobile {
display: inline;
}
.MP-logo {
display: none;
}
/** Set header **/
.setHeaderLeft {
display: none;
}
.setHeaderRight {
text-align: center;
}
}
.newsBackground > a {
font-weight: bold;
color: #fff;
float: right;
margin-right: 6px;
}
/* Fixing stuff broken in Special:Wikiforum */
.mw-special-WikiForum .gallery:after {
content: '';
display: block;
clear:both;
}
.mw-special-WikiForum .gallerybox {
display:inline;
float:left;
}
/* For mobile devices */
@media only screen and (max-width: 800px) {
body.mw-special-WikiForum table table .mw-wikiforum-value:nth-child(2),
body.mw-special-WikiForum table table .mw-wikiforum-value:nth-child(3),
body.mw-special-WikiForum table table .mw-wikiforum-value:nth-child(5),
body.mw-special-WikiForum table table th:nth-child(5),
.mw-wikiforum-descr,
body.mw-special-WikiForum table table td:nth-child(1) img {
display:none !important;
}
body.mw-special-WikiForum table table td:nth-child(1),
body.mw-special-WikiForum table table th:nth-child(1){
width:60% !important;
}
/*
body.mw-special-WikiForum table table td:nth-child(4),
body.mw-special-WikiForum table table th:nth-child(4){
width:30% !important;
} */
.mw-wikiforum-value br {
content: ' ';
}
.mw-wikiforum-value br:after {
content: ' ';
}
}
/* WikiForum */
.mw-wikiforum-frame {
border-spacing: 0;
border-collapse: collapse;
border: 0;
color: #fff;
border-radius: 10px;
overflow: hidden;
background: #33a;
}
.mw-wikiforum-frame table {
border-radius: 10px;
overflow: hidden;
}
.mw-wikiforum-title a {
color: #fff;
}
.mw-wikiforum-title tr:nth-child(even) {
background: #44aaea;
}
.mw-wikiforum-title tr:nth-child(odd) {
background: #248aca;
}
.mw-wikiforum-title th, .mw-wikiforum-thread-top {
background: #33a;
}
.mw-wikiforum-descr {
color: #eee !important;
}
.mw-wikiforum-thread-sub, .mw-wikiforum-thread-main {
color: #000;
}
.mw-wikiforum-thread-top {
background: #33a !important;
}
.mw-wikiforum-thread-main {
background: #7cf !important;
word-wrap: normal !important;
}
.mw-wikiforum-thread-sub {
background: #bfdbee !important;
word-wrap: normal !important;
}
table.mw-wikiforum-posted {
border-top: 1px solid #666;
border-radius: 0;
}
.mw-wikiforum-posted tr {
color: #333;
}
.wikiforum-avatar-image {
float: right;
padding: 10px;
}
td.mw-wikiforum-thread-main, td.mw-wikiforum-thread-sub {
word-break: normal !important;
}
/* Rating templates */
.ratingTemplate .ratingInfo {
display: none;
}
.ratingTemplate:hover .ratingInfo {
display: inline;
}
/* Hide RDF */
.smwfact {
display: none;
}
/* slidey stuff */
.noshown {
display: none;
}
.slide-link {
float: right;
font-weight: normal;
cursor: pointer;
}
/* Special:CreateBlogPost */
#create-tagcloud {
display: none;
width: auto;
}
/* Fixes for poll */
.ajaxpoll {
background: #fff;
border: 1px solid #000;
}
.ajaxpoll-id-info {
display: none;
}
.ajaxpoll-answer-vote {
background: #fff;
}
.ajaxpoll-info {
color: #888;
}
.ajaxpoll-answer-vote div {
background: #aaa !important;
border: none !important;
}
.ajaxpoll-our-vote div {
position: relative !important;
top: 0px !important;
}
/* Hide SMW edit notice */
.smw-editpage-help {
display: none;
}
/* Ads */
@media only screen and (max-width: 500px) {
iframe[width="728"] {
display: none;
}
}
@media only screen and (min-width: 500px) {
iframe[width="234"] {
display: none;
}
}
/* Tagline */
#siteSub { display:block; font-weight:normal; font-size:normal;}
body.page-Main_Page.action-view #siteSub, body.page-Main_Page.action-submit #siteSub { display: none; }