/*
 * Based on 'css/style.css' from the XMin theme by Yihui Xie:
 * <https://github.com/yihui/hugo-xmin/blob/master/static/css/style.css>
 */

body {
  max-width: 800px;
  margin: auto;
  padding: 1em;
  line-height: 1.5em;
}

/* header and footer areas */
.menu { padding: 0; text-align: center; }
.menu li { display: inline-block; }
.menu a {
  text-decoration: none;
  background: #eee;
  padding: 5px;
  border-radius: 5px;
}

footer { text-align: center; }
footer a { text-decoration: none; }

hr {
  border-style: dashed;
  color: #ddd;
}

/* article-meta */
.article-meta { 
  text-align: center;
  background: #eee;
  padding: 5px;
  border-radius: 10px;
}
.title { 
}
.author { 
  text-align: center;
  padding: 5px;
  font-style: italic; 
  font-size: 1.4em;
}
.meta-params { 
  margin: 10px;
}

/* code */
pre {
  border: 1px solid #ddd;
  box-shadow: 5px 5px 5px #eee;
  padding: 1em;
  overflow-x: auto;
}
code { background: #f9f9f9; }
pre code { background: none; }

/* misc elements */
img, iframe, video { max-width: 100%; }
main { hyphens: auto; }
blockquote {
  background: #f9f9f9;
  border-left: 5px solid #ccc;
  padding: 3px 1em 3px;
}

table {
  margin: auto;
  border-top: 1px solid #666;
  border-bottom: 1px solid #666;
}
table thead th { border-bottom: 1px solid #ddd; }
th, td { padding: 5px; }
td { hyphens: none; }
thead, tfoot, tr:nth-child(even) { background: #eee; }

/*
 * Added for frank-mitchell.com
 */

/* tags */
.taglist {
  text-align: center;
}
.tag {
  display: inline-block;
}
.tag a {
  text-decoration: none;
  background: #eee;
  padding: 5px;
  border-radius: 5px;
}

/* alternative blockquotes */

.summary {
  display: block;
  margin: 1em 40px;
  padding: 3px 1em 3px;

  border-left: 5px solid #ccc;
  border-right: 5px solid #ccc;
}

.sidebar {
  display: block;

  margin: 1em 0;
  padding: 0 1em;

  background: #eee;
  border-radius: 8px;
  border: 1px solid #000;
}

.note {
  display: block;
  margin: 1em 40px;
  padding: 1px 1em;

  border: 1px solid #ccc;
  box-shadow: 5px 5px 5px #eee;
}

/* misc */

.license {
  font-family: sans-serif;
  font-size: 0.75em;
}

hr.dotted {
  border-style: dashed;
  color: black; 
}

q {
  background: #f9f9f9;
}

iframe {
  display: block;
  padding: 5px 1em;
  margin: auto;
}

