From 2564ea1aa6df8698b660166b6c997f85ba5eddfe Mon Sep 17 00:00:00 2001 From: jomo Date: Mon, 16 Jun 2014 00:48:45 +0200 Subject: [PATCH] style for info index --- app/assets/stylesheets/style.css.scss | 15 +++++++++++++++ app/views/info/index.html.erb | 6 +++--- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/style.css.scss b/app/assets/stylesheets/style.css.scss index 0d8d20f..3dfd0d8 100644 --- a/app/assets/stylesheets/style.css.scss +++ b/app/assets/stylesheets/style.css.scss @@ -269,6 +269,21 @@ span.no-about { } } +.info { + margin-top: 2em; + + a { + border-bottom: 1px solid #ddd; + display: block; + padding: 1em; + + &:hover { + background: #3f3f3f; + color: #fff + } + } +} + pre { border-radius: 2px; position: relative; diff --git a/app/views/info/index.html.erb b/app/views/info/index.html.erb index 931b015..e1738d2 100644 --- a/app/views/info/index.html.erb +++ b/app/views/info/index.html.erb @@ -4,8 +4,8 @@ <% if mod? %> <%= link_to "New Info", new_info_path, class: "btn blue" %> <% end %> - \ No newline at end of file + \ No newline at end of file