@import url('./fonts/load_fonts.scss');
@import './global/colors.scss';

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

body {
  font-family: 'Inter';
  width: 100vw;
  overflow: hidden;
  background-color: $editor-background;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.3);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.5);
}

code.inline_code {
  background-color: $sidebar-background;
  padding: 1px 2px;
}

.mermaid.diagram {
  display: flex;
  justify-content: center;
}

.ttable {
  border-collapse: collapse;
  width: 100%;
  font-size: 16px;
  border: 1px solid white;
  text-align: left;

  td,
  th,
  tr {
    padding: 15px 10px;
    border: 1px solid white;
  }

  th {
    color: white;
    font-weight: 600;
    font-size: 17px;
    background-color: $button-background;
  }
}

// function-plot styles
.plot {
  display: grid;
  place-items: center;
  .function-plot {
    .title {
      color: white;
    }
    .x.origin,
    .y.origin {
      stroke: white;
      opacity: 0.2;
    }
    .x.axis {
      .tick {
        line {
          stroke: white;
          opacity: 0.05;
        }
      }
    }

    .y.axis {
      .tick {
        line {
          stroke: white;
          opacity: 0.05;
        }
      }
    }
  }
}
