﻿/* CSS file used for sidebar page on florianschattenmann.com */

/* this file changes the font and page colors for the site */

/* by Mark Jones in 9 March 2023 */

/* last modified on 9 March 2023 */



/* controls for the text used throughout the page */

 body {
  font-family: "Lato", sans-serif;
}

/* controls the look of the left side navigation panel */
.sidenav {

  height: 100%;

  width: 160px;

  position: fixed;

  z-index: 1;

  top: 0;

  left: 0;

  background-color: #638c1c;

  overflow-x: hidden;

  padding-top: 20px;

}



/* controls the look of the left side navigation panel text */

.sidenav a {

  padding: 6px 8px 6px 16px;

  text-decoration: none;

  font-size: 20px;

  color: #f5fbea;

  display: block;

}



/* changes the color seen when hovering over a link in the navigation panel */

.sidenav a:hover {

  color: #861e2f;

}



/*  creates the space for the navigation panel on left of the page */

.main {
  margin-left: 160px; /* Same as the width of the sidenav */
  font-size: 22px; /* Increased text to enable scrolling */
  padding: 0px 10px;
}

/* further page tweaks */
@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}
