Adjust font size on smaller screens

This commit is contained in:
Oliver Davies 2021-06-30 08:00:00 +01:00
parent 1a9bb2d72b
commit cf0294ea60
4 changed files with 8 additions and 8 deletions

View file

@ -1,7 +1,7 @@
{% extends 'app' %}
{% block body %}
<div class="font-sans text-lg font-light text-gray-900 dark:bg-gray-900 dark:text-white">
<div class="font-sans text-base font-light text-gray-900 md:text-lg dark:bg-gray-900 dark:text-white">
<a class="sr-only focus:not-sr-only" href="#main-content">Skip to main content</a>
{% include 'navbar' %}

View file

@ -2,7 +2,7 @@
{% block content_wrapper %}
<div>
<h1 class="text-2xl font-bold">{{ page.title }}</h1>
<h1 class="text-xl font-bold md:text-2xl">{{ page.title }}</h1>
{{ parent() }}
</div>