Difference between revisions of "MediaWiki:Common.css"

From RRe36's Project Wiki
Jump to navigation Jump to search
(Created page with "→‎CSS placed here will be applied to all skins: body { background-color: #ddd !important; } .vector-menu-tabs .selected { background: #ddd !important; } .vector-men...")
 
 
(28 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 */
 +
img { max-width: 100%; height: auto; }
 +
 +
@import url('https://fonts.googleapis.com/css2?family=Livvic:wght@300;400;500;600&display=swap');
 +
 +
/* Changes the default font used for MediaWiki to Livvic (does not include headings or monospaced text): */
 
body {
 
body {
    background-color: #ddd !important;
+
  font-family: "Livvic", sans-serif;
 +
  font-weight: 400;
 
}
 
}
.vector-menu-tabs .selected {
+
 
    background: #ddd !important;
+
/* Changes the default font used for MediaWiki headings to Livvic: */
 +
#content h1,
 +
#content h2,
 +
#content h3,
 +
#content h4,
 +
#content h5 {
 +
  font-family: "Livvic", sans-serif;
 +
  font-weight: 600;
 
}
 
}
.vector-menu-tabs li {
+
 
    background-image: linear-gradient(to top,#77c1f6 0,#c7dce7 1px,#ddd 100%) !important;
+
.mw-logo {
 +
  font-family: "Open Sans", sans-serif;
 +
  font-weight: 200;
 +
  color: #fff !important;
 +
}
 +
 
 +
.mw-header {
 +
  background-color: #045e00;
 +
  margin-top: 0px;
 +
}
 +
 
 +
#mw-sidebar-button {
 +
  filter: invert(1.0);
 +
}
 +
 
 +
#p-personal ul {
 +
    padding: 8px;
 +
}
 +
#p-personal {
 +
  background-color: #67b544;
 +
  border-radius: 8px;
 +
}
 +
 
 +
#p-personal a.new {
 +
    color: #000;
 
}
 
}

Latest revision as of 14:49, 13 April 2021

/* CSS placed here will be applied to all skins */
img { max-width: 100%; height: auto; }

@import url('https://fonts.googleapis.com/css2?family=Livvic:wght@300;400;500;600&display=swap');

/* Changes the default font used for MediaWiki to Livvic (does not include headings or monospaced text): */
body {
  font-family: "Livvic", sans-serif;
  font-weight: 400;
}

/* Changes the default font used for MediaWiki headings to Livvic: */
#content h1, 
#content h2,
#content h3,
#content h4,
#content h5 {
  font-family: "Livvic", sans-serif;
  font-weight: 600;
}

.mw-logo {
  font-family: "Open Sans", sans-serif;
  font-weight: 200;
  color: #fff !important;
}

.mw-header {
  background-color: #045e00;
  margin-top: 0px;
}

#mw-sidebar-button {
  filter: invert(1.0);
}

#p-personal ul {
    padding: 8px;
}
#p-personal {
   background-color: #67b544;
   border-radius: 8px;
}

#p-personal a.new {
    color: #000;
}