MediaWiki: Common.css: Unterschied zwischen den Versionen

Aus wiki.climate-thinking.de
Wechseln zu: Navigation, Suche
Zeile 46: Zeile 46:
 
}
 
}
  
 +
<div class="sidenav">
 +
  <a href="#about">About</a>
 +
  <a href="#services">Services</a>
 +
  <a href="#clients">Clients</a>
 +
  <a href="#contact">Contact</a>
 +
</div>
  
 
/* Folgend wird Schriftart und Farbe der Überschriften - h1, h2 etc. - geändert */
 
/* Folgend wird Schriftart und Farbe der Überschriften - h1, h2 etc. - geändert */

Version vom 20. Februar 2021, 23:36 Uhr

/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */

@import url('https://fonts.googleapis.com/css?family=Poppins:500|Bree+Serif:400,700||Work+Sans:400,700');


body {
    background: #f1f3f4;
    font-family: 'Work Sans', sans-serif;
    color: #575757;
  }

.sidenav {
  width: 130px;
  position: fixed;
  z-index: 1;
  top: 20px;
  left: 10px;
  background: #eee;
  overflow-x: hidden;
  padding: 8px 0;
}

.sidenav a {
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  font-size: 25px;
  color: #2196F3;
  display: block;
}

.sidenav a:hover {
  color: #064579;
}


#footer {
    background: #F3D8DD;
 }

#catlinks {
    display:block
}

#toc {
  display:block;
}

<div class="sidenav">
  <a href="#about">About</a>
  <a href="#services">Services</a>
  <a href="#clients">Clients</a>
  <a href="#contact">Contact</a>
</div>

/* Folgend wird Schriftart und Farbe der Überschriften - h1, h2 etc. - geändert */

#content h1 {
  font-family: 'Bree', serif;
  font-weight: 500;
  color: #C7105C;
  text-align: left;
}

#content h2,h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  color: #9A0C46;
  text-align: left;
}