diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/stylesheets/components/code_of_honor.css | 4 | ||||
-rw-r--r-- | app/views/home/_code_of_honor.html.erb | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/app/assets/stylesheets/components/code_of_honor.css b/app/assets/stylesheets/components/code_of_honor.css index dbbd267..1314b9a 100644 --- a/app/assets/stylesheets/components/code_of_honor.css +++ b/app/assets/stylesheets/components/code_of_honor.css @@ -1,11 +1,11 @@ #code-of-honor { - width: 50%; + max-width: 60%; margin: 1em auto; padding: 1em; color: white; - border-radius: 1em; } + #code-of-honor.accepted { background-color: forestgreen; } #code-of-honor.rejected { background-color: firebrick; } diff --git a/app/views/home/_code_of_honor.html.erb b/app/views/home/_code_of_honor.html.erb index 517a73e..9d6a7ee 100644 --- a/app/views/home/_code_of_honor.html.erb +++ b/app/views/home/_code_of_honor.html.erb @@ -3,8 +3,7 @@ <p> Tout Tartifleur s'engage à voter dans le respect de la tradition de la WTT. Il ou elle se doit de voter en toute - honnêteté intellectuelle afin de favoriser un résultat mérité - ! + honnêteté afin de favoriser un résultat mérité ! </p> <% if session[:agreed_to_code_of_honor] %> <%= button_to "Renéguer", toggle_code_of_honor_path %> |