Refactor typography styles for improved readability and layout consistency
This commit is contained in:
parent
ba53804650
commit
421ecc1d2a
4 changed files with 98 additions and 37 deletions
|
|
@ -70,7 +70,7 @@ section {
|
|||
.gif-background {
|
||||
background-image: url('/images/BackgroundAnimation.svg');
|
||||
background-size: cover;
|
||||
background-position: center -220px;
|
||||
background-position: center 50%;
|
||||
background-repeat: no-repeat;
|
||||
position: relative;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,21 +1,44 @@
|
|||
.about{
|
||||
.block{
|
||||
h2 {
|
||||
padding-top: 30px;
|
||||
padding-bottom: 30px;
|
||||
margin:0;
|
||||
}
|
||||
h1 {
|
||||
font-size: clamp(2rem, 5vw, 3rem); // ~32px auf Desktop
|
||||
font-weight: 600;
|
||||
line-height: 1.3;
|
||||
margin-bottom: 1rem;
|
||||
color: #046e6e;
|
||||
}
|
||||
|
||||
h3 {
|
||||
padding-top: 30px;
|
||||
padding-bottom: 50px;
|
||||
margin:0;
|
||||
}
|
||||
h1.page-title {
|
||||
font-size: clamp(2.5rem, 6vw, 4rem);
|
||||
margin-top: 2rem;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
|
||||
p {
|
||||
padding-top: 20px;
|
||||
line-height:28px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: clamp(1.25rem, 2vw, 1.5rem); // Reaktionsfähig statt fix
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
line-height: 1.4;
|
||||
margin-bottom: 1rem;
|
||||
color: #222;
|
||||
}
|
||||
|
||||
|
||||
h3 {
|
||||
font-size: clamp(1.2rem, 1.8vw, 1.5rem);
|
||||
font-weight: normal;
|
||||
line-height: 1.6;
|
||||
margin-bottom: 1rem;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
p {
|
||||
font-style: normal;
|
||||
font-size: clamp(1.3rem, 1.5vw, 1.4rem);
|
||||
margin-bottom: 1.25rem;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue