aboutsummaryrefslogtreecommitdiffstats
path: root/app/assets
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2013-10-20 22:32:19 +0200
committerHarald Eilertsen <haraldei@anduin.net>2013-10-20 22:32:19 +0200
commit2652e9bb2dcc8a0eaf2e314a6107c52d8b3b6469 (patch)
tree6bc8d0adb0ef88d11ab9a724b8c612dc6a96b80e /app/assets
parent05db001fe9211d66d2ee02484635af478a308ccc (diff)
downloadhmnoweb-2652e9bb2dcc8a0eaf2e314a6107c52d8b3b6469.tar.gz
hmnoweb-2652e9bb2dcc8a0eaf2e314a6107c52d8b3b6469.tar.bz2
hmnoweb-2652e9bb2dcc8a0eaf2e314a6107c52d8b3b6469.zip
Basic simple styling.
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/images/logo.pngbin0 -> 6998 bytes
-rw-r--r--app/assets/stylesheets/hmno_main.scss90
2 files changed, 90 insertions, 0 deletions
diff --git a/app/assets/images/logo.png b/app/assets/images/logo.png
new file mode 100644
index 0000000..001e257
--- /dev/null
+++ b/app/assets/images/logo.png
Binary files differ
diff --git a/app/assets/stylesheets/hmno_main.scss b/app/assets/stylesheets/hmno_main.scss
new file mode 100644
index 0000000..006de53
--- /dev/null
+++ b/app/assets/stylesheets/hmno_main.scss
@@ -0,0 +1,90 @@
+body {
+ background-color: black;
+ color: lightgray;
+ font: {
+ family: Helvetica, "Sans Seriff";
+ size: 10pt;
+ }
+}
+
+h1, h2, h3 {
+ color: green;
+}
+
+#menu {
+ text-align: center;
+
+ ul {
+ padding: 0;
+
+ li {
+ list-style: none;
+ display: inline-block;
+ background-color: darkgreen;
+
+ padding: {
+ left: 1em;
+ right: 1em;
+ top: 0.3em;
+ bottom: 0.3em;
+ }
+
+ &.selected {
+ background-color: green;
+ font-weight: 600;
+ }
+
+ &:hover {
+ background-color: green;
+ }
+
+ a {
+ text-decoration: none;
+ color: white;
+ }
+ }
+ }
+}
+
+#page_container {
+ margin: {
+ left: 5em;
+ right: 5em;
+ }
+
+ #page {
+ position: relative;
+
+ #left_sidebar, #right_sidebar {
+ position: absolute;
+ width: 10em;
+ top: 0;
+ border: 1px dotted lightgray;
+ padding: 5px;
+ height: 100%;
+ }
+
+ #right_sidebar {
+ right: 0;
+ }
+
+ #body_content {
+ margin: {
+ left: 11em;
+ right: 11em;
+ }
+ padding: {
+ left: 0.5em;
+ right: 0.5em;
+ }
+ }
+ }
+}
+
+#left_img {
+ float: left;
+}
+
+#right_img {
+ float: right;
+}