aboutsummaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/application/_header.scss
blob: 3c7d460d6b1486765f4b7c435c64c36245bc8f35 (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
/*
 * SPDX-FileCopyrightText: 2020 IN COMMON Collective <collective@incommon.cc
 *
 * SPDX-License-Identifier: LAL-1.3
 */

/* -----------------------------------------------------------------------------
   HEADER
----------------------------------------------------------------------------- */

body > header {
    position: fixed;
    backface-visibility: hidden;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0 auto;
    height: 4em;
    background-color: var(--header-background);
    box-shadow: 0 2px 4px -1px rgba(0,0,0,0.25);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    z-index: 999;

    > h1 {
        display: flex;
        font-size: 1em;
        img {
            height: 2.667em;
        }
    }
}