Skip to content
Snippets Groups Projects
_globals.scss 1.44 KiB
Newer Older
@import './variables';
Bastien DUMONT's avatar
Bastien DUMONT committed

* {
  margin: 0;
  line-height: 1;
  font-family: 'Lato', sans-serif;
Bastien DUMONT's avatar
Bastien DUMONT committed
  color: white;
  box-sizing: border-box;
}

$content-width: 1200px;
$breakpoint: 1200px;
body,
html {
  overflow-x: hidden;
  background: $black;
}

@mixin nav-height() {
  height: 80px;
  @media all and (max-width: $breakpoint) {
    height: 75px;
  }
}
@mixin margin-nav-height() {
  margin-top: 80px;
  @media all and (max-width: $breakpoint) {
    margin-top: 75px;
  }
}

@mixin button($color, $bg-color) {
  cursor: pointer;
  display: flex;
  text-decoration: none;
  align-items: center;
  @media all and (min-width: $breakpoint) {
    & > div:not(:last-child) {
      margin-right: 1rem;
    }
  }
Bastien DUMONT's avatar
Bastien DUMONT committed
  justify-content: space-between;
  background: $bg-color;
  color: $color;
  border-radius: 2px;
  width: 100%;
  height: 56px;
  max-width: fit-content;
  padding: 1rem;
  margin: 2rem 0;
  border: 0;
  transition: all 400ms ease;
  &:hover {
    box-shadow: 0px 0px 20px 0px $bg-color;
Bastien DUMONT's avatar
Bastien DUMONT committed
  }
  span {
    font-weight: 900;
  }
}
Bastien DUMONT's avatar
Bastien DUMONT committed
  padding-top: 2rem;
}

.text-18-white {
Bastien DUMONT's avatar
Bastien DUMONT committed
  font-weight: 400;
  color: white;
Bastien DUMONT's avatar
Bastien DUMONT committed
  font-size: 1.125rem;
  line-height: 1.6rem;
}

.text-26-white-bold {
Bastien DUMONT's avatar
Bastien DUMONT committed
  font-weight: 900;
  color: white;
  font-size: 1.625rem;
  line-height: 2rem;
}
.text-36-white {
  font-weight: 900;
  font-size: 2.25rem;
}

.yellow {
  color: $yellow;
}

@media all and (max-width: $breakpoint) {
  .text-36-white,
  .text-36-black {
    font-size: 1.85rem;
  }
}