MediaWiki:Chameleon.css: Difference between revisions

No edit summary
m (h4 size)
Line 1: Line 1:
@import url("https://fonts.googleapis.com/css2?family=Asap:wght@400;500;600;700&display=swap|Open+Sans|Patua+One");
@import url("https://fonts.googleapis.com/css2?family=Asap:wght@400;500;600;700&display=swap|Open+Sans|Patua+One");
#ca-edit.btn-primary:not(:active):not(:hover) {
    background: white !important;
}


body {
body {
Line 51: Line 47:
}
}


/* headings */
h1, h2, h3, h4, h5, h6 {
h1, h2, h3, h4, h5, h6 {
   font-family: 'Asap';
   font-family: 'Asap';
Line 76: Line 73:
h4 {
h4 {
     font-weight:bold;
     font-weight:bold;
    font-size: 16px;
}
/* buttons */
#ca-edit.btn-primary:not(:active):not(:hover) {
    background: white !important;
}
}


/* table of contents */
.toc {
.toc {
   border: 1px solid #ccc;
   border: 1px solid #ccc;
Line 104: Line 108:




/* links */
.mw-body a.external:link,
.mw-body a.external:link,
.mw-body a:link {
.mw-body a:link {
Line 120: Line 125:




/* nav */
.nav {
.nav {
   font-family: 'Patua One';
   font-family: 'Patua One';
Line 132: Line 138:
}
}


/* misc */
img.responsive-image { width: 100% !important; height: auto !important; }
img.responsive-image { width: 100% !important; height: auto !important; }



Revision as of 09:04, 2 July 2020

@import url("https://fonts.googleapis.com/css2?family=Asap:wght@400;500;600;700&display=swap|Open+Sans|Patua+One");

body {
  font-family: 'Open Sans';
  font-size: 13pt;
}

.welcome-header {
  background-image: url(/images/2/21/Brush_s_objects%401x.png);
  text-align:center;
  font-size: 36px;
  font-weight: bold;
  font-style: normal;
  font-stretch: normal;
  letter-spacing: 0.2px;
  color: #ffffff;
  background-repeat: no-repeat;
  background-size: contain;
  height: 129px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media only screen and (max-width:576px) {
  .welcome-header {
    background-image: none;
    color: #000;
  }
  
  img.responsive-image {
    display: none;
  }
}

.welcome-text {
  font-family: Asap;
  font-size: 18px;
  font-weight: bold;
  font-style: normal;
  font-stretch: normal;
  letter-spacing: normal;
  text-align: center;
  color: #000000;
  margin-bottom: 30px;
}

/* headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Asap';
}

h1, h2 {
  border-bottom: 1px solid #ccc;
  color: #333;
}

.mw-parser-output h2 {
  margin-top:1.5rem;
  margin-bottom:1rem;
}

.mw-parser-output .main-page h2 {
  margin-top:0;
  margin-bottom:0;
}

h3 {
  /*color: #0394a6;*/
}

h4 {
    font-weight:bold;
    font-size: 16px;
}

/* buttons */
#ca-edit.btn-primary:not(:active):not(:hover) {
    background: white !important;
}

/* table of contents */
.toc {
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #f8f9fa;
  padding: 0 10px 10px 10px;
  font-size: 11pt;
}

.toc h2 {
  color: #444;
  font-size: 12pt;
}

.tocnumber {
  color: #444;
}

.toclevel-2 {
  text-indent: 15px;
}

.toclevel-3 {
  text-indent: 30px;
}


/* links */
.mw-body a.external:link,
.mw-body a:link {
  /*color: #0394a6;*/
  /*text-decoration: underline;*/
}


div.toc a:link {
  text-decoration: none;
}

div.toc a:link .new {
  color: red;
}


/* nav */
.nav {
  font-family: 'Patua One';
}

.navbar-nav > li:first-child {
  border-right: 1px solid #ddd;
}

.navbar-default .navbar-nav > li:first-child > a {
  color: #333;
}

/* misc */
img.responsive-image { width: 100% !important; height: auto !important; }

.thumbcaption {
  font-size:10pt; 
}

/* to properly position anchor targets */
:target::before {
  content: "";
  display: block;
  height: 60px; /* fixed header height*/
  margin: -60px 0 0; /* negative fixed header height */
}

:target {
  padding-top: 60px;
}

.mw-editsection {
  z-index:100;
}