@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%;
}

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