summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2024-12-30 14:45:52 +0100
committerMarius Peter <marius.peter@tutanota.com>2024-12-30 14:45:52 +0100
commita9545c7fd324475710c2166514dcd4a62622f9e2 (patch)
tree9f8f8da6e1cb51f4f5cab66feb0bf083875c814a /app
parent0a91cd6d94a5be2453848fbbac5b7d5f2f3d63e2 (diff)
Updated Code of Honor.
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/components/code_of_honor.css4
-rw-r--r--app/views/home/_code_of_honor.html.erb3
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 %>
Copyright 2019--2025 Marius PETER