view css/octave.css @ 63:0a7baadc93a4 kai

Overhaul index.md start page. Less is more! Tidy up css.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Tue, 11 Oct 2016 16:02:51 +0200
parents ca344ecdfffa
children a7952259f5d3
line wrap: on
line source

div#logo {
  color: #0790c0;
  margin: 10px;
}

div#logo img {
  height: 70px;
  vertical-align:middle;
}

div#logo span {
  font-weight: bold;
  font-size: 25pt;
}

body {
  font-family: arial,sans-serif;
  font-weight: normal;
  font-size: medium;
  background: white;
  color: black;
  margin: 0;
  padding: 0px;
}

a, a:link {
  text-decoration: none;
  color: #0790c0;
}

a:hover {
  color: #1b1c7d;
}

div.page-content {
  width: 540px;
  margin: 0 auto;
  text-align: justify;
}

footer {
  clear: both;
  font-size: x-small;
  text-align: center;
  border-top: 1px solid;
  margin: 5px;
  margin-top: 20px;
}

dt {
  font-weight: bold;
  margin-top: 7px;
}

time {
  font-weight: normal;
}

h1 {
  font-size: 16pt;
  font-weight: bold;
}

h2 {
  font-size: 14pt;
  font-weight: bold;
}

h3 {
  font-size: 12pt;
  font-weight: bold;
}

ul.topnav {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #0790c0;
}

ul.topnav li {
  float: left;
}

ul.topnav li a {
  display: inline-block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  transition: 0.3s;
  font-size: 20px;
  vertical-align: baseline;;
}

ul.topnav li a:hover,
ul.topnav li a:focus,
ul.topnav li a.active {
  background-color: #555;
}

ul.topnav li.icon {
  display: none;
}

ul.topnav li#logo a {
  font-size: 30px;
  font-weight: bold;
}

ul.topnav li svg {
  fill: white;
}

@media screen and (max-width:700px) {
  ul.topnav li:not(:first-child) {display: none;}
  ul.topnav li.icon {
    float: right;
    display: inline-block;
  }
  ul.topnav.responsive {
    position: relative;
  }
  ul.topnav.responsive li.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  ul.topnav.responsive li {
    float: none;
    display: inline;
  }
  ul.topnav.responsive li a {
    display: block;
    text-align: left;
  }
  div.page-content {
    width: auto;
    margin: 15px;
  }
}

@media screen and (min-width:1000px) {
  div.page-content {
    width: auto;
    margin-left: 10%;
    margin-right: 10%;
  }
}