about summary refs log tree commit diff
path: root/app/views/layouts
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-12-10 03:04:05 -0600
committermultiple creatures <dev@multiple-creature.party>2019-12-10 03:04:05 -0600
commit13f49590347dd350c534663c2876ab4db5613aba (patch)
tree7cb9f714d199e6a3bb3de3d5c04f943ec04dc54b /app/views/layouts
parent41b0d10e88e02810006657c27b8ea3576646d45e (diff)
add accessibility option to make everything lowercase
Diffstat (limited to 'app/views/layouts')
-rwxr-xr-xapp/views/layouts/application.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml
index 985e54683..a471d7b6f 100755
--- a/app/views/layouts/application.html.haml
+++ b/app/views/layouts/application.html.haml
@@ -87,6 +87,10 @@
         :css
           span.cursor:hover { animation: t_blink 1s linear infinite }
 
+    - if current_account&.user_forces_lowercase?
+      :css
+        * { text-transform: lowercase; font-variant: inherit !important; }
+
   %body{ class: body_classes }
     = content_for?(:content) ? yield(:content) : yield