Compare commits
5 Commits
d8f4d9773c
...
9f1ae6f6b3
| Author | SHA1 | Date | |
|---|---|---|---|
| 9f1ae6f6b3 | |||
| b4c64cc8e5 | |||
| ab4fbfc418 | |||
| d01c1fded8 | |||
| 380101896a |
@ -10,7 +10,9 @@ section {
|
|||||||
|
|
||||||
/* config */
|
/* config */
|
||||||
:root {
|
:root {
|
||||||
--secondary: #c8ceda;
|
--primary: #f8f281;
|
||||||
|
--secondary: #bbd6ec;
|
||||||
|
--secondary-dark: #3f5d75;
|
||||||
--margin: 0.1; }
|
--margin: 0.1; }
|
||||||
|
|
||||||
/* basic layout */
|
/* basic layout */
|
||||||
@ -99,7 +101,7 @@ body {
|
|||||||
grid-template-areas: ". title title ." ". column1 column2 ."; } }
|
grid-template-areas: ". title title ." ". column1 column2 ."; } }
|
||||||
body .layout-two-columns .layout-title {
|
body .layout-two-columns .layout-title {
|
||||||
grid-area: title;
|
grid-area: title;
|
||||||
background: white; }
|
background: var(--secondary); }
|
||||||
body .layout-two-columns .layout-column-one {
|
body .layout-two-columns .layout-column-one {
|
||||||
grid-area: column1;
|
grid-area: column1;
|
||||||
background: white; }
|
background: white; }
|
||||||
@ -260,6 +262,9 @@ h1 {
|
|||||||
max-width: var(--square);
|
max-width: var(--square);
|
||||||
padding: 0 calc(var(--margin) * var(--square)) 0.5em; }
|
padding: 0 calc(var(--margin) * var(--square)) 0.5em; }
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
line-height: 1.2; }
|
||||||
|
|
||||||
h2[data-category]::before {
|
h2[data-category]::before {
|
||||||
content: attr(data-category);
|
content: attr(data-category);
|
||||||
font-size: .7em;
|
font-size: .7em;
|
||||||
@ -295,16 +300,17 @@ table {
|
|||||||
|
|
||||||
.box, blockquote {
|
.box, blockquote {
|
||||||
margin-left: calc(-1 * var(--margin) * var(--square));
|
margin-left: calc(-1 * var(--margin) * var(--square));
|
||||||
padding: 0.8em 0.1em 0.1em calc(var(--margin) * var(--square));
|
padding: 0.8em 0.1em 0.1em calc(var(--margin) * var(--square)); }
|
||||||
background: var(--secondary); }
|
|
||||||
|
|
||||||
.box.warning {
|
.box.warning {
|
||||||
background: #ffffaa; }
|
background: var(--primary); }
|
||||||
|
|
||||||
blockquote {
|
blockquote {
|
||||||
|
color: var(--secondary-dark);
|
||||||
text-indent: -.55em;
|
text-indent: -.55em;
|
||||||
padding-bottom: .8em; }
|
padding-bottom: .8em; }
|
||||||
blockquote::before {
|
blockquote::before {
|
||||||
content: '»'; }
|
content: '»';
|
||||||
|
color: var(--secondary-dark); }
|
||||||
blockquote cite::before {
|
blockquote cite::before {
|
||||||
content: ' – '; }
|
content: ' – '; }
|
||||||
|
|||||||
@ -10,7 +10,9 @@ section {
|
|||||||
|
|
||||||
/* config */
|
/* config */
|
||||||
:root {
|
:root {
|
||||||
--secondary: #c8ceda;
|
--primary: #f8f281;
|
||||||
|
--secondary: #bbd6ec;
|
||||||
|
--secondary-dark: #3f5d75;
|
||||||
--margin: 0.1;
|
--margin: 0.1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -145,7 +147,7 @@ body {
|
|||||||
|
|
||||||
.layout-title {
|
.layout-title {
|
||||||
grid-area: title;
|
grid-area: title;
|
||||||
background: white;
|
background: var(--secondary);
|
||||||
}
|
}
|
||||||
|
|
||||||
.layout-column-one {
|
.layout-column-one {
|
||||||
@ -338,6 +340,10 @@ h1 {
|
|||||||
padding: 0 calc(var(--margin) * var(--square)) .5em;
|
padding: 0 calc(var(--margin) * var(--square)) .5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
line-height: 1.2;
|
||||||
|
}
|
||||||
|
|
||||||
h2[data-category]::before {
|
h2[data-category]::before {
|
||||||
content: attr(data-category);
|
content: attr(data-category);
|
||||||
font-size: .7em;
|
font-size: .7em;
|
||||||
@ -382,19 +388,19 @@ table {
|
|||||||
.box, blockquote {
|
.box, blockquote {
|
||||||
margin-left: calc(-1 * var(--margin) * var(--square));
|
margin-left: calc(-1 * var(--margin) * var(--square));
|
||||||
padding: .8em .1em .1em calc(var(--margin) * var(--square));
|
padding: .8em .1em .1em calc(var(--margin) * var(--square));
|
||||||
background: var(--secondary);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.box.warning {
|
.box.warning {
|
||||||
background: #ffffaa;
|
background: var(--primary);
|
||||||
}
|
}
|
||||||
|
|
||||||
blockquote {
|
blockquote {
|
||||||
|
color: var(--secondary-dark);
|
||||||
text-indent: -.55em;
|
text-indent: -.55em;
|
||||||
padding-bottom: .8em;
|
padding-bottom: .8em;
|
||||||
&::before {
|
&::before {
|
||||||
content: '»';
|
content: '»';
|
||||||
}
|
color: var(--secondary-dark);
|
||||||
&::after {
|
|
||||||
// content: '«';
|
|
||||||
}
|
}
|
||||||
cite::before {
|
cite::before {
|
||||||
content: ' – '
|
content: ' – '
|
||||||
|
|||||||
@ -81,9 +81,9 @@
|
|||||||
<h2>Hervorhebungen: Schriftgröße</h2>
|
<h2>Hervorhebungen: Schriftgröße</h2>
|
||||||
<h3>Voreingestellte Schriftgrößen</h3>
|
<h3>Voreingestellte Schriftgrößen</h3>
|
||||||
<p>Syntax:</p>
|
<p>Syntax:</p>
|
||||||
<pre><code class="lang-tex hljs">{\fontsize ein Textabschnitt}</code></pre>
|
<pre class="lang-tex hljs"><code>{\fontsize ein Textabschnitt}</code></pre>
|
||||||
<p>Zur Auswahl: immer relativ zu normalsize</p>
|
<p>Zur Auswahl: immer relativ zu normalsize</p>
|
||||||
<pre><code class="lang-tex hljs">{\tiny Wenn}
|
<pre class="lang-tex hljs"><code>{\tiny Wenn}
|
||||||
{\footnotesize du}
|
{\footnotesize du}
|
||||||
{\small das}
|
{\small das}
|
||||||
{\normalsize lesen}
|
{\normalsize lesen}
|
||||||
@ -102,8 +102,9 @@
|
|||||||
<div class="layout-content-and-preview">
|
<div class="layout-content-and-preview">
|
||||||
<div class="layout-content">
|
<div class="layout-content">
|
||||||
<h2>Hervorhebungen: Schriftgröße</h2>
|
<h2>Hervorhebungen: Schriftgröße</h2>
|
||||||
<h3>Manuelle Konfiguration</h3>
|
<h3>Manuelle Konfiguration möglich</h3>
|
||||||
<pre class="lang-tex hljs"><code>\fontsize{<Größe in pt, cm, ...>}{<Zeilenhöhe>)\selectfont</code></pre>
|
<pre class="lang-tex hljs"><code>\fontsize{<Schriftgröße>}{<Zeilenhöhe>}
|
||||||
|
\selectfont</code></pre>
|
||||||
<p>Beispiel:</p>
|
<p>Beispiel:</p>
|
||||||
<pre class="lang-tex hljs"><code>Das ist Text in normaler Schriftgröße.
|
<pre class="lang-tex hljs"><code>Das ist Text in normaler Schriftgröße.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user