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-face {
font-family: "Terminal Grotesque"; font-family: "Terminal";
src: url("fonts/terminal-grotesque.ttf") format("truetype"); src: url("../fonts/terminal-grotesque.ttf") format("truetype");
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
} }
@font-face { @font-face {
font-family: "Danzza"; font-family: "Danzza";
src: url("fonts/Danzza-Light.woff") format("woff"); src: url("../fonts/Danzza-Light.woff") format("woff");
font-weight: 300; font-weight: 300;
font-style: normal; font-style: normal;
} }
@font-face { @font-face {
font-family: "Danzza"; font-family: "Danzza";
src: url("fonts/Danzza-Regular.woff") format("woff"); src: url("../fonts/Danzza-Regular.woff") format("woff");
font-weight: 400; font-weight: 400;
font-style: normal; font-style: normal;
} }
@font-face { @font-face {
font-family: "Danzza"; font-family: "Danzza";
src: url("fonts/Danzza-Medium.woff") format("woff"); src: url("../fonts/Danzza-Medium.woff") format("woff");
font-weight: 500; font-weight: 500;
font-style: normal; font-style: normal;
} }
@font-face { @font-face {
font-family: "Danzza"; font-family: "Danzza";
src: url("fonts/Danzza-Bold.woff") format("woff"); src: url("../fonts/Danzza-Bold.woff") format("woff");
font-weight: 700; font-weight: 700;
font-style: normal; font-style: normal;
} }

View file

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

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 */ /* Mark Green - Couleur verte */
.k-writer span.green { .k-writer span.green {
color: #04fea0; color: #04fea0;
} }
/* Mark Pixel - Typo serif (placeholder pour future typo pixel) */ /* Mark Pixel - Typo serif (placeholder pour future typo pixel) */
.k-writer span.pixel { .k-writer span.pixel {
font-family: 'Pixelify Sans', serif; font-family: "Terminal", serif;
font-size: 1.15em; font-size: 1.15em;
} text-transform: uppercase;
}