diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2014-01-28 22:51:35 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2014-01-28 22:51:35 +0100 |
commit | 40dfe8d0bba89e5912af957eeb0d05fbef930215 (patch) | |
tree | ba11c8a0f49a5c8080f1ed446dfd929c35c46b76 /app/assets/stylesheets/hmno_header.scss | |
parent | d1c9b7ce9f54d00a965b1b98b31915b498ef842b (diff) | |
download | hmnoweb-40dfe8d0bba89e5912af957eeb0d05fbef930215.tar.gz hmnoweb-40dfe8d0bba89e5912af957eeb0d05fbef930215.tar.bz2 hmnoweb-40dfe8d0bba89e5912af957eeb0d05fbef930215.zip |
Refactor stylesheets and do a major overhaul of the styling.
Diffstat (limited to 'app/assets/stylesheets/hmno_header.scss')
-rw-r--r-- | app/assets/stylesheets/hmno_header.scss | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/app/assets/stylesheets/hmno_header.scss b/app/assets/stylesheets/hmno_header.scss new file mode 100644 index 0000000..f35eea0 --- /dev/null +++ b/app/assets/stylesheets/hmno_header.scss @@ -0,0 +1,58 @@ +@import "color_scheme"; + +#header { + #logo { + background: { + color: $header-bg; + image: image_url("header-metal-bg.jpg"); + repeat: no-repeat; + } + border-bottom: 1px solid $fg; + } + + #menu { + position: relative; + text-align: center; + top: -2em; + + ul { + padding: 0; + + li { + list-style: none; + display: inline-block; + background-color: $menu-bg; + + padding: { + left: 1em; + right: 1em; + top: 0.3em; + bottom: 0.3em; + } + + &.selected { + background-color: $selected-menu-bg; + font-weight: 600; + + a { + color: $selected-menu-fg; + } + } + + &:hover { + background-color: $hover-menu-bg; + + a { + color: $hover-menu-fg; + } + } + + a { + text-decoration: none; + color: $menu-fg; + } + } + } + } +} + |