FEN logo

by Laura Kishimoto

HTML

<link href="https://fonts.googleapis.com/css?family=Montserrat:500,800" rel="stylesheet">
<div class="logo">
  <div class="icon" aria-hidden></div>
  <h1><em>Front End</em> North</h1>
</div>

SCSS

:root {
  --brand-colour: darkmagenta;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--brand-colour, red);
  height: 100vh;
  font-size: 8px;
  
  @media (min-width: 500px) {
    font-size: 1.5vw;
  }
  
  @media (min-width: 1000px) {
    font-size: 16px;
  }
}

.icon {
  font-size: 2.5em; // scale
  
  $height: 1.2em;
  $space: 0.2em;
  width: 1em * 4;
  height: $height;
  background-color: currentColor;
  margin-bottom: 4.5em;
  transform: rotate(45deg);
  transform-origin: 0 2.5em;

  &:before,
  &:after {
    content: '';
    display: block;
    width: 1em * 3;
    height: $height;
    position: relative;
    top: $height + $space;
    background-color: currentColor;
    opacity: 0.6;
  }

  &:after {
    content: '';
    top: $height + $space * 2;
    width: 1em * 1.5;
  }
}

h1 {
  margin: 0;
  font-size: 4em;
  font-family: 'Montserrat', 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
  line-height: 1;
  word-spacing: 0.1em;

  em {
    font-style: inherit;
    font-weight: 800;
  }
}