@charset "UTF-8";
@import "/static/fonts/fonts.css";
.selectall {
  user-select: all;
  -webkit-user-select: all;
}

body {
  --TendrilBGColor: #CDD97E;
  --MetaTextColor: #555;
  --HeaderBgColor: #E8F0E8;
  --BgColor: #F8FCF8;
  background-color: var(--TendrilBGColor);
  font-family: var(--DisplayFont);
  user-select: none;
  -webkit-user-select: none;
  /* Background-image fix for iOS, from <https://stackoverflow.com/questions/24154666/> */
}
body:after {
  content: "";
  position: fixed; /* stretch a fixed position to the whole screen */
  top: 0;
  height: 100vh; /* fix for mobile browser address bar appearing disappearing */
  left: 0;
  right: 0;
  z-index: -1; /* needed to keep in the background */
  background: url("/static/background.jpg") center center;
  /* Current background.jpg is adapted from https://unsplash.com/photos/xpdiQC6AX_g (5/13/22) */
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.modal-backdrop {
  background-color: #030;
}

button, .btn {
  font-family: var(--ButtonFont);
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
}

code, pre {
  color: #040;
}

.navbar, .nav-link {
  padding-top: 0;
  padding-bottom: 0;
}

main > .container {
  padding-top: 20px;
}

header + main > .container {
  padding-top: 60px; /* Leave space for the nav bar */
}

footer {
  background-color: var(--TendrilBGColor);
}
footer a {
  text-decoration: none;
}

#sync-button .spinner-border {
  visibility: hidden;
}

#sync-button.syncing .spinner-border {
  visibility: inherit;
}

/* LINKS TO PEEPS: */
a.petname, a.nickname, a.keyname, a.myname {
  text-decoration: none;
  padding: 0 2px;
  border-radius: 0.4rem;
}

a.keyname, a.nickname {
  border: 1px dashed rgba(128, 128, 128, 0.5);
  background-color: rgba(128, 128, 128, 0.12);
}

a.keyname {
  font-family: monospace;
}

a.nickname {
  font-family: var(--ContentFont);
}

a.petname, a.myname {
  font-family: var(--DisplayFont);
  font-size: 120%;
  font-weight: bold;
  letter-spacing: 0.03em;
}

a.petname {
  border: 1px solid rgba(0, 255, 0, 0.5);
  background-color: rgba(0, 255, 0, 0.12);
}
a.petname:hover {
  background-color: rgba(0, 255, 0, 0.5);
}

a.myname {
  color: rgb(192, 0, 192);
  border: 1px solid rgba(192, 0, 192, 0.5);
  background-color: rgba(192, 0, 192, 0.12);
}
a.myname:hover {
  background-color: rgba(192, 0, 192, 0.5);
}

/* AVATARS: */
/* Avatar in the page's nav header */
nav img.avatar {
  width: 1em;
  height: 1em;
  margin: 0;
  background-color: none !important;
  opacity: 50%;
}
nav .nav-link:hover img.avatar {
  opacity: 100%;
}

/* Avatar in a log page subtitle */
.log-author > img.avatar {
  width: 2em;
  height: 2em;
  margin: 0 0.5em;
}

img.avatar.petname:hover {
  border-color: rgba(0, 255, 0, 0.25);
  background-color: hsl(120deg, 100%, 99%);
}
img.avatar.myname:hover {
  border-color: hsl(300deg, 100%, 88%);
  background-color: hsl(300deg, 100%, 99%);
}
img.avatar:hover {
  background-color: white;
}

/* NOTIFICATIONS: */
#toaster {
  z-index: 11;
  position: fixed;
  top: 35px; /* height of nav bar */
  right: 0;
  padding: 1rem !important;
}
#toaster .toast { /* these settings override Bootstrap's */
  width: 250px;
  border: 1px solid gray;
  border-radius: 0.5rem;
  padding: 0.25rem;
  background-color: white;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2509803922);
  opacity: 90%;
  cursor: pointer;
}
#toaster .toast-header {
  background-color: var(--HeaderBgColor);
  padding: 0 0.5rem;
  font-family: var(--DisplayFont);
  font-style: bold;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
}
#toaster .toast-avatar {
  height: 2em;
  width: 2em;
  margin-right: 0.5rem;
}
#toaster .toast-time {
  font-family: var(--BodyFont);
  font-size: 0.7rem;
}
#toaster .toast-body {
  font-family: var(--ContentFont);
  font-weight: bold;
  padding: 0 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* FIRST-TIME SETUP */
