/* font styling and layout= */
body {
  font-family: DejaVu Sans -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  list-style-type: decimal;
  background-color: white;
  color: #111;
  min-width: 150px; /*sets minimum page width */
  max-width: 700px; /* max-width sets width of content, 700px is good */
  padding: 20px;
  margin: 0 auto !important;
  float: none !important;
} 

/* If the screen size is 601px wide or more, set the font-size of <div> to 1.0em */
@media screen and (min-width: 351px) {
  body {
    font-size: 1em;
  }
}

/* if the screen size is 350px wide or less, set the font-size of <div> to 0.9em */
@media screen and (max-width: 350px) {
  body {
    font-size: 0.9em;
  }
}

a:link    { color: 00ccff; text-decoration: none;      }
a:hover   { color: grey; text-decoration: underline; }
a:visited { color: 00ccff;                             }

/* scrollbar always visible, prevents layout shift in Chromium, Palemoon and others. Firefox/Midori does not require this*/
html {
    overflow-y:scroll;
}

/* =site title= */
.site-title {
  text-align: center;
  font-size: 1.2em;
}

/* =captions= */
.caption {
  text-align: center;
  font-size: 0.9em;
  font-style: italic;
}

/* =centred hyperlink= */
.centred-link {
  text-align: center;
}

/* =headings= */
/* main headings */
h1 {
 text-align: center;
 color: gray;
 }
/* heading links */
h1 a { color: inherit !important }
h2 a { color: inherit !important }
h3 a { color: inherit !important }
h4 a { color: inherit !important }
h5 a { color: inherit !important }
h6 a { color: inherit !important }

/* centred text/sub-heading/other */
.centred {
 text-align: center;
}

/* =images= */
img {
  max-width: 100%;
  height: auto;
/* =centre all images= */
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: auto;
}      

/* =menu= */
ul { 
  text-align: center;
  margin: 0 auto;
  width: auto;
  padding: 0;
}

li.menu {
    display: inline;
    padding: 8px;
    margin: 0;
}

/* =posts= */
ol {
  padding-left: 0px;
}

li {
    display: inline;
    padding: 8px;
    margin: 0;
}

/* =category list on archives page= */
li.categories { 
  display: block;
  text-align: center;
  padding: 5px;
}

/* =archive list on archives page= */
dl {
  text-align: center;
  display: block;
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: 0;
  margin-right: 0;
}

/* description name in archive i.e post title */
dd { margin-left: 0px; }

/* =blog post titles= */
.entry-title { text-align: center;}
