Newer
Older
express-blog / public / css / header.css
@Jason Jason on 2 Jun 593 bytes new file: public/css/base.css
/* Header */
header {
  background-color: #2c3e50;
  color: #ecf0f1;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1rem 0;
}

header h1 {
  font-size: 1.8rem;
  font-weight: 700;
}

header nav {
  display: flex;
  gap: 1rem;
}

header nav a {
  color: #ecf0f1;
  text-decoration: none;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: 3px;
  transition: background-color 0.2s ease-in-out;
}

header nav a:hover,
header nav a:focus {
  background-color: #34495e;
}