#setup .modal-dialog {
  max-width: min(80%, 600px);
}
#setup .modal-title {
  font-size: 250%;
  color: green;
}
#setup .modal-body {
  font-family: var(--BodyFont);
}
#setup label {
  color: green;
}
#setup input::placeholder {
  color: lightgray;
}
#setup .peep-avatar {
  margin-right: 2rem;
}
#setup img.avatar {
  width: 64px;
  height: 64px;
}
#setup input[type=file] {
  display: none !important;
}
#setup input[type=url] {
  font-size: 80%;
}

.display-4 {
  font-size: 2.5rem;
}

@media (min-width: 768px) {
  .display-4 {
    font-size: 3rem;
  }
}
main > .container {
  max-width: 50rem;
}

#log-title {
  margin-bottom: 2rem;
}
#log-title + #log-subtitle {
  margin-top: -2rem;
}

#log-subtitle {
  margin-bottom: 2rem;
}

#new-body,
.peep-about {
  user-select: auto;
  -webkit-user-select: auto;
  font-family: var(--ContentFont);
}

#single-log #log-title {
  user-select: auto;
  -webkit-user-select: auto;
  font-family: var(--ContentFont);
}
#single-log #log-subtitle {
  user-select: auto;
  -webkit-user-select: auto;
  font-family: var(--ContentFont);
  font-style: italic;
}

article {
  margin-bottom: 2rem;
}
article > header.card-header {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  background-color: var(--HeaderBgColor);
}
article > .card-body {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  background-color: var(--BgColor);
}
article address {
  font-size: 80%;
  color: var(--MetaTextColor);
  text-align: right;
  font-weight: normal;
  margin: 0;
}
article address > a {
  user-select: auto;
  -webkit-user-select: auto;
}
article footer.card-footer {
  background-color: var(--HeaderBgColor);
}

.entry-header a {
  text-decoration: none;
  color: inherit;
}
.entry-header a:hover {
  text-decoration: underline;
}

.entry-meta {
  font-size: 80%;
  color: var(--MetaTextColor);
}
.entry-meta .date-updated {
  color: rgb(192, 192, 192);
}

a.entry-log, a.entry-group {
  font-style: italic;
  user-select: auto;
  -webkit-user-select: auto;
}

.entry-title, #new-title {
  user-select: auto;
  -webkit-user-select: auto;
  font-family: var(--ContentFont);
  font-weight: 900;
  margin-bottom: 0;
}

.entry-subtype {
  color: rgb(172, 173, 172);
  margin-right: 0.3em;
}

.entry-encrypted {
  position: absolute;
  top: -0.5em;
  left: -1em;
  width: 2em;
  height: 2em;
  padding: 3px;
  text-align: center;
  background-color: rgba(255, 255, 0, 0.5);
  border-radius: 1em;
}

.entry-menu-button {
  color: #BBB !important;
}

.entry-menu {
  font-size: 90%;
}

.entry-text {
  font: -apple-system-body;
  user-select: auto;
  -webkit-user-select: auto;
  font-family: var(--ContentFont);
}
.entry-text > p:last-child {
  margin-bottom: 0;
}
.entry-text blockquote {
  border-left: 2px solid;
  padding-left: 1rem;
  font-size: 90%;
}
.entry-text.entry-type-quote blockquote {
  border-left: none;
  padding-left: 0.6em;
  text-indent: -0.6em;
  font-size: 150%;
  font-weight: 300;
}
.entry-text.entry-type-quote blockquote > p::before {
  content: "“";
}
.entry-text.entry-type-quote blockquote > p::after {
  content: "”";
}
.entry-text img {
  max-width: 100%;
}

