:root {
  --text: #fcfcfc;
  --mainbg: #933984;
  --background: #4b1a4f;
  --secondary-background: #31363b;
  --background-darker: #2f1b2e;
  --accent: #00b7c3;
  --yellow: #8B8000;
  --repo-hover: #b762b7;
  --border: #d76aff;
  color-scheme: dark;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
  color: var(--text);
  background-color: var(--background-darker);
  transition: ease-in-out 0.25s;
  margin: 0;
}

::-webkit-scrollbar {
  width: 8px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: var(--background);
  border: 1px solid var(--border);
}

main {
  margin: 0 10vw;
  padding: 10px;
  background-color: var(--mainbg);
  border: 1px solid #ed7ced;
  border-radius: 4px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: start;
  flex-direction: row;
  padding: 8px;
  margin-bottom: 8px;
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
}

.navbar .item {
  align-self: center;
  box-shadow: none;
  border: none;
  padding: .78571429em .92857143em;
  margin: 0 .35714286em;
  background: none;
  transition: color .1s ease;
  border-radius: .28571429rem;
}

.index-gh {
  background: var(--background);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 4px;
  border-radius: 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: ease-in-out 0.25s;
  color: var(--text);
}

.navbar-slogan:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.brand:hover {
  color: var(--text);
  text-decoration: underline;
}

.error {
  background-color: var(--background);
  border: 1px solid var(--border);
  padding: 8px;
  border-radius: 4px;
  font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
  color: var(--text);
}

.center { text-align: center; }
.logo { max-width: 220px; }
.hero h1 { font-size: 5.5em; }
.hero h2 { font-size: 3em; }

a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 5px;
}

a:hover {
  color: var(--accent);
}

.setup-notice {
  background-color: var(--yellow);
  padding: 8px;
  border-radius: 4px;
  font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
  color: var(--text);
}

.setup-notice > a {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.setup-notice > a:hover {
  color: var(--text);
  opacity: 1;
}

/* URI: /explore */

.explore-card, .user-repo-card {
  background-color: var(--background);
  border: 1px solid var(--border);
  padding: 8px;
  border-radius: 4px;
  margin: 8px 0 8px 0;

  text-overflow: ellipsis;
  white-space: wrap;
  text-decoration: none;
  display: flex;

  transition: ease-in-out 0.25s;
}

.explore-card:hover, .user-repo-card:hover {
  background-color: var(--secondary-background);
  color: var(--text);
}

/* URI: /:user */

.user-profile {
  background-color: var(--background);
  border: 1px solid var(--border);
  padding: 8px;
  border-radius: 4px;
  margin: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.user-profile h1 {
  color: var(--accent);
  margin: 4px;
  word-wrap: nowrap;
  text-overflow: ellipsis;
}

.user-profile h2 {
  margin: 4px;
}

.user-profile p {
  margin: 4px;
}

.user-profile img {
  border: 4px solid var(--accent);
  border-radius: 50%;
}

.user-bio,
.user-readme {
  background-color: var(--background);
  border: 1px solid var(--border);
  padding: 8px;
  border-radius: 4px;
  margin: 8px;
}

.user-bio-text,
.user-readme-text {
  background-color: var(--background-darker);
  padding: 8px;
  border-radius: 4px;
  margin-bottom: 0;
}

.user-readme-text {
  margin-top: 0;
}

.file-table {
  width: 100%;
}

.social-links {
  display: flex;
  flex-direction: column;
}

.user-repo-card {
  background-color: var(--background-darker);
  padding: 4px;
  border-radius: 4px;
  margin: 8px 0 8px 0;

  text-overflow: ellipsis;
  white-space: wrap;
  text-decoration: none;
  display: flex;
  flex-direction: column;

  transition: ease-in-out 0.25s;
}

.user-repo-card > p {
  margin: 8px;
}

.user-repo-card:hover {
  background-color: var(--secondary-background);
  color: var(--text);
}

.lang-bar:last-child {
  margin-bottom: 0;
}

.lang-bar {
  width: 100%;
  display: inherit;
  height: 10px;
  border-radius:4px;
  overflow: hidden;
  user-select: none;
}

/* URI: /:user/:repo */
.button {
  background-color: var(--background);
  border: 1px solid var(--border);
  padding: 8px;
  border-radius: 4px;
  margin: 8px;
  color: var(--text);
  text-decoration: none;
  text-align: center;
  display: inline-block;
}

.button:hover {
  background-color: var(--secondary-background);
  color: var(--text);
}

.button-parent {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

.file-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.file-u-list {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.file-u-list:hover {
  background-color: var(--repo-hover);
}

/* URI: /file/:user/:repo/:file */
.user-readme pre {
  padding: 8px;
  border-radius: 4px;
  /*white-space: pre-wrap;*/
  overflow-x: auto;
}

.user-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.secondary {
  background-color: var(--secondary-background);
}

@media screen and (max-width: 900px) {
  main {
    margin: 8px;
  }

  .navbar-slogan {
    display: none;
  }

  .navbarImg {
    height: 40px;
  }

  .explore-card {
    margin-left: 0;
    margin-bottom: 8px;
    margin-right: 0;
  }

  .social-links {
    flex-direction: column;
  }
}
.cl {
	padding-left: 8px
}

/* 糞vimvixen */
.vimvixen-console-frame {
  display: none;
}

.right.stackable.menu {
  margin-left: auto;
  display: flex;
  align-items: inherit;
  flex-direction: inherit;
}
