Header.css 1.24 KB
/*
 * Header styles
 */
#header {
  background: rgba(0, 0, 0, 0.7);

  position: fixed;
  width: 100%;
  height: 5em;
  margin-top: 1.875em;

  z-index: 10;
}

/*
 * Logo styles
 */
#logo {
  height: 100%;
  width: 60%;
}
#logo img,
#logo .logotitle {
  position: relative;
  top: 50%;
  transform: translate(0, -50%);
}
#logo img {
  border: 0.125em solid white;
  border-radius: 0.625em;
  padding: 2px;
  opacity: 0.4;
  margin: 0 1em;
  float: left;
  height: 85%;
}
#logo .logotitle a {
  color: rgb(255,255,255);
  text-decoration: none;
  font-size: 1.875em;
  font-family: Arkitech;
}
#logo .logotitle span {
  color: rgb(255,255,255);
  text-decoration: none;
  font-family: Arkitech;
}

/*
 * Navigation bar styles
 */
#nav {
  position: absolute;
  top: 50%;
  left: 85%;
  transform: translate(-50%, -50%);
  width: 26.875em;
  clear: both;
}
#nav ul {
  display: block;
  list-style: none;
}
#nav li {
  float: left;
  padding-left: 21px;
}
#nav li a {
  color: rgba(255,255,255,0.4);
  font-size: 1em;
  text-decoration: none;
  font-weight: bold;
  outline: 0;
  cursor: pointer;
}
#nav li a:hover,
#nav li a:active {
  color: rgba(255,255,255,0.7);
}
#nav li a.active {
  color: rgba(255,255,255,1);
  border-bottom: 0.125em solid rgb(255,255,255);
}