mirror of
https://github.com/DirectoryLister/DirectoryLister.git
synced 2025-09-03 02:42:34 +02:00
Set app default font to serif and removed unnecessary font-serif classes
This commit is contained in:
@@ -12,5 +12,6 @@ $fa-font-path: "./webfonts";
|
||||
// Fonts
|
||||
@import url("https://fonts.googleapis.com/css?family=Source+Code+Pro|Work+Sans:200,400&display=swap");
|
||||
|
||||
// Additional Styles
|
||||
@import "markdown.scss";
|
||||
@import "dark-mode.scss";
|
||||
|
@@ -1,5 +1,4 @@
|
||||
.markdown {
|
||||
@apply font-sans;
|
||||
@apply break-words;
|
||||
|
||||
a {
|
||||
|
@@ -4,7 +4,7 @@
|
||||
{% include 'components/header.twig' %}
|
||||
|
||||
<div id="content" class="flex-grow container flex justify-center items-center mx-auto px-4">
|
||||
<p class="font-sans font-light text-4xl text-gray-600">
|
||||
<p class="font-thin text-4xl text-gray-600">
|
||||
404 • Not Found
|
||||
</p>
|
||||
</div>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<footer class="container border-t-2 border-gray-800 text-center mx-auto px-4 py-8">
|
||||
<div class="flex flex-col justify-center items-center">
|
||||
<p class="font-sans mb-4">
|
||||
<p class="mb-4">
|
||||
Powered by <a href="https://www.directorylister.com" class="underline hover:text-blue-700">Directory Lister</a>
|
||||
</p>
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
|
||||
<form action="." method="get" id="search" class="group relative block w-full bg-blue-700 rounded-full shadow-inner md:w-4/12 md:-my-2">
|
||||
<input type="text" name="search" placeholder="Search this directory..." value="{{ search }}"
|
||||
class="bg-transparent font-sans placeholder-gray-900 text-white w-full px-10 py-2"
|
||||
class="bg-transparent placeholder-gray-900 text-white w-full px-10 py-2"
|
||||
v-model="search"
|
||||
>
|
||||
|
||||
|
@@ -9,6 +9,6 @@
|
||||
|
||||
<title>{{ path | default('Home') }} • Directory Lister</title>
|
||||
|
||||
<div id="app" class="flex flex-col min-h-screen {{ config('dark_mode') ? 'dark-mode' : 'light-mode' }}">
|
||||
<div id="app" class="flex flex-col min-h-screen font-sans {{ config('dark_mode') ? 'dark-mode' : 'light-mode' }}">
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user