171 lines
No EOL
3.8 KiB
CSS
171 lines
No EOL
3.8 KiB
CSS
/* @theme sermon
|
|
author: simonpipe (codeberg.org/simonpipe/)
|
|
License: MIT
|
|
|
|
This theme is a derivative work based on:
|
|
"Gradient Theme" by rnd195 (https://github.com/rnd195/my-marp-themes)
|
|
Original License: MIT (https://github.com/rnd195/my-marp-themes/blob/live/licenses/LICENSE)
|
|
*/
|
|
|
|
@import "default";
|
|
@import url("https://fonts.googleapis.com/css2?family=Ubuntu+Mono:ital,wght@0,400;0,700;1,400;1,700&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");
|
|
|
|
:root {
|
|
--colorh1: #265770;
|
|
--colorh2: #265770;
|
|
--colorh3: #265770;
|
|
--colorh4: #265770;
|
|
--colorh5: #265770;
|
|
--colorh6: #265770;
|
|
--colortext: #393552;
|
|
--colorleadh2: #265770;
|
|
--colorleadtext: #333;
|
|
--colorleadborder: #333;
|
|
--colorbottombar: #354652;
|
|
--colorcite: #2d5f83;
|
|
--colormark: #ffffa590;
|
|
--colorprecode: #ffffff80;
|
|
--colorblockquote: #000;
|
|
--colorbg: #ffffff;
|
|
--gradient-start: #FFF;
|
|
--gradient-end: #C4E7FF;
|
|
--gradient-direction: to bottom left ;
|
|
|
|
font-family: 'Ubuntu', sans-serif;
|
|
}
|
|
|
|
|
|
/* --- BACKGROUND --- */
|
|
section {
|
|
background-color: var(--colorbg);
|
|
background-image: linear-gradient(var(--gradient-direction), var(--gradient-start) 5%, var(--gradient-end) 95%);
|
|
font-size: 35px; /* Basisschriftgröße für die gesamte Folie */
|
|
line-height: 1.4; /* Zeilenabstand für die gesamte Folie */
|
|
}
|
|
|
|
|
|
/* --- TITLES --- */
|
|
h1 {
|
|
color: var(--colorh1);
|
|
},
|
|
h2 {
|
|
color: var(--colorh2);
|
|
},
|
|
h3 {
|
|
color: var(--colorh3);
|
|
},
|
|
h4 {
|
|
color: var(--colorh4);
|
|
},
|
|
h5 {
|
|
color: var(--colorh5);
|
|
},
|
|
h6 {
|
|
color: var(--colorh6);
|
|
}
|
|
|
|
|
|
/* --- TEXT CHANGES --- */
|
|
a {
|
|
color: var(--colortext);
|
|
}
|
|
|
|
code,
|
|
pre,
|
|
pre code {
|
|
font-family: 'Ubuntu Mono', monospace !important;
|
|
background-color: var(--colorprecode);
|
|
}
|
|
|
|
mark {
|
|
background-color: var(--colormark);
|
|
padding: 0 4px; /* Etwas mehr Luft an den Seiten sieht meist besser aus */
|
|
border-radius: 3px;
|
|
}
|
|
|
|
blockquote {
|
|
border-left: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
font-size: 1em;
|
|
line-height: 1.5;
|
|
color: var(--colorblockquote);
|
|
}
|
|
|
|
blockquote cite {
|
|
display: block;
|
|
text-align: right;
|
|
color: var(--colorcite);
|
|
font-style: normal;
|
|
font-size: 0.9em;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
|
|
/* --- BOTTOM BAR --- */
|
|
section::after {
|
|
font-size: 0.75em;
|
|
/* From github.com/yhatt/marp/issues/263 */
|
|
content: attr(data-marpit-pagination);
|
|
color: var(--colorbottombar);
|
|
opacity: 0.6;
|
|
}
|
|
|
|
|
|
/* --- CUSTOM CLASSES AND KEYWORDS --- */
|
|
/* <!-- _class: lead --> */
|
|
section.lead {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
text-align: center;
|
|
}
|
|
|
|
section.lead h1 {
|
|
font-size: 2em;
|
|
|
|
/* Die Linie */
|
|
border-bottom: 3px solid var(--colorleadborder); /* Linie */
|
|
padding-top: 0.8em; /* Abstand zwischen Linie und Text */
|
|
margin-top: 0.5em; /* Abstand zwischen H1 und Linie */
|
|
|
|
/* Damit die Linie nicht über die ganze Breite geht */
|
|
display: inline-block; /* Richtet sich nach der Textbreite aus */
|
|
align-self: center; /* Zentriert das h2-Element im Flex-Container */
|
|
min-width: 300px; /* Verhindert, dass die Linie bei kurzem Text zu mickrig wird */
|
|
}
|
|
|
|
section.lead h2 {
|
|
font-size: 1.6em;
|
|
color: var(--colorleadh2);
|
|
}
|
|
|
|
section.lead p {
|
|
font-size: 1.3em;
|
|
color: var(--colorleadtext);
|
|
}
|
|
|
|
|
|
/* <!-- _class: tinytext --> */
|
|
/* Makes p, and ul text smaller to fit more text on a slide */
|
|
section.tinytext > p,
|
|
section.tinytext > ul {
|
|
font-size: 0.8em;
|
|
}
|
|
|
|
/* <!-- _class: tinyquote --> */
|
|
/* Makes blockquote text smaller to fit more text on a slide */
|
|
section.tinyquote > blockquote {
|
|
font-size: 0.9em;
|
|
}
|
|
section.tinyquote > blockquote cite {
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
|
|
/* img keyword "center" */
|
|
/* Centers an image, from github.com/marp-team/marpit/issues/141#issuecomment-473204518 */
|
|
img[alt~="center"] {
|
|
display: block;
|
|
margin: 0 auto;
|
|
} |