From 56a16be5fb51d8f6a8b04e9e7094aa7c57fb8547 Mon Sep 17 00:00:00 2001 From: hellekin Date: Tue, 6 Oct 2020 04:26:25 +0200 Subject: First pass at something visible This is a first version of the application, to go beyond simple authentication. --- app/assets/stylesheets/application/_header.scss | 28 +++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 app/assets/stylesheets/application/_header.scss (limited to 'app/assets/stylesheets/application/_header.scss') diff --git a/app/assets/stylesheets/application/_header.scss b/app/assets/stylesheets/application/_header.scss new file mode 100644 index 0000000..d0fd5b8 --- /dev/null +++ b/app/assets/stylesheets/application/_header.scss @@ -0,0 +1,28 @@ +/* ----------------------------------------------------------------------------- + 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; + } + } +} -- cgit v1.2.3