aboutsummaryrefslogtreecommitdiffstats
path: root/components/Header/SiteHeader.vue
blob: f51e970cd320c9b8d849b1d55ba4e192ad92b80c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<template>
  <header>
    <div id="nav">
      <img src="@/assets/quests-logo.png" alt="Quests logo" />
        <h1>Quests Web Editor</h1>
        <code>Preview</code>
    </div>
  </header> 
</template>

<style lang="scss" scoped>

#nav {
  padding: 1rem 1rem 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-height: 72px;
  gap: 1rem;

  img {
    max-width: 3rem;
    height: auto;
  }
  
  h1 {
    font-size: 1.5rem;
    margin: -5px 0 0 0;
    font-weight: 700;
  }
  
  code {
    font-size: 0.8rem;
    color: var(--color-text-mute);
  }
  
}

header {
  border-bottom: 1px solid var(--color-border);
}

</style>