Files
2022_WEBSITE_kosmopolit/styles/text.css
2021-03-05 11:07:35 +01:00

104 lines
1.5 KiB
CSS

/*---------------------------------------------*/
/*TEXTS*/
/*fonts*/
h1, h2, h3, h4, h5, h6 {
font-family: var(--font-titles), var(--font-fallback), sans-serif;
}
a, p, li {
font-family: var(--font-texts), var(--font-fallback), sans-serif;
}
/*colors*/
a, a:link {
color: var(--color-link);
}
a:visited {
color: var(--color-link-visited);
}
a:hover {
color: var(--color-link-hover);
}
a:active {
color: var(--color-link-active);
}
p, span {
color: var(--color-text);
}
/*sizes*/
aside {
font-size: .8rem;
}
main {
font-size: 1rem;
}
p {
font-size: 1.8em;
line-height: 1.5em;
}
h1 {
font-size: 3.5em;
line-height: 1.5em;
}
h2 {
font-size: 2em;
line-height: 1.5em;
}
h3 {
font-size: 1.8em;
line-height: 1.5em;
}
small {
font-size: 0.8em;
line-height: 1.2em;
}
/*specials settings*/
body p, body p *, body h1, body h1 *, body h2, body h2 * {
display: inline;
}
a, a > * {
cursor: pointer;
}
li *, li p, b, em, i, a, var, span {
display: inline;
}
i {
font-style: italic;
}
b, em {
font-weight: 600;
}
/*class*/
/*quote*/
.quote {
max-width: 450px;
margin-right: 0px;
margin-left: auto;
text-align: right;
}
.quote p {
color: var(--color-text-light);
}
.quote_credit {
font-size: 1.8em;
margin-top: var(--gap-unit);
}
.quote_credit p {
font-size: 0.8em;
line-height: 1em;
}
/*
<b> - Bold text
<strong> - Important text
<i> - Italic text
<em> - Emphasized text
<mark> - Marked text
<small> - Smaller text
<del> - Deleted text
<ins> - Inserted text
<sub> - Subscript text
<sup> - Superscript tex
<code> - Computer code
*/