Browse files

Sidebar style changes

  • Loading branch information...
1 parent ea6379a commit e94a7ec1e6a26190c0ef732f97ef68a82ab60819 @LichP committed Apr 30, 2012
Showing with 29 additions and 6 deletions.
  1. +21 −0 lib/stewiki/server/public/style/main.css
  2. +8 −6 lib/stewiki/server/views/sidebar.haml
View
21 lib/stewiki/server/public/style/main.css
@@ -55,6 +55,27 @@ h2
margin: 10px;
}
+.sidebarbox
+{
+ border: 1px solid #202020;
+ padding: 4px;
+ margin-bottom: 1em;
+}
+
+.sidebarbox *:first-child {
+ margin-top: 0;
+}
+
+.sidebarbox *:last-child {
+ margin-bottom: 0;
+}
+
+.quicklinks ul
+{
+ margin-left: 0;
+ padding-left: 1.5em;
+}
+
.contentarea
{
margin-left: 200px;
View
14 lib/stewiki/server/views/sidebar.haml
@@ -1,8 +1,10 @@
.sidebar
- %h4 Quick Links
- .quicklinks
- = @quicklinks.render
- %a{:href => url("/edit/QuickLinks")} Edit
- %h4 Quick Note
- .quicknotes
+ .sidebarbox
+ %h4 Quick Links
+ .quicklinks
+ = @quicklinks.render
+ %a{:href => url("/edit/QuickLinks")} Edit
+ .sidebarbox
+ %h4 Quick Note
+ .quicknotes

0 comments on commit e94a7ec

Please sign in to comment.