Difference between revisions of "MediaWiki:Common.css"

From MunichBeerGardens.com
Jump to: navigation, search
m
 
(151 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 */
 +
/* For MonoBook specfic rules, see MediaWiki:Monobook.css */
  
body{
+
 
background-color: #edeff5;
+
/* Modify width of sidebar */
 +
#column-content { margin-left: -175px }
 +
#content { margin-left: 175px }
 +
.portlet { width: 165px }
 +
 
 +
/* move top left tabs to right as width of sidebar was expanded */
 +
.vectorTabs{
 +
margin-left:20px;
 +
}
 +
 
 +
 
 +
.notice_box{
 +
background-color: #f0ea9c;
 +
padding: 10px;
 +
border: 1px dashed #bab366;
 
}
 
}
  
Line 20: Line 35:
 
}
 
}
  
/* remove mediawiki logo */
+
#footer-places-privacy, #footer-places-about, #footer-places-disclaimer, #footer-poweredbyico{
#f-poweredbyico { display: none; }
+
display:none;
 +
}
  
  
Line 60: Line 76:
 
     border-spacing: 0;
 
     border-spacing: 0;
 
     padding: 0;
 
     padding: 0;
     font-size: 95%;"
+
     font-size: 95%;
 
}
 
}
 +
 +
.catlinks { display: none; }
  
 
.prettytable th {
 
.prettytable th {
Line 77: Line 95:
 
.MediaTransformError td {
 
.MediaTransformError td {
 
display: none;
 
display: none;
 +
}
 +
 +
ins.adsbygoogle[data-ad-status='unfilled'] {
 +
    display: none !important;
 +
  }
 +
 +
#map_button a.external {
 +
    background: none;
 +
    padding-right: 0;
 +
}
  
} /* to use with <span class="nobr">don't break..</span> */
+
#map_button {
span.nobr {
+
  background-size: 100%;
white-space: nowrap;
+
  background-color: #cfdeff;
 +
  color: #347a44;
 +
  padding: 10px 20px;
 +
  border: 1px solid #398ee7;
 +
  text-align:center;
 +
  border-radius: 20px;
 +
  cursor: pointer;
 +
  font-size: 100%;
 +
  font-weight: bold;
 +
  -webkit-appearance:none;
 +
  min-width: 160px;
 +
  display:inline-block;
 +
  margin:5px 0px 5px 0px;
 +
}
 +
li.interlanguage-link::after {
 +
  content: ' 🇩🇪';
 
}
 
}

Latest revision as of 18:41, 16 August 2024

/* CSS placed here will be applied to all skins */
/* For MonoBook specfic rules, see MediaWiki:Monobook.css */


/* Modify width of sidebar */
#column-content { margin-left: -175px }
#content { margin-left: 175px }
.portlet { width: 165px }

/* move top left tabs to right as width of sidebar was expanded */
.vectorTabs{
margin-left:20px;
}


.notice_box{
background-color: #f0ea9c;
padding: 10px;
border: 1px dashed #bab366;
}

/* colour input fields */
textarea, #searchInput {
	background-color: #b8deb1;
}

textarea:focus, #searchInput:focus {
	background-color: #e4f3e1;
}


/* remove math button */
#mw-editbutton-math {
display: none;
}

#footer-places-privacy, #footer-places-about, #footer-places-disclaimer, #footer-poweredbyico{
display:none;
}


/* remove permanent link */
#t-permalink{
display: none;
}

/* remove print version link */
#t-print{
display: none;
}

/* remove "Main Page" heading */
body.page-Main_Page h1.firstHeading { display:none; }


/* reCaptcha style */

.recaptchatable .recaptcha_image_cell, #recaptcha_table {
background-color:#f5f5f5 !important; //reCaptcha widget background color
}
#recaptcha_table {
border-color: #8c8c8c !important; //reCaptcha widget border color
}
#recaptcha_response_field {
border-color: #8c8c8c !important; //Text input field border color
background-color:#696969 !important; //Text input field background color
}


/* Pretty tables (to replace Template:prettytable) */
.prettytable {
    margin: 1em 1em 1em 0;
    background: #f9f9f9;
    border: 1px #aaa solid;
    border-collapse: collapse; 
    border-spacing: 0;
    padding: 0;
    font-size: 95%;
}

.catlinks { display: none; }

.prettytable th {
    border: 1px #aaa solid;
    margin: 0;
    padding: 4px;
}

.prettytable td {
    border: 1px #aaa solid;
    margin: 0;
    padding: 4px;
}

.MediaTransformError td {
display: none;
}

ins.adsbygoogle[data-ad-status='unfilled'] {
    display: none !important;
  }

#map_button a.external {
    background: none;
    padding-right: 0;
}

#map_button {
  background-size: 100%;
  background-color: #cfdeff;
  color: #347a44;
  padding: 10px 20px;
  border: 1px solid #398ee7;
  text-align:center;
  border-radius: 20px;
  cursor: pointer;
  font-size: 100%;
  font-weight: bold;
  -webkit-appearance:none;
  min-width: 160px;
  display:inline-block;
  margin:5px 0px 5px 0px;
}
li.interlanguage-link::after {
  content: ' 🇩🇪';
}