body {
  background-color: #ccccff;
}

div#header {
  text-align: center;
  font-size: xx-large;
}

div#header img {
  width: 100%;
  height: auto;
  max-width: 600px;
}

table#sections {
  table-layout: fixed;
  background-color: #9999ff;
  width: 100%
}

table#sections tr td {
  text-align: center;
}

table#sections tr td#current-page {
  font-weight: bold;
}

div#title {
  width: 400px;
  text-align: right;
}

div#calendar {
  margin-left: 410px;
  text-align: center;
}

table#cal {
  margin-left: auto; margin-right: auto;
}

table#cal tr td {
  text-align: center;
  padding: 2px 3px;
  border-style: solid;
  border-width: 1px;
  border-color: transparent;
}

table#cal tr td.month-nav a {
  vertical-align: super;
  font-size: smaller;
  text-transform: uppercase;
}

table#cal tr td.this-month {
  background-color: #999999;
}

table#cal tr td.other-month {
  background-color: #666666;
}

table#cal tr td.this-day {
  background-color: #cccccc;
  border-style: solid;
  border-color: #999999;
}

div.commentary {
  background-color: #ffffff;
  margin-left: 410px;
  border-style: solid;
  border-width: 1px;
  padding: 1ex 2em;
  text-align: justify;
}

div#commentary {
  background-color: #ffffff;
  margin-left: 410px;
  border-style: solid;
  border-width: 1px;
  padding: 1ex 2em;
  text-align: justify;
}

div#link-of-the-day {
  background-color: #ffffff;
  margin-top: 2ex;
  margin-left: 410px;
  border-style: solid;
  border-width: 1px;
  padding: 1ex 2em;
  text-align: center;
}

div#navibox {
  margin-left: 410px;
}

div#navibox div#jump-menu {
  margin-top: 2ex;
  margin-bottom: 2ex;
  text-align: center;
}

p#navigation {
  text-align: center;
}

p#navigation a {
  white-space: nowrap;
}

p#navigation span {
  white-space: nowrap;
}

div#comic {
  float: left;
  width: 400px;
  text-align: right;
}

div#comic img#comic-img {
  border-width: 1px;
  border-style: solid;
  border-color: #000000;
}

table#dialogue {
  display: none;
}

div#footer {
  clear: left;
}

div#footer p#tools {
  text-align: right;
  font-size: smaller;
}

div#atom-comic {
  border-style: solid;
  border-width: 1px;
  margin-bottom: 2ex;
}

div#atom-commentary {
  border-style: solid;
  border-width: 1px;
  padding: 1ex 18px;
  text-align: justify;
}

div#feed-comic {
  border-style: solid;
  border-width: 1px;
  margin-bottom: 2ex;
}

div#feed-commentary {
  border-style: solid;
  border-width: 1px;
  padding: 1ex 18px;
  text-align: justify;
}

@media only screen and (max-width: 600px) {
  div#title {
    width: 100%;
    text-align: center;
  }

  div#comic {
    float: none;
    width: 100%;
    text-align: center;
  }

  div.commentary {
    margin-left: 0;
  }
}