From 4bea2cda599524fedb5117b84155bc1cfd1084cb Mon Sep 17 00:00:00 2001 From: haidner1 <haidner@live.de> Date: Fri, 7 Oct 2022 09:13:40 +0200 Subject: [PATCH] =?UTF-8?q?Schriftgr=C3=B6=C3=9Fe=20der=20=C3=9Cberschrift?= =?UTF-8?q?en=20unterschiedlich,=20erste=20Zeile=20etwas=20kleiner,=20zwei?= =?UTF-8?q?te=20etwas=20gr=C3=B6=C3=9Fer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CardTermine.jsx | 3 ++- src/css/termine.css | 13 ++++++++++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/components/CardTermine.jsx b/src/components/CardTermine.jsx index 13d40f015..7ee40bc1b 100644 --- a/src/components/CardTermine.jsx +++ b/src/components/CardTermine.jsx @@ -16,7 +16,8 @@ export default function Card({title, icon, children}) { return <div className="p-6 bg-white rounded shadow-xl text-center"> {svgData && <img className="w-16 h-16 mb-2" src={svgData}/>} <br/> - <h4 className="text-xl font-bold leading-snug mb-1 text-center fitko-termine-heading" >FIT-Connect <br/> für {title}</h4> + <h4 className="text-xl font-bold leading-snug mb-1 text-center fitko-termine-heading-h4" >FIT-Connect</h4> + <h3 className="text-xl font-bold leading-snug mb-1 text-center fitko-termine-heading-h3" >für {title}</h3> {children} </div> } diff --git a/src/css/termine.css b/src/css/termine.css index 5875b63ad..e33581837 100644 --- a/src/css/termine.css +++ b/src/css/termine.css @@ -4,14 +4,21 @@ min-height: 500px; } - .fitko-termine-heading { + .fitko-termine-heading-h3 { text-align: center; - height: 80px; + height: 50px; + font-size: 1.40em; } + + .fitko-termine-heading-h4 { + text-align: center; + height: 30px; + } + .fitko-termine-before-button { text-align: center; - min-height: 140px; + min-height: 120px; } -- GitLab