From 7a68ed9069322f2a5320b5626793ebdbd6d5d226 Mon Sep 17 00:00:00 2001 From: Guillaume DOTT Date: Sat, 13 Dec 2014 15:21:01 +0100 Subject: [PATCH] Improve style --- views/application.scss | 38 +++++++++++++++++++++++++------------- 1 file changed, 25 insertions(+), 13 deletions(-) diff --git a/views/application.scss b/views/application.scss index d3b4cb5..6098972 100644 --- a/views/application.scss +++ b/views/application.scss @@ -5,6 +5,10 @@ body { padding: 0; } +h1 { + margin: 10px 0; +} + ul { list-style-type: none; padding: 0; @@ -14,28 +18,36 @@ ul { margin: 5px 0; a { - background-color: #eee; - color: #000; - font-size: 1.2em; - border-radius: 3px; - padding: 15px 0; - text-decoration: none; - display: block; width: 100%; height: 100%; - - &:hover { - background-color: #ccc; - } + font-size: 1.2em; + padding: 15px 0; } } } +button, a { + border: none; + background-color: #eee; + color: #000; + border-radius: 3px; + text-decoration: none; + cursor: pointer; + + &:hover { + background-color: #ccc; + } +} + +button { + margin: 2px; +} + #main { - width: 500px; + max-width: 500px; margin: 0 auto; - padding: 20px; + padding: 0; text-align: center; }