MediaWiki:Common.css: Difference between revisions

From The Highlands Forum
No edit summary
No edit summary
Line 8: Line 8:
/* standard link colors */
/* standard link colors */
.mw-body-content a:link { color: #696969; } /* normal unvisited links */
.mw-body-content a:link { color: #696969; } /* normal unvisited links */
.mw-body-content a:link:visited { color: #696969; } /* visited links */
.mw-body-content a:link:active { color: #696969; } /* active links */
.mw-body-content a:link.extiw { color: #696969; } /* interwiki links */
.mw-body-content a:link.extiw { color: #696969; } /* interwiki links */
.mw-body-content a:link.external { color: #696969; } /* external links */
.mw-body-content a:link.external { color: #696969; } /* external links */

Revision as of 16:24, 1 February 2023

/* CSS placed here will be applied to all skins */
@import url('https://fonts.cdnfonts.com/css/p22-eaglefeather');

* {
  font-family: Verdana,p22-fllw-eaglefeather,sans-serif;
}

/* standard link colors */
.mw-body-content a:link { color: #696969; } /* normal unvisited links */
.mw-body-content a:link.extiw { color: #696969; } /* interwiki links */
.mw-body-content a:link.external { color: #696969; } /* external links */
.mw-body-content a:link.stub { color: #696969; } /* hovered links */

.p-navbar .navbar-nav .nav-link {
	color: #696969 !important;
}

#firstHeading {
	font-weight: bold;
}

h1 {
	font-size: 24px;
}

h2 {
	font-size: 22px;
}

h3 {
	font-size: 20px;
}

h4 {
	font-size: 18px;
}

h5 {
	font-size: 16px;
}

h6 {
	font-size: 14px;
}

p, li {
  font-size: 14px;
}

pre, code {
  font-size: 12px;
}

div.container {
  max-width: 100% !important;
  width: 100% !important;
}

div.menu {
  flex-basis: 300px !important;
  flex-grow:0 !important;
  background-color: #A8BFAC  !important;
}

div.main {
  margin-left:100px !important;
}

div.footer {
  background-color: #EEE !important;
  margin: 0px !important;
  padding: 3px !important;
  padding-left: 145px !important;
}

nav.disable-margin, div.disable-margin {
  margin: 0px !important;
}

nav.disable-padding, div.disable-padding {
  padding: 0px !important;
}

nav.header {
  background-color: #000 !important;
}

div.edit-box {
  flex-basis: 300px !important;
  flex-grow:0 !important;
  background-color: #DDD !important;
}

div.search-box {
  padding-top:20px !important;
}

div.noedit-box {
  flex-basis: 300px !important;
  flex-grow:0 !important;
  background-color: #EEE !important;
}

h1, h2 {
  border-bottom: 0px !important;
}

.content h1, h2, h3, h4, h5, h6 {
  margin-left:-30px !important;
}

.content {
  margin-left:30px !important;
}

.fa-home::before, .n-Homepage::before, .n-mainpage-description::before, .n-mainpage::before, .pt-userpage::before, .fa-backward::before, .n-recentchanges::before, .t-recentchangeslinked::before, .fa-random::before, .n-randompage::before, .fa-question::before, .ca-nstab-help::before, .n-help-mediawiki::before, .n-help::before, .pt-anoncontribs::before, .pt-mycontris::before, .t-cite::before, .fa-sitemap::before, .t-whatlinkshere::before,  .fa-cogs::before, .ca-nstab-mediawiki::before, .ca-nstab-special::before, .t-specialpages::before, .fa-info::before, .t-info::before, .fa-print::before, .t-print::before, .fa-link::before, .t-permalink::before, .fa-upload::before, .n-upload::before, .t-upload::before, .fa-comments::before, .ca-talk::before, .pt-anontalk::before, .pt-mytalk::before, .fa-history::before, .ca-history::before, .fa-trash-alt::before, .ca-delete::before, .fa-location-arrow::before, .ca-move::before, .fa-lock::before, .ca-protect::before, .ca-unprotect::before, .fa-eye-slash::before, .ca-unwatch::before, #ca-unwatch > a::before, .fa-sliders-h::before, .pt-preferences::before, .fa-eye::before, .ca-watch::before, .pt-watchlist::before, #ca-watch > a::before, .fa-sign-out-alt::before, .pt-logout::before, .fa-sign-in-alt::before, .pt-login::before {
  content: none !important;
}

nav.nonflex .navbar-nav {
  display: block !important;
}

nav.nonflex a {
  padding-left:0px !important;
}

div#mw-editpage-minoredit {
  display:none !important;
}

pre {
  font-family: Courier,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
}

div.mainpage {
    display: flex;
    align-items: stretch;
}

div.mainrow {
    flex-grow:1;
}

.p-navbar {
  background-color: #A8BFAC !important;
}

/* Unbulleted lists */
.plainlist ol,
.plainlist ul {
	line-height: inherit;
	list-style: none none;
	margin: 0;
}

.plainlist ol li,
.plainlist ul li {
	margin-bottom: 0;
}