/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* --------------------------- typography ------------------------- */

body {
  font-family: 'Oxygen Mono', sans-serif;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 20px;
  line-height:1.5em;
}

table {
  margin-bottom: 20px;
}

pre {
  line-height:1.3em;
  font-family:'Oxygen Mono', sans-serif !important;
  font-size:13px;
}

a {
  color:blue;
}

em {  
  font-style: normal;
  color: black;
  background-color: #fffcbb;
}

strong em {
  color:inherit;
}

body strong {
  font-weight: 700;
  color: black;
  /* font-size: 18px; */
}

#about,
h1,h2,h3,h4,h5 {
  /* font-family: 'IBM Plex Mono', monospace; */
  font-size: 22px;
  /* font-weight: 700; */
  margin-bottom: 20px;
}

h1 {
  color: rgb(255, 128, 128);
  text-align: center;
  display: inline-block;
  padding-bottom: 5px;
  border-bottom: 5px solid rgb(255, 128, 128);
}

h2 {
  color: #51d073;
  margin-top: 50px;
  /*margin-bottom: 5px; */
}

h3 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 16px;
  margin-bottom: 3px;
  margin-top: 30px;
  color: rgb(139, 135, 255);
  color: black;
}

h4 {
  font-size: 16px;
  color: black;
  color: rgb(202, 111, 197);
  margin-bottom: 0;
}

#about {
  font-size:12px;
}

::-moz-selection {
  background:yellow;
  color:black;
}

::selection {
  background:yellow;
  color:black;
}

/* --------------------------- structure  ------------------------- */
body {
  background-color:white;
}

img,
ul,
ol,
p,
pre {
  margin-bottom:20px;
}

pre {
  background-color: whitesmoke;
  padding: 10px;
  overflow: hidden;
  overflow-x: auto;
  border: 1px solid rgb(81,208,115);
}

p code {
  /* background-color:none; */
  /* color:  magenta; */
  background-color:rgb(255, 254, 221);
  color: black;
  letter-spacing:-1px;
  font-family: 'JetBrains Mono', 'Oxygen Mono', monospace;
  display: inline-block;
  padding: 4px;
}

pre code {
  background-color: inherit;
}

body.post ul,
body.post ol {
  list-style: disc;
  margin-left: 30px;
}

body ol {
  list-style:square;
}

article {
  margin: auto;
  margin-top: 10px;
  margin-bottom: 150px;
}

article li {
  margin-bottom: 10px;
}

#post_links {
  margin-bottom:100px;
}

body.home #post_links {
  margin-top: 70px;
}

#about {
  width:200px;
  position:absolute;   
  top:20px; 
  right:20px;
}

#logo {
  position:absolute;
  right:55px;
  top:100px;
}

#content {
  background-color: #fffcbb;
  background-color: white;
  padding: 20px;
  width: 850px;
  margin: auto auto;
}

.post #content {
  width: 800px;
}

#page img {
  width:100%; 
}

#page img.medium {
  width: 50%;
  display: block;
  margin: auto;
}

#page img.small {
  width: 25%;
  bdisplay: block;
  margin: auto;
}

table {
  margin-bottom: 40px;
}

td, th {
  text-align: left;
  font-size: 16px;
  padding: 1px;
  border-bottom: 1px solid gray;
}

th {
  font-family: 'IBM Plex Mono', sans-serif;
  text-transform: uppercase;
  color: black;
  font-weight: 700;
}

/* --------------------------- logo (2019)  ------------------------- */

#logo-top {
  
  position: fixed;
  right: 20px;
  top: 20px;
}

/* --------------------------- index update (2019)  ----------------- */
#post_links li {
  list-style: none;
}

.home-post  {
  position: relative;
  margin-bottom: 15px;
  overflow: auto;
}

.home-post strong {
  color: black;
  font-weight: 700;
  display: block;
}

.home-post span {
  /*font-style: italic; */
}

#page .home-post img {
  width: 320px;
  object-fit: contain;
  margin-right: 10px;
  margin-bottom: 5px;
  float: left;
}

#page .home-post a {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
}

/* --------------------------- article update (2019)  ---------------- */

#content a.back-to-overview {
  margin-bottom: 40px;
  display: inline-block;
}

.article-visual {
  width: 100%;

} 

/* --------------------------- image caption update (2021)  ---------------- */

img + em {
  display: block;
  padding: 0;
  margin: 0;
  width: 100%;
  background-color: white;
  text-align: center;
  font-size: 12px;
  font-style: italic;
}

/* --------------------------- blockquote update (2021) --------------- */

blockquote {
  background: #f9f9f9;
  border-left: 10px solid #ccc;
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  quotes: "\201C""\201D""\2018""\2019";
}

blockquote:before {
  color: #ccc;

  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}

blockquote p {
  display: inline;
  font-style: italic;
}
