aboutsummaryrefslogtreecommitdiff
path: root/app/javascript/scss/components/_header.scss
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript/scss/components/_header.scss')
-rw-r--r--app/javascript/scss/components/_header.scss34
1 files changed, 34 insertions, 0 deletions
diff --git a/app/javascript/scss/components/_header.scss b/app/javascript/scss/components/_header.scss
new file mode 100644
index 0000000..3c7d460
--- /dev/null
+++ b/app/javascript/scss/components/_header.scss
@@ -0,0 +1,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;
+ }
+ }
+}