remove css redundancy

This commit is contained in:
Adora Laura Kalb 2023-09-01 15:47:31 +02:00
parent 9cb9849d70
commit 90cdc0b262
Signed by: adoralaura
GPG key ID: 7A4552166FC8C056

View file

@ -41,7 +41,6 @@ a {
} }
body { body {
margin: 0;
padding: 0; padding: 0;
border: 0; border: 0;
vertical-align: baseline; vertical-align: baseline;
@ -54,44 +53,33 @@ body {
color: $body-font-color; color: $body-font-color;
} }
content h1 { content {
margin: 0;
h1,
h2,
h3 {
padding: 0; padding: 0;
border: 0; border: 0;
font-family: $heading-font-family; font-family: $heading-font-family;
font-weight: 400;
vertical-align: baseline;
line-height: 100%;
color: $heading-font-color;
}
h1 {
font-size: 1.6em; font-size: 1.6em;
vertical-align: baseline; margin: 2rem 0 1rem;
line-height: 100%;
margin-top: 2rem;
margin-bottom: 1rem;
color: $heading-font-color;
} }
content h2 { h2 {
margin: 0;
padding: 0;
border: 0;
font-size: 1.4em; font-size: 1.4em;
font-family: $heading-font-family; margin: 2rem 0 1rem;
vertical-align: baseline;
line-height: 100%;
margin-top: 2rem;
margin-bottom: 1rem;
color: $heading-font-color;
} }
content h3 { h3 {
margin: 0;
padding: 0;
border: 0;
font-family: $heading-font-family;
font-size: 1.2em; font-size: 1.2em;
vertical-align: baseline; margin: 2rem 0 0.2em;
line-height: 100%;
margin-top: 2rem;
margin-bottom: 1rem;
color: $heading-font-color;
} }
html { html {
@ -101,7 +89,6 @@ html {
vertical-align: baseline; vertical-align: baseline;
} }
content {
li { li {
margin: 0; margin: 0;
padding: 0; padding: 0;
@ -114,9 +101,8 @@ content {
font-style: italic; font-style: italic;
color: #c2f486; color: #c2f486;
} }
}
content p { p {
margin: 0; margin: 0;
padding: 0; padding: 0;
border: 0; border: 0;
@ -130,14 +116,14 @@ content p {
} }
} }
content span { span {
margin: 0; margin: 0;
padding: 0; padding: 0;
border: 0; border: 0;
vertical-align: baseline; vertical-align: baseline;
} }
content strong { strong {
margin: 0; margin: 0;
padding: 0; padding: 0;
border: 0; border: 0;
@ -146,14 +132,14 @@ content strong {
color: $heading-font-color; color: $heading-font-color;
} }
content u { u {
margin: 0; margin: 0;
padding: 0; padding: 0;
border: 0; border: 0;
vertical-align: baseline; vertical-align: baseline;
} }
content ul { ul {
margin: 0; margin: 0;
padding: 0; padding: 0;
border: 0; border: 0;
@ -170,20 +156,21 @@ content ul {
} }
} }
content code { code {
font: unset; font: unset;
font-family: $main-font-family; font-family: $main-font-family;
color: $code-font-color; color: $code-font-color;
} }
content .special { .special {
color: $special-font-color; color: $special-font-color;
font-style: normal; font-style: normal;
} }
content pre>code { pre>code {
font-family: monospace; font-family: monospace;
} }
}
a.disabled { a.disabled {
pointer-events: none; pointer-events: none;
@ -223,7 +210,6 @@ a.disabled {
.hero-text { .hero-text {
text-align: center !important; text-align: center !important;
font-weight: bold;
} }
.float-right, .float-right,
@ -293,7 +279,6 @@ nav {
a { a {
color: $special-font-color; color: $special-font-color;
font-weight: 800;
padding-left: 0; padding-left: 0;
} }
} }