@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,500;1,300&display=swap');

html{
  background-color: #111;
  scrollbar-color: dark;
  color: #fff;
  margin: 0px;
  margin: 0px auto;
  max-width: 700px;
}

body{
  margin: 0px;
  /*font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;*/
  font-family: Roboto, -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 300;
}

@media only screen and (max-width: 700px){
  .item{
    border-left: 0px solid #000 !important;
    border-right: 0px solid #000 !important;
    /*background: red;*/
  }
  body{
    /*background: red;*/
  }
} 


a {
  color: inherit;
}

h3{
  padding-left: 10px;
}

#items{
  min-height: 100vh;
}

.date{
  margin-bottom: 60px;
}

.item{
  border: 1px solid #555;
  border-bottom: 0px;
  position: relative;
  border-left: 0px solid #000 !important;
  border-right: 0px solid #000 !important;

}
.item:last-child{
  border-bottom: 1px solid #555;
}
.post-title{
  cursor: pointer;
  padding: 10px;
  position: sticky;
  top: 0px;
  font-size: 18px;
  z-index: 100;
  /*outline: 1px solid #ccc;*/
}

.post-title .icon{
  position: absolute;
  left: 10px;
  top: 13px;
}

.post-title .icon{
  /*background: #fff;*/
}

.post-title span{
  padding-left: 30px;
  display: block;
  overflow-wrap: break-word;
  word-break: break-word;
}


.active .post-title, .read .post-title{
  background: #333;
}

.item.active .content{
  padding: 10px;
}

.content img{
  max-width: 100% !important;
  height: auto !important;
}

/* keep wide posts (code blocks, tables) from stretching the page on mobile; scroll inside the post instead */
.raw-html{
  overflow-x: auto;
  overflow-wrap: break-word;
}
.raw-html pre{
  overflow-x: auto;
}
.raw-html iframe, .raw-html video, .raw-html figure, .raw-html svg{
  max-width: 100%;
}
.raw-html table{
  display: block;
  max-width: 100%;
  overflow-x: auto;
}








/* posts are merged in above what's on screen; script.js holds the open post in place itself */
html, body{
  overflow-anchor: none;
}

.rss-status{
  padding: 10px;
  padding-bottom: 60px;
  font-size: 14px;
  opacity: .4;
  min-height: 21px;
}
