theme dans tailwind config

This commit is contained in:
Valentin
2023-06-26 00:47:12 +02:00
parent 8422f39067
commit 1edd00252d
7 changed files with 52 additions and 29 deletions
+1 -2
View File
@@ -4,11 +4,10 @@
@layer base{
@font-face {
font-family: "Authentic_Sans_90";
font-family: "Authentic_Sans";
src: url("/assets/fonts/authentic-sans-90/AUTHENTICSans-90.woff") format("woff"),
url("/assets/fonts/authentic-sans-90/AUTHENTICSans-90.woff2") format("woff2"),
url("/assets/fonts/authentic-sans-90/AUTHENTICSans-90.otf") format("otf");
font-weight: 90;
font-style: normal;
}
+8 -8
View File
@@ -15,18 +15,18 @@
</style>
<div class="font-authentic">Ceci est du texte avec la police Authentic Sans 90</div>
<div class="font-authentic60">Ceci est du texte avec la police Authentic Sans 60</div>
<div class="font-authentic-60">Ceci est du texte avec la police Authentic Sans 60</div>
<div class="font-caslon">Ceci est du texte avec la police Caslon normal</div>
<div class="font-caslon italic">Ceci est du texte avec la police Caslon italique</div>
<table class="table-fixed">
<thead>
<tr class="border-slate-50 w-4/5 h-64 top-24 fixed flex items-stretch justify-around text-center">
<th class="bg-slate-900 w-1/5 flex items-end justify-start"></th>
<th class="bg-slate-900 w-1/5 flex items-end justify-start">Images</th>
<th class="bg-slate-900 w-1/5 flex items-end justify-start">Voix Off et In</th>
<th class="bg-slate-900 w-1/5 flex items-end justify-start">Bande Son</th>
<th class="bg-slate-900 w-1/5 flex items-end justify-start">Ecrits</th>
<tr class="border-jlg-white w-4/5 h-64 top-12 fixed flex items-stretch justify-around text-center text-lg uppercase">
<th class="bg-jlg-dark-blue w-1/5 flex items-end justify-start"></th>
<th class="bg-jlg-dark-blue w-1/5 flex items-end justify-start">Images</th>
<th class="bg-jlg-dark-blue w-1/5 flex items-end justify-start">Voix Off et In</th>
<th class="bg-jlg-dark-blue w-1/5 flex items-end justify-start">Bande Son</th>
<th class="bg-jlg-dark-blue w-1/5 flex items-end justify-start">Ecrits</th>
</tr>
</thead>
<tbody>
@@ -43,7 +43,7 @@
if ($query->have_posts()) :
while ($query->have_posts()) : $query->the_post();
?>
<tr class="border-slate-50">
<tr class="border-jlg-white font-authentic-60">
<td class="w-1/5 bg-red-400 pr-4 pt-1 pb-8 text-right">{{ get_post_meta(get_the_ID(), 'Minutage', true) }}</td>
<td class="w-1/5 py-8">{{ get_post_meta(get_the_ID(), 'Images', true) }}</td>
<td class="w-1/5 py-8">{{ get_post_meta(get_the_ID(), 'VoixOffIn', true) }}</td>
+1 -1
View File
@@ -4,7 +4,7 @@
@include('sections.header')
<main id="main" class="main bg-slate-900 w-4/5 z-0 mt-96 mt-1/12">
<main id="main" class="main bg-jlg-dark-blue w-4/5 z-0 mt-96 mt-1/12">
@yield('content')
</main>
+5 -3
View File
@@ -1,6 +1,8 @@
<header class="text-4xl py-8 shadow-lg fixed top-0 h-1/12 w-full bg-slate-900 flex flex-row justify-center items-center z-10">
<a class="brand" href="{{ home_url('/') }}">
{!! $siteName !!}
<header class="border-jlg-light-white py-8 shadow-xlg fixed top-0 h-1/12 w-full bg-jlg-dark-blue flex flex-row justify-center items-center z-10">
<a class="brand text-center text-xl" href="{{ home_url('/') }}">
<!-- {!! $siteName !!} -->
<span class="font-caslon uppercase">Partition<br></span>
<span class="font-caslon italic">Le Livre d'Image</span>
</a>
@if (has_nav_menu('primary_navigation'))