Font sizes on mobile

This commit is contained in:
Oliver Davies 2018-07-23 07:14:56 +01:00
parent a2cd411286
commit 0b310102dc

View file

@ -6,36 +6,39 @@
<link href="/build/css/app.css" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
</head>
<body class="text-black bg-grey-lightest font-sans">
<div class="bg-grey-darkest text-white antialiased block pt-4 pb-10">
<body class="text-black bg-grey-lightest font-sans text-sm sm:text-base">
<div id="root">
<div class="bg-grey-darkest text-white antialiased block pt-4 pb-10">
<div class="container mx-auto px-4">
<div class="text-center text-4xl">
<img src="/assets/images/logo.png" alt="" class="w-16 sm:w-24 mb-3 sm:mb-4">
<p class="uppercase font-bold tracking-wide mb-2 text-2xl sm:text-4xl">Chris Rees Academy</p>
<p class="uppercase font-bold tracking-wide text-3xl sm:text-5xl">Cardiff</p>
</div>
</div>
</div>
<div class="bg-red text-white">
<div class="container mx-auto">
<nav class="sm:flex sm:justify-center text-center">
<a href="/" class="md:text-lg block sm:inline-block w-full sm:w-auto text-white hover:text-green no-underline hover:underline px-8 py-5 {{ page.url == '//' ? 'text-green' }}">Coaches</a>
<a href="/schedule" class="md:text-lg block sm:inline-block w-full sm:w-auto text-white hover:text-green no-underline hover:underline px-8 py-5 {{ page.url == '/schedule' ? 'text-green' }}">Schedule</a>
<a href="/membership" class="md:text-lg block sm:inline-block w-full sm:w-auto text-white hover:text-green no-underline hover:underline px-8 py-5 {{ page.url == '/membership' ? 'text-green' }}">Membership</a>
<a href="/contact" class="md:text-lg block sm:inline-block w-full sm:w-auto text-white hover:text-green no-underline hover:underline px-8 py-5 {{ page.url == '/contact' ? 'text-green' }}">Contact</a>
</nav>
</div>
</div>
<div class="container mx-auto px-4">
<div class="text-center text-4xl">
<img src="/assets/images/logo.png" alt="" class="w-24 mb-4">
<p class="uppercase font-bold tracking-wide mb-2">Chris Rees Academy</p>
<p class="uppercase font-bold tracking-wide text-5xl">Cardiff</p>
<div class="leading-normal pt-8 sm:pt-16 pb-16 sm:pb-24">
<h1 class="uppercase text-red text-center mb-6 sm:mb-12 text-bold tracking-wide">
{{ page.title }}
</h1>
{% block content %}{% endblock %}
</div>
</div>
</div>
<div class="bg-red text-white">
<div class="container mx-auto">
<nav class="sm:flex sm:justify-center text-center">
<a href="/" class="md:text-lg block sm:inline-block w-full sm:w-auto text-white hover:text-green no-underline hover:underline px-8 py-5 {{ page.url == '//' ? 'text-green' }}">Coaches</a>
<a href="/schedule" class="md:text-lg block sm:inline-block w-full sm:w-auto text-white hover:text-green no-underline hover:underline px-8 py-5 {{ page.url == '/schedule' ? 'text-green' }}">Schedule</a>
<a href="/membership" class="md:text-lg block sm:inline-block w-full sm:w-auto text-white hover:text-green no-underline hover:underline px-8 py-5 {{ page.url == '/membership' ? 'text-green' }}">Membership</a>
<a href="/contact" class="md:text-lg block sm:inline-block w-full sm:w-auto text-white hover:text-green no-underline hover:underline px-8 py-5 {{ page.url == '/contact' ? 'text-green' }}">Contact</a>
</nav>
</div>
</div>
<div class="container mx-auto px-4">
<div class="leading-normal pt-16 pb-24">
<h1 class="uppercase text-red text-center mb-12 text-bold tracking-wide">
{{ page.title }}
</h1>
{% block content %}{% endblock %}
</div>
</div>
<script src="/build/js/all.js"></script>
</body>
</html>