vyuh 0.2.8

Vyuh web framework for Axum and SQLx with handler-first APIs
Documentation
html,
html.light,
html.rust,
html.coal,
html.navy,
html.ayu {
  color-scheme: light;
  font-size: 16px;
  --bg: #fbf6ed;
  --fg: #101827;
  --sidebar-bg: #fff8ed;
  --sidebar-fg: #101827;
  --sidebar-non-existant: rgba(16, 24, 39, 0.42);
  --sidebar-active: #ec5b1a;
  --icons: rgba(16, 24, 39, 0.66);
  --icons-hover: #ec5b1a;
  --links: #ec5b1a;
  --inline-code-color: #ec5b1a;
  --theme-popup-bg: #fffaf3;
  --theme-popup-border: rgba(16, 24, 39, 0.1);
  --theme-hover: rgba(236, 91, 26, 0.08);
  --quote-bg: rgba(236, 91, 26, 0.08);
  --quote-border: #ec5b1a;
  --table-border-color: rgba(16, 24, 39, 0.1);
  --table-header-bg: rgba(255, 250, 243, 0.84);
  --table-alternate-bg: rgba(255, 255, 255, 0.44);
  --searchbar-border-color: rgba(16, 24, 39, 0.1);
  --searchbar-bg: #fff;
  --searchbar-fg: #101827;
  --searchresults-header-fg: #5d6875;
  --searchresults-border-color: rgba(16, 24, 39, 0.1);
  --searchresults-li-bg: rgba(255, 255, 255, 0.72);
  --search-mark-bg: rgba(245, 158, 11, 0.24);
  --warning-border: #f59e0b;
}

body {
  background: linear-gradient(120deg, rgba(35, 116, 171, 0.08), transparent 30%), linear-gradient(240deg, rgba(236, 91, 26, 0.12), transparent 36%), #fbf6ed;
  color: #101827;
  font-size: 1rem;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
}

#mdbook-body-container,
.page-wrapper,
.page {
  background: transparent;
}

.page-wrapper {
  position: relative;
}

.page-wrapper::before {
  background: url("../../public/img/vyuh-logo-transparent.png") center/contain no-repeat;
  content: "";
  height: min(46vw, 34rem);
  opacity: 0.035;
  pointer-events: none;
  position: fixed;
  right: clamp(2rem, 9vw, 9rem);
  top: 50%;
  transform: translateY(-50%);
  width: min(46vw, 34rem);
  z-index: 0;
}

.page,
.menu-bar,
.nav-wide-wrapper {
  position: relative;
  z-index: 1;
}

.sidebar {
  background: rgba(255, 248, 237, 0.94);
  border-right: 1px solid rgba(16, 24, 39, 0.1);
  font-size: 0.95rem;
}

.sidebar-scrollbox {
  padding-block: 0.875rem 2rem;
}

.chapter {
  padding-inline: 0.75rem;
}

.chapter li {
  margin-block: 0.0625rem;
}

.chapter li.chapter-item a {
  border-radius: 0.5rem;
  color: rgba(16, 24, 39, 0.74);
  font-size: 0.94rem;
  line-height: 1.45;
  padding-block: 0.425rem;
  padding-inline: 0.625rem;
}

.chapter li.chapter-item a.active,
.chapter li.chapter-item a:hover {
  background: rgba(236, 91, 26, 0.08);
  color: #ec5b1a;
}

.chapter li.part-title {
  color: #5d6875;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  margin-block: 1.25rem 0.375rem;
  padding-inline: 0.625rem;
  text-transform: uppercase;
}

.menu-bar {
  backdrop-filter: blur(14px);
  background: rgba(251, 246, 237, 0.88);
  border-bottom: 1px solid rgba(16, 24, 39, 0.06);
  font-size: 0.95rem;
}

.menu-title {
  color: #101827;
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.5;
}

.menu-title .vyuh-book-home {
  color: inherit;
  text-decoration: none;
}

.menu-title .vyuh-book-home:hover,
.icon-button:hover,
.right-buttons a:hover {
  color: #ec5b1a;
}

.icon-button,
.right-buttons a {
  color: rgba(16, 24, 39, 0.72);
}

#content main {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 24, 39, 0.1);
  border-radius: 1.125rem;
  box-shadow: 0 12px 36px rgba(16, 24, 39, 0.09);
  font-size: clamp(1.0625rem, 1rem + 0.22vw, 1.15rem);
  line-height: 1.72;
  margin-inline: auto;
  margin-block: clamp(1.5rem, 4vw, 3rem);
  max-width: 62rem;
  padding: clamp(1.5rem, 4vw, 3rem);
}

#content main > :first-child {
  margin-top: 0;
}

#content main > :last-child {
  margin-bottom: 0;
}

#content h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4.75rem);
  line-height: 1;
}

#content h2 {
  border-bottom: 1px solid rgba(16, 24, 39, 0.1);
  margin-top: 2.5rem;
  padding-bottom: 0.5rem;
}

#content h3 {
  margin-top: 2rem;
}

#content p,
#content li {
  color: rgba(16, 24, 39, 0.76);
}

#content p {
  margin-bottom: 1rem;
}

#content li {
  margin-block: 0.25rem;
}

#content a {
  color: #ec5b1a;
  text-decoration-color: rgba(236, 91, 26, 0.28);
  text-underline-offset: 0.18em;
}

#content a:hover {
  color: #c9480e;
}

#content code {
  background: rgba(236, 91, 26, 0.08);
  border: 1px solid rgba(236, 91, 26, 0.12);
  border-radius: 0.25rem;
  color: #ec5b1a;
  padding: 0.08rem 0.25rem;
}

#content pre {
  background: #101827;
  border: 1px solid rgba(16, 24, 39, 0.14);
  border-radius: 0.75rem;
  box-shadow: 0 12px 36px rgba(16, 24, 39, 0.09);
  color: #fffaf3;
  font-size: 0.8125rem;
  line-height: 1.7;
  padding: 1rem;
}

#content pre code {
  background: transparent;
  border: 0;
  color: inherit;
  padding: 0;
}

#content blockquote {
  background: rgba(236, 91, 26, 0.08);
  border-left: 4px solid #ec5b1a;
  border-radius: 0 0.5rem 0.5rem 0;
  color: #101827;
  padding: 0.75rem 1rem;
}

#content table {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 24, 39, 0.1);
  border-radius: 0.75rem;
  overflow: hidden;
}

#content th {
  color: #5d6875;
}

#content td,
#content th {
  border-color: rgba(16, 24, 39, 0.1);
}

.search-wrapper input {
  border-radius: 0.5rem;
}

.theme-popup {
  border-radius: 0.75rem;
  box-shadow: 0 12px 36px rgba(16, 24, 39, 0.09);
}

.nav-chapters,
.mobile-nav-chapters {
  color: rgba(16, 24, 39, 0.38);
}

.nav-chapters:hover,
.mobile-nav-chapters:hover {
  color: #ec5b1a;
}

@media (max-width: 768px) {
  .page-wrapper::before {
    height: 18rem;
    left: 50%;
    opacity: 0.025;
    right: auto;
    top: 11rem;
    transform: translateX(-50%);
    width: 18rem;
  }
  #content main {
    border-inline: 0;
    border-radius: 0;
    font-size: 1rem;
    margin-block: 0;
  }
  .chapter {
    padding-inline: 0.5rem;
  }
}

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