JasperOL commited on
Commit
56f465a
·
verified ·
1 Parent(s): 5574c7e

Put the title below the logo now

Browse files
Files changed (1) hide show
  1. components/navbar.js +6 -4
components/navbar.js CHANGED
@@ -12,21 +12,23 @@ class CustomNavbar extends HTMLElement {
12
  }
13
  .container {
14
  display: flex;
15
- justify-content: flex-start;
 
16
  align-items: center;
17
  padding: 1rem;
18
  max-width: 1200px;
19
  margin: 0 auto;
20
- gap: 1rem;
21
  }
22
  .logo {
23
  height: 8rem;
24
  width: auto;
25
- }
26
- .title {
27
  font-size: 1.25rem;
28
  font-weight: 600;
29
  color: #1F2937;
 
30
  }
31
  @media (max-width: 768px) {
32
  .container {
 
12
  }
13
  .container {
14
  display: flex;
15
+ flex-direction: column;
16
+ justify-content: center;
17
  align-items: center;
18
  padding: 1rem;
19
  max-width: 1200px;
20
  margin: 0 auto;
21
+ gap: 0.5rem;
22
  }
23
  .logo {
24
  height: 8rem;
25
  width: auto;
26
+ }
27
+ .title {
28
  font-size: 1.25rem;
29
  font-weight: 600;
30
  color: #1F2937;
31
+ margin-top: 0.5rem;
32
  }
33
  @media (max-width: 768px) {
34
  .container {