@import url('https://fonts.googleapis.com/css?family=Source+Code+Pro');

.blog-post-meta { margin: -10px 0px 0px 2px; color: #999; }
.tags { margin: 0px 0px 0px 2px; color: #999; }
.version { color: #bbb; font-size: 10px; margin-bottom: 20px; }
.profile { max-width:300px; margin-top: 30px; }
.footer { margin-top: 20px; }
html { height: 100%; }
body { font-family: 'Source Code Pro', monospace; min-height:100vh; display:flex; flex-direction:column; }
.wrapper { flex: 1; }
.menu a, .footer a { color: rgba(0,0,0,.70); }
.footer a:hover { color: #007bff; }
.logo { background: #777; color: #EEE; font-size: 28px; padding: 10px 15px 10px 15px; float:left; }
.logo:hover { background: #333; color: #EEE; text-decoration: none; }
.cover { padding-top: 35%; }
.menu { padding-top: 20px; }
.menu a { padding: 0px 10px 0px 10px; }
.full-height { height: 100%; }
.keywords {
  border-right: solid 3px rgba(0,255,0,.75);
  white-space: nowrap;
  overflow: hidden;
  font-size: 14px;
  color: rgba(0,0,0,.70);

  animation: animated-text 4s steps(29,end) 1s 1 normal both,
             animated-cursor 600ms steps(29,end) infinite;
}
.admin-posts { list-style: none; text-align: left; }
.admin-posts li { padding-bottom: 10px; }
.research { background:#EEEEEE; margin-bottom: 5px; padding:5px }
.research:nth-child(even) { background: #FFFFFF; }
.bottom { min-height: 200px; width: 100%; background-color: #333333; color: #EEE; }
.bottom a { color: #EEE; }
/* text animation */
@keyframes animated-text{  from{width: 0;} to{width: 350px;} }
/* cursor animations */
@keyframes animated-cursor{ from{border-right-color: rgba(0,0,0,.75);} to{border-right-color: transparent;}  }

video {
  left: 50%;
  min-height: 100%;
  min-width: 100%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* 1. No object-fit support: */
@media (min-aspect-ratio: 16/9) { #video-bg > video { height: 300%; top: -100%; }  }
@media (max-aspect-ratio: 16/9) { #video-bg > video { width: 300%; left: -100%; }  }

/* 2. If supporting object-fit, overriding (1): */
@supports (object-fit: cover) {  #video-bg > video { top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; } }

/* Markdown tables */
#html table, #page-content table {
  width: 100%;
  margin-bottom: 1rem;
  border-collapse: collapse;
}
#html th, #html td, #page-content th, #page-content td {
  padding: 0.5rem;
  border: 1px solid #dee2e6;
  text-align: left;
}
#html thead th, #page-content thead th {
  border-bottom: 2px solid #dee2e6;
  background-color: #f8f9fa;
}

/* Comments */
.comment { border-bottom: 1px solid #eee; padding: 15px 0; text-align: left; }
.comment-meta { color: #999; font-size: 13px; margin-bottom: 5px; }
.comment-content { font-size: 14px; }

/* Search */
.nav-search { display: inline; margin-left: 10px; }
.nav-search-input { font-family: 'Source Code Pro', monospace; font-size: 13px; padding: 2px 8px; border: 1px solid #ccc; border-radius: 3px; width: 140px; vertical-align: baseline; }
.nav-search-input:focus { outline: none; border-color: #007bff; }
.search-page-form { margin: 20px 0; }
.search-page-input { font-family: 'Source Code Pro', monospace; font-size: 14px; padding: 6px 10px; border: 1px solid #ccc; border-radius: 3px; width: 300px; }
.search-page-btn { font-family: 'Source Code Pro', monospace; font-size: 14px; padding: 6px 16px; border: 1px solid #333; border-radius: 3px; background: #333; color: #EEE; cursor: pointer; }
.search-page-btn:hover { background: #555; }
