From 9507e223b9e378456e264c4334dfc1972d668bb4 Mon Sep 17 00:00:00 2001 From: Marc Doerflinger Date: Mon, 8 Jul 2024 19:47:37 +0000 Subject: [PATCH 1/3] increase default font size (#105) --- app/views/layouts/application.html.erb | 2 +- app/views/layouts/application_wide.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 7c5c6b4a..ba0fcf1d 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -18,7 +18,7 @@ <%= render :partial => 'shared/navigation' %> -
+
<%= render :partial => 'shared/messages' %> <%= yield %>
diff --git a/app/views/layouts/application_wide.html.erb b/app/views/layouts/application_wide.html.erb index d780526c..b87da04f 100644 --- a/app/views/layouts/application_wide.html.erb +++ b/app/views/layouts/application_wide.html.erb @@ -17,7 +17,7 @@ <%= render :partial => 'shared/navigation' %> -
+
<%= render :partial => 'shared/messages' %> <%= yield %>
From bc0ce74c2b5b644376c5b00def6a02d61c5f3807 Mon Sep 17 00:00:00 2001 From: Marc Doerflinger Date: Mon, 8 Jul 2024 20:01:03 +0000 Subject: [PATCH 2/3] font size (#105) --- app/assets/stylesheets/custom.css | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/app/assets/stylesheets/custom.css b/app/assets/stylesheets/custom.css index fc3ddef9..457d8321 100644 --- a/app/assets/stylesheets/custom.css +++ b/app/assets/stylesheets/custom.css @@ -29,19 +29,25 @@ } .heading_1 { - @apply text-2xl pr-2 font-semibold border-solid border-amber-500 border-b-2; + @apply pr-2 font-semibold border-solid border-amber-500 border-b-2; + } + + h1 { + @apply prose md:prose-lg lg:prose-xl; } .heading_2 { - @apply pr-2 text-xl font-medium border-solid border-amber-200 border-b-2; + @apply pr-2 font-medium border-solid border-amber-200 border-b-2; .subheading { - @apply pl-2 text-base font-light italic; + @apply prose md:prose-lg lg:prose-xl; + @apply pl-2 font-light italic; } } .heading_3 { - @apply pr-2 text-base italic font-medium; + @apply prose md:prose-lg lg:prose-xl; + @apply pr-2 italic font-medium; } .nav_item_right { @@ -115,12 +121,13 @@ } label { - @apply pr-2 text-base italic font-medium; + @apply pr-2 italic font-medium; @apply border-solid border-amber-200 border-b-2; } [type='text'], [type='number'] { + @apply prose print:prose md:prose-lg lg:prose-xl; @apply py-1 w-full; @apply border-t-0 border-x-0 border-b-2; } From fc68d6df202309a184bad2c9d3131b8c5163104e Mon Sep 17 00:00:00 2001 From: Marc Doerflinger Date: Mon, 8 Jul 2024 20:50:13 +0000 Subject: [PATCH 3/3] change font size (#105) --- app/assets/stylesheets/custom.css | 10 +++++----- app/views/layouts/application.html.erb | 2 +- app/views/layouts/application_wide.html.erb | 2 +- app/views/shared/_navigation.html.erb | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/assets/stylesheets/custom.css b/app/assets/stylesheets/custom.css index 457d8321..9d138bec 100644 --- a/app/assets/stylesheets/custom.css +++ b/app/assets/stylesheets/custom.css @@ -17,7 +17,7 @@ } .prose_wide { - @apply prose; + @apply prose md:prose-lg; @apply max-w-full !important; } @@ -33,20 +33,20 @@ } h1 { - @apply prose md:prose-lg lg:prose-xl; + @apply prose md:prose-lg; } .heading_2 { @apply pr-2 font-medium border-solid border-amber-200 border-b-2; .subheading { - @apply prose md:prose-lg lg:prose-xl; + @apply prose md:prose-lg; @apply pl-2 font-light italic; } } .heading_3 { - @apply prose md:prose-lg lg:prose-xl; + @apply prose md:prose-lg; @apply pr-2 italic font-medium; } @@ -127,7 +127,7 @@ [type='text'], [type='number'] { - @apply prose print:prose md:prose-lg lg:prose-xl; + @apply prose print:prose md:prose-lg; @apply py-1 w-full; @apply border-t-0 border-x-0 border-b-2; } diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index ba0fcf1d..36df36eb 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -18,7 +18,7 @@ <%= render :partial => 'shared/navigation' %> -
+
<%= render :partial => 'shared/messages' %> <%= yield %>
diff --git a/app/views/layouts/application_wide.html.erb b/app/views/layouts/application_wide.html.erb index b87da04f..d780526c 100644 --- a/app/views/layouts/application_wide.html.erb +++ b/app/views/layouts/application_wide.html.erb @@ -17,7 +17,7 @@ <%= render :partial => 'shared/navigation' %> -
+
<%= render :partial => 'shared/messages' %> <%= yield %>
diff --git a/app/views/shared/_navigation.html.erb b/app/views/shared/_navigation.html.erb index 707eae89..0b431387 100644 --- a/app/views/shared/_navigation.html.erb +++ b/app/views/shared/_navigation.html.erb @@ -18,7 +18,7 @@ -
    +
      <% unless session[:userinfo].nil? %>