diff options
author | Matt Jankowski <mjankowski@thoughtbot.com> | 2017-04-12 10:01:59 -0400 |
---|---|---|
committer | Eugen <eugen@zeonfederated.com> | 2017-04-12 16:01:59 +0200 |
commit | fd102059aa63a3953ccfedfe9efa0e6f7993f72a (patch) | |
tree | 9f6621573097439a1fa080dbc26a3ba8df029456 /app/assets/stylesheets/basics.scss | |
parent | 323671a653e22704f0d50be13d67bf6fe6ee3a2a (diff) |
Clean up stylesheet organization (#1591)
Diffstat (limited to 'app/assets/stylesheets/basics.scss')
-rw-r--r-- | app/assets/stylesheets/basics.scss | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/app/assets/stylesheets/basics.scss b/app/assets/stylesheets/basics.scss new file mode 100644 index 000000000..c8ff7f5d5 --- /dev/null +++ b/app/assets/stylesheets/basics.scss @@ -0,0 +1,58 @@ +body { + font-family: 'Roboto', sans-serif; + background: $color1 image-url('background-photo.jpeg'); + background-size: cover; + background-attachment: fixed; + font-size: 13px; + line-height: 18px; + font-weight: 400; + color: $color5; + padding-bottom: 140px; + text-rendering: optimizelegibility; + font-feature-settings: "kern"; + text-size-adjust: none; + + &.app-body { + position: fixed; + width: 100%; + height: 100%; + padding: 0; + background: $color1; + } + + &.embed { + background: transparent; + margin: 0; + + .container { + position: absolute; + width: 100%; + height: 100%; + overflow: hidden; + } + } + + &.admin { + background: darken($color1, 4%); + position: fixed; + width: 100%; + height: 100%; + padding: 0; + } + + @media screen and (max-width: 360px) { + padding-bottom: 0; + } +} + +button:focus { + outline: none; +} + +.app-holder { + display: flex; + width: 100%; + height: 100%; + align-items: center; + justify-content: center; +} |