panel : fix fonts
All checks were successful
Deploy / Deploy to Production (push) Successful in 20s

This commit is contained in:
isUnknown 2026-03-21 14:17:39 +01:00
parent eeb4cb4e3a
commit 347ccd33eb
3 changed files with 31 additions and 61 deletions

View file

@ -1,34 +1,34 @@
@font-face {
font-family: "Terminal Grotesque";
src: url("fonts/terminal-grotesque.ttf") format("truetype");
font-family: "Terminal";
src: url("../fonts/terminal-grotesque.ttf") format("truetype");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "Danzza";
src: url("fonts/Danzza-Light.woff") format("woff");
src: url("../fonts/Danzza-Light.woff") format("woff");
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: "Danzza";
src: url("fonts/Danzza-Regular.woff") format("woff");
src: url("../fonts/Danzza-Regular.woff") format("woff");
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: "Danzza";
src: url("fonts/Danzza-Medium.woff") format("woff");
src: url("../fonts/Danzza-Medium.woff") format("woff");
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: "Danzza";
src: url("fonts/Danzza-Bold.woff") format("woff");
src: url("../fonts/Danzza-Bold.woff") format("woff");
font-weight: 700;
font-style: normal;
}

View file

@ -13,7 +13,7 @@ tabs:
label: Contenu
icon: text
columns:
- width: 2/3
- width: 1/2
sections:
content:
type: fields
@ -54,37 +54,23 @@ tabs:
- heading
headings:
- 3
media:
label: Médias
icon: image
columns:
- width: 1/2
sections:
mediaFields:
type: fields
fields:
backgroundVideo:
label: Vidéo d'arrière-plan (sens normal)
type: files
layout: cards
max: 1
accept: video/*
translate: false
image:
ratio: 16/9
cover: true
uploads:
template: video
backgroundVideoReverse:
label: Vidéo d'arrière-plan (sens inverse)
type: files
layout: cards
max: 1
accept: video/*
translate: false
image:
ratio: 16/9
cover: true
uploads:
template: video
fields:
backgroundVideo:
label: Vidéo d'arrière-plan (sens normal)
type: files
max: 1
accept: video/*
translate: false
uploads:
template: video
width: 1/2
backgroundVideoReverse:
label: Vidéo d'arrière-plan (sens inverse)
type: files
max: 1
accept: video/*
translate: false
uploads:
template: video
width: 1/2

View file

@ -1,27 +1,11 @@
/* Styles pour les marks personnalisés dans le panel Kirby */
@font-face {
font-family: 'Terminal Grotesque';
src: url('/assets/css/fonts/terminal-grotesque.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Pixelify Sans';
src: url('/assets/css/fonts/PixelifySans-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
/* Mark Green - Couleur verte */
.k-writer span.green {
color: #04fea0;
color: #04fea0;
}
/* Mark Pixel - Typo serif (placeholder pour future typo pixel) */
.k-writer span.pixel {
font-family: 'Pixelify Sans', serif;
font-size: 1.15em;
}
font-family: "Terminal", serif;
font-size: 1.15em;
text-transform: uppercase;
}