Compare commits
No commits in common. "9f1ae6f6b37dbdf259bc1bc90ef9b8eac9603cd3" and "d8f4d9773c36f7ae7de0e351c6adc87f87ccff85" have entirely different histories.
9f1ae6f6b3
...
d8f4d9773c
@ -10,9 +10,7 @@ section {
|
|||||||
|
|
||||||
/* config */
|
/* config */
|
||||||
:root {
|
:root {
|
||||||
--primary: #f8f281;
|
--secondary: #c8ceda;
|
||||||
--secondary: #bbd6ec;
|
|
||||||
--secondary-dark: #3f5d75;
|
|
||||||
--margin: 0.1; }
|
--margin: 0.1; }
|
||||||
|
|
||||||
/* basic layout */
|
/* basic layout */
|
||||||
@ -101,7 +99,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: var(--secondary); }
|
background: white; }
|
||||||
body .layout-two-columns .layout-column-one {
|
body .layout-two-columns .layout-column-one {
|
||||||
grid-area: column1;
|
grid-area: column1;
|
||||||
background: white; }
|
background: white; }
|
||||||
@ -262,9 +260,6 @@ 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;
|
||||||
@ -300,17 +295,16 @@ 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: var(--primary); }
|
background: #ffffaa; }
|
||||||
|
|
||||||
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,9 +10,7 @@ section {
|
|||||||
|
|
||||||
/* config */
|
/* config */
|
||||||
:root {
|
:root {
|
||||||
--primary: #f8f281;
|
--secondary: #c8ceda;
|
||||||
--secondary: #bbd6ec;
|
|
||||||
--secondary-dark: #3f5d75;
|
|
||||||
--margin: 0.1;
|
--margin: 0.1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -147,7 +145,7 @@ body {
|
|||||||
|
|
||||||
.layout-title {
|
.layout-title {
|
||||||
grid-area: title;
|
grid-area: title;
|
||||||
background: var(--secondary);
|
background: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
.layout-column-one {
|
.layout-column-one {
|
||||||
@ -340,10 +338,6 @@ 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;
|
||||||
@ -388,19 +382,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: var(--primary);
|
background: #ffffaa;
|
||||||
}
|
}
|
||||||
|
|
||||||
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 class="lang-tex hljs"><code>{\fontsize ein Textabschnitt}</code></pre>
|
<pre><code class="lang-tex hljs">{\fontsize ein Textabschnitt}</code></pre>
|
||||||
<p>Zur Auswahl: immer relativ zu normalsize</p>
|
<p>Zur Auswahl: immer relativ zu normalsize</p>
|
||||||
<pre class="lang-tex hljs"><code>{\tiny Wenn}
|
<pre><code class="lang-tex hljs">{\tiny Wenn}
|
||||||
{\footnotesize du}
|
{\footnotesize du}
|
||||||
{\small das}
|
{\small das}
|
||||||
{\normalsize lesen}
|
{\normalsize lesen}
|
||||||
@ -102,9 +102,8 @@
|
|||||||
<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 möglich</h3>
|
<h3>Manuelle Konfiguration</h3>
|
||||||
<pre class="lang-tex hljs"><code>\fontsize{<Schriftgröße>}{<Zeilenhöhe>}
|
<pre class="lang-tex hljs"><code>\fontsize{<Größe in pt, cm, ...>}{<Zeilenhöhe>)\selectfont</code></pre>
|
||||||
\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