docmachine-containers/.marp/theme.scss

212 lines
3.8 KiB
SCSS
Raw Normal View History

2020-04-19 10:04:32 +00:00
/* @theme glenux */
@import-theme 'default';
$primaryColor: #662d91;
$secondaryColor: #241c1c;
$tertiaryColor: #111111;
$textColor: #111111;
2020-04-19 10:04:32 +00:00
body {
--primary-color: $primaryColor;
--secondary-color: $secondaryColor;
--text-color: $tertiaryColor;
}
2020-04-19 10:04:32 +00:00
section {
font-size: 24px;
justify-content: start;
padding: 120px 80px 80px 80px;
}
2020-04-19 10:04:32 +00:00
section footer {
opacity: 0.75;
color: $textColor; }
2020-04-19 10:04:32 +00:00
section::after {
opacity: 0.5;
color: $textColor; }
2020-04-19 10:04:32 +00:00
section[id="1"] h1,
section[id="1"] h2,
section[id="1"] h3,
section[id="1"] h4,
section[id="1"] h5,
section[id="1"] h6 {
/* color: white !important; */ }
section[id="1"]::after {
color: var(--text-color); }
section[id="1"] footer {
color: var(--text-color); }
section.chapter {
justify-content: center; }
section.chapter > bc-title:first-child,
section.chapter > h1:first-child,
section.chapter > h2:first-child,
section.chapter > h3:first-child,
section.chapter > h4:first-child,
section.chapter > h5:first-child,
section.chapter > h6:first-child {
position: relative;
top: -40px;
}
2020-04-19 10:04:32 +00:00
/*
section.chapter h1:first-child::before,
section.chapter h2:first-child::before,
section.chapter h3:first-child::before,
section.chapter h4:first-child::before,
section.chapter h5:first-child::before {
display: none;
}
*/
2021-11-30 12:33:29 +00:00
2022-04-29 14:49:47 +00:00
section > ul {
padding-left: 1em;
}
2021-11-30 12:33:29 +00:00
section > bc-title {
line-height: 39px;
font-size: 32px;
padding-bottom: 9.36px;
}
section > h1 {
color: var(--text-color);
}
2021-11-25 19:22:28 +00:00
section > bc-title:first-child,
2021-11-23 22:44:20 +00:00
section > h1:first-child,
section > h2:first-child,
section > h3:first-child,
section > h4:first-child,
section > h5:first-child,
section > h6:first-child {
2020-04-19 10:04:32 +00:00
font-family: "Droid Sans Mono", monospace;
color: $primaryColor;
2020-04-19 10:04:32 +00:00
font-weight: bold;
// position: relative;
// top: -40px;
position: absolute;
top: 50px;
2022-04-29 14:49:47 +00:00
}
2020-04-19 10:04:32 +00:00
2021-11-25 19:22:28 +00:00
section > bc-title:first-child::before,
2021-11-25 17:48:48 +00:00
section > h1:first-child::before,
section > h2:first-child::before,
section > h3:first-child::before {
2020-04-19 10:04:32 +00:00
content: "";
position: absolute;
display: block;
top: 0.2em;
left: -100px;
width: 70px;
height: 0.9em;
2021-11-25 17:48:48 +00:00
background-color: white;
}
2020-04-19 10:04:32 +00:00
2021-11-30 12:33:29 +00:00
section > bc-title:first-child::before,
section > h1:first-child::before,
section > h2:first-child::before,
section > h3:first-child::before,
section > h4:first-child::before,
section > h5:first-child::before,
section > h6:first-child::before
{
2020-04-19 10:04:32 +00:00
content: "";
position: absolute;
display: block;
top: 0.2em;
left: -100px;
width: 70px;
height: 0.9em;
background-color: $primaryColor;
}
2021-11-30 12:33:29 +00:00
2021-11-25 17:48:48 +00:00
section:not(.chapter) > h2:first-child {
font-size: 100%; }
2020-04-19 10:04:32 +00:00
a {
color: inherit;
text-decoration: underline; }
blockquote {
color: inherit; }
2021-11-23 22:44:20 +00:00
bc-row {
margin-top: 20px;
margin-bottom: auto;
/* outline: 1px solid red; */
/* padding: 10px; */
box-sizing: border-box;
display: flex;
}
bc-row[bc-height-full] {
flex: 1 1 0;
}
2021-11-23 22:44:20 +00:00
bc-row > bc-column {
/* outline: 1px solid red; */
margin-left: 100px;
flex-basis: 100%;
height: inherit;
flex: 1 1 0;
2021-11-23 22:44:20 +00:00
}
bc-row > bc-column[bc-text-small] {
font-size: 90%;
}
2021-11-23 22:44:20 +00:00
bc-row > bc-column[bc-width-large] {
flex: 2 1 0;
}
bc-row > bc-column[bc-primary] {
background-color: $primaryColor;
color: white;
padding: 24px;
}
bc-row > bc-column[bc-secondary] {
background-color: $secondaryColor;
color: white;
padding: 24px;
2021-11-23 22:44:20 +00:00
}
bc-row > bc-column[bc-grey] {
background-color: #eeeeee;
padding: 24px;
}
bc-row > bc-column[bc-invert] {
color: white;
background-color: $textColor;
padding: 24px;
}
2021-11-23 22:44:20 +00:00
bc-row > bc-column:first-of-type {
margin-left: 0px;
}
bc-row > bc-column > h1:first-child,
bc-row > bc-column > h2:first-child,
bc-row > bc-column > h3:first-child,
bc-row > bc-column > h4:first-child,
bc-row > bc-column > h5:first-child,
bc-row > bc-column > h6:first-child {
margin-top: 0;
}
p img:first-child:last-child[alt*="center"] {
display: block;
margin-left: auto;
margin-right: auto;
}