/* nasim.no */

body {
  max-width: 680px;
  margin: 2rem auto;
  padding: 0 1rem;
  font-family: serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #ddd;
  background: #1e1e1e;
}

h1 { margin-bottom: 0.1rem; }
h2 { margin-top: 2rem; }

nav { margin: 0.5rem 0 1rem; }
nav a { margin-right: 0.5rem; }

table {
  border-collapse: collapse;
  width: 100%;
  margin: 0.5rem 0;
}

td, th {
  padding: 0.3rem 0.75rem 0.3rem 0;
  vertical-align: top;
  text-align: left;
  font-weight: normal;
}

th {
  font-weight: bold;
  border-bottom: 1px solid #ccc;
  border-bottom-color: #222;
}

td:first-child, th:first-child {
  white-space: nowrap;
  padding-right: 1.5rem;
  min-width: 160px;
}

/* Projects listing table */
table.projects td:first-child {
  min-width: unset;
  white-space: normal;
  width: 75%;
}

table.projects td:last-child {
  white-space: nowrap;
  min-width: 120px;
}

a { color: #6af; }
a:visited { color: #6af; }

hr { border-color: #333; border-top: 1px solid #ccc; margin: 1.5rem 0; }

footer { font-size: 0.85rem; color: #888; }

code {
  font-family: monospace;
  font-size: 0.9rem;
  background: #222;
  padding: 0.1rem 0.3rem;
}

blockquote {
  border-left: 3px solid #ccc;
  border-left-color: #555;
  margin: 1rem 0;
  padding-left: 1rem;
  color: #aaa;
}
