From a9545c7fd324475710c2166514dcd4a62622f9e2 Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Mon, 30 Dec 2024 14:45:52 +0100 Subject: Updated Code of Honor. --- app/assets/stylesheets/components/code_of_honor.css | 4 ++-- app/views/home/_code_of_honor.html.erb | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'app') 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 @@

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é !

<% if session[:agreed_to_code_of_honor] %> <%= button_to "Renéguer", toggle_code_of_honor_path %> -- cgit v1.2.3