Difference between revisions of "MediaWiki:Common.css"

From Alliance Navy Wiki
Jump to: navigation, search
Line 19: Line 19:
 
.mw-editsection {
 
.mw-editsection {
 
   display: none !important;
 
   display: none !important;
 +
}
 +
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading {
 +
  display: none;
 
}
 
}
  
Line 25: Line 28:
 
/* Other Custom CSS */
 
/* Other Custom CSS */
 
.infobox {
 
.infobox {
    background: #eee;
+
  background: #eee;
    border: 1px solid #aaa;
+
  border: 1px solid #aaa;
    float: right;
+
  float: right;
    margin: 0 0 1em 1em;
+
  margin: 0 0 1em 1em;
    padding: 1em;
+
  padding: 1em;
    width: 400px;
+
  width: 400px;
 
}
 
}
  
 
.infobox-title {
 
.infobox-title {
    font-size: 2em;
+
  font-size: 2em;
    text-align: center;
+
  text-align: center;
 
}
 
}
  
 
.infobox-image {
 
.infobox-image {
    text-align: center;
+
  text-align: center;
 
}
 
}
  
 
.infobox th {
 
.infobox th {
    text-align: right;
+
  text-align: right;
    vertical-align: top;
+
  vertical-align: top;
    width: 120px;
+
  width: 120px;
 
}
 
}
  
 
.infobox td {
 
.infobox td {
    vertical-align: top;
+
  vertical-align: top;
 
}
 
}

Revision as of 16:35, 21 July 2018

/* CSS placed here will be applied to all skins */


/* Spectre https://picturepan2.github.io/spectre/index.html */
@import url(https://unpkg.com/spectre.css/dist/spectre.min.css);
@import url(https://unpkg.com/spectre.css/dist/spectre-exp.min.css);
@import url(https://unpkg.com/spectre.css/dist/spectre-icons.min.css);



/* Spectre Overrides */
a:visited {
  color: #551A8B;
}



/* Mediawiki Overrides */
.mw-editsection {
  display: none !important;
}
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading {
  display: none;
}



/* Other Custom CSS */
.infobox {
  background: #eee;
  border: 1px solid #aaa;
  float: right;
  margin: 0 0 1em 1em;
  padding: 1em;
  width: 400px;
}

.infobox-title {
  font-size: 2em;
  text-align: center;
}

.infobox-image {
  text-align: center;
}

.infobox th {
  text-align: right;
  vertical-align: top;
  width: 120px;
}

.infobox td {
  vertical-align: top;
}