// ::-webkit-scrollbar {
//   width: 6px;
//   height: 6px;
// }

// ::-webkit-scrollbar-track {
//   opacity: 0;
// }

// ::-webkit-scrollbar-thumb {
//   background-color: hsla(220, 4%, 58%, 0.3);
//   border-radius: 5px;
// }

@import './normalize.scss';
@import './markdown.scss';

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;

  a {
    text-decoration: none;
    word-break: keep-all;
  }

  a:hover {
    text-decoration: none !important;
  }
}

/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/

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

/*定义滚动条轨道 内阴影+圆角*/

::-webkit-scrollbar-track {
  border-radius: 10px;
}

/*定义滑块 内阴影+圆角*/

::-webkit-scrollbar-thumb {
  position: relative;
  display: block;
  cursor: pointer;
  border-radius: 4px;
  background-color: hsla(220, 4%, 58%, 0.3);
  transition: background-color 0.3s;
}

.github-corner {
  border-bottom: 0;
  position: fixed;
  right: 0;
  text-decoration: none;
  top: 0;
  z-index: 9999;
}

.github-corner svg {
  color: #fff;
  fill: var(--theme-color, #e60000);
  height: 80px;
  width: 80px;
}
