/*****************************************************************************/
/*
/* Common
/*
/*****************************************************************************/

/* Global Reset */
* {
  margin: 0;
  padding: 0;
}

html, body { height: 100%; }

body {
  background-color: #FFF;
  font: 13.34px Helvetica, Arial, sans-serif;
  font-size: small;
  text-align: center;
}

h1, h2, h3, h4, h5, h6 {
  font-size: 100%; }

h1 { margin-bottom: 1em; }
h2 { margin-top: 2em;}
p { margin: 1em 0; }

a { 
    color: #00a;
    text-decoration: none;
}
a:hover { 
    color: #000; 
    text-decoration: underline;
}
a:visited { 
    color: #a0a;
    text-decoration: none;
}

/*****************************************************************************/
/*
/* Home
/*
/*****************************************************************************/
.posts {
  list-style-type: none;
  margin-bottom: 2em;
}

.posts li {
  line-height: 1.75em;
}

.publicationinfo {
  color: #aaa;
  font-family: Monaco, "Courier New", monospace;
  font-size: 80%;
}

/*****************************************************************************/
/*
/* Site
/*
/*****************************************************************************/

.site {
  font-size: 115%;
  text-align: left;
  max-width: 630px;
  margin: 3em auto 2em;
  padding: 0 1em;
  line-height: 1.5em;
}

.header a {
  font-weight: bold;
  text-decoration: none;
}

.title {
  display: inline-block;
  margin-bottom: 2em;
}

.title a {
  color: #a00;
}

.title a:hover {
  color: #000;
}

.header a.extra {
  color: #aaa;
  margin-left: 1em;
}

.header a.extra:hover {
  color: #000;
}

.meta {
  color: #aaa;
  font-family: Monaco, "Courier New", monospace;
  font-size: 80%;
}

.footer {
  border: none;
  border-top: 4px solid #eee;
  margin-top: 2em;
}

h2:has(> a.back) {
  position: relative;
}

a.back {
  color: #fff;
  position: absolute;
  right: calc(100% + 0.3em);
  top: 50%;
  transform: translateY(-50%);
  font-size: 100%;
  padding: 0.4em 0.5em;
  text-decoration: none;
  background: #f5f5f5;
  border-radius: 4px;
}

a.back span {
  display: inline-block;
  font-weight: bold;
}

a.back:hover {
  color: #fff;
  background: #bbb;
  text-decoration: none;
}

/*****************************************************************************/
/*
/* Posts
/*
/*****************************************************************************/

/* standard */
.post pre {
  border: 1px solid #ddd;
  background-color: #eef;
  padding: 0 .4em;
}

.post ul, .post ol {
  margin-left: 1.35em;
}

.post code {
  border: 1px solid #ddd;
  background-color: #eef;
  padding: 0 .2em;
}

.post pre code {
  border: none;
}

.posts li p {
  padding-left: 2em;
  margin-top: 0;
}

.posts li .publicationtitle {
  font-weight: bold;
}

.posts li .publicationinfo {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
}

#home > p {
  font-style: italic;
}

#me {
  float: right;
  margin-left: 20px;
}

a.more {
  white-space: nowrap;
}

.posts li .summary {
  border-left: 2px solid #ddd;
  padding-left: 1em;
  margin-top: 0.3em;
  margin-bottom: 1em;
}

.posts li .summary p {
  padding-left: 0;
}

.posts li .summary p:last-of-type {
  display: inline;
}

.publications-section {
  position: relative;
  padding-left: 2.5em;
}

.publications-section h2 {
  position: absolute;
  left: 0;
  top: 0;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  margin: 0;
  color: #aaa;
  font-weight: normal;
  font-size: 100%;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.year-group {
  position: relative;
  margin-top: 2em;
}

.year-group:first-child {
  margin-top: 0;
}

.year {
  position: absolute;
  left: -2.5em;
  top: 0;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  color: #aaa;
  font-style: italic;
  font-size: 100%;
  white-space: nowrap;
}