.entry-link {
  margin-top: 0.5rem;
  font-size: 90%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.entry-more-link {
  margin-top: -2rem;
  text-align: right;
}
.entry-more-link > a {
  font-family: var(--DisplayFont);
  background-color: var(--BgColor);
}

.entry-separator-box {
  height: 0;
  /* The lines with timestamps between some posts */
}
.entry-separator-box .entry-separator {
  position: absolute;
  background: linear-gradient(rgba(255, 255, 255, 0.5019607843), rgba(255, 255, 255, 0));
  margin: -0.8rem 0 1rem 0;
  padding: 0.5rem 1rem;
  left: 0;
  right: 0;
  height: 3rem;
}

@media (max-width: 56rem) {
  .entry-separator-box {
    height: 2rem;
  }
}
img.avatar.title-avatar {
  width: 64px;
  height: 64px;
  margin-bottom: 8px;
}

.entry-text > img.avatar {
  width: 64px;
  height: 64px;
  margin: 2px 0px 4px 8px;
  float: right;
}
.entry-text > img.avatar.myname:hover {
  box-shadow: 1px 1px 8px hsl(300deg, 100%, 88%);
}
.entry-text > img.avatar.petname:hover {
  box-shadow: 1px 1px 8px rgba(0, 255, 0, 0.25);
}

/* ATTACHMENTS */
article figure {
  clear: both;
  width: max-content;
  max-width: 100%;
  height: auto;
  position: relative; /* for positioning of .tndrlbadge */
  border: 1px solid gray;
  padding: 4px;
  background-color: white;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2509803922);
  color: gray;
}
article figure.tndrl-media-audio, article figure.tndrl-media-audio-bc {
  border: none;
  box-shadow: none;
  background-color: inherit;
}
article figure.tndrl-media-audio > audio {
  border-radius: 8px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2509803922);
}
article figure.tndrl-media-audio-bc {
  min-width: 560px;
}
article figure.tndrl-media-video, article figure.tndrl-media-video-yt {
  background-color: black;
  border: none;
  border-radius: 8px;
  padding: 6px 0px;
  color: lightgray;
}
article figure img, article figure iframe {
  max-width: 100%;
  height: auto;
}

article figcaption {
  text-align: center;
  font-style: italic;
  font-size: 90%;
  user-select: auto;
  -webkit-user-select: auto;
}

img.tndrlbadge {
  position: absolute;
  width: 20%;
  top: 35%;
  left: 40%;
}

/* ATTACHMENT LIST */
.entry-attachments {
  margin: 3px 0;
  list-style-type: none; /* items have their own bullets */
  font-family: system-ui, sans-serif;
  overflow: hidden;
}
.entry-attachments > li {
  margin-top: 3px; /* room for focus ring */
}
.entry-attachments .att-name:focus {
  background-color: rgba(255, 255, 255, 0.5);
}
.entry-attachments .att-name:hover {
  background-color: rgba(255, 255, 255, 0.5);
}
.entry-attachments .att-length {
  color: rgb(178, 178, 178);
}
.entry-attachments a.att-link {
  color: rgb(178, 178, 178);
  font-size: 80%;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.entry-attachments .del-attachment {
  text-decoration: none;
  font-size: 70%;
  opacity: 0%;
}
.entry-attachments > li:hover .del-attachment {
  opacity: 100%;
}

div.attach-file input[type=file] {
  display: none;
}
div.attach-file .btn {
  margin-right: 1em;
}

img.attach-thumb {
  max-width: 150px;
  max-height: 150px;
  display: block;
}

/* NEW ENTRY FORM */
#new-entry {
  display: none; /* hidden until shown */
}
#new-entry input, #new-entry textarea {
  padding: 1px;
}
#new-entry textarea {
  border-color: #EEE;
  margin-bottom: 8px;
}

#entry-type-row {
  margin-top: 4px;
}

#encryption_field {
  font-family: system-ui;
  font-size: 80%;
}

#new-link {
  font-size: 90%;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#preview-entry {
  rotate: 2deg;
  box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.3);
  border-style: dashed;
  margin-top: -2.5rem;
  position: relative;
  left: -3rem;
  color: gray;
  --HeaderBgColor: #E8E8E8;
  --BgColor: #F8F8F8;
}

.drag-highlight {
  outline: 2px solid lightgreen !important;
}

td[contentEditable=plaintext-only] {
  border: 1px solid #CCC;
  border-radius: 0.25rem;
}

div[contentEditable=plaintext-only] {
  border: 1px solid #CCC;
  border-radius: 0.25rem;
  min-height: 200px;
}

h1[contentEditable=plaintext-only] {
  border: 1px solid #CCC;
  border-radius: 0.25rem;
  background-color: white;
}

/*# sourceMappingURL=log.css.map */
