recompile assets

This commit is contained in:
Hakim El Hattab
2021-05-27 09:46:32 +02:00
16 changed files with 439 additions and 425 deletions

71
dist/theme/night.css vendored
View File

@@ -33,6 +33,7 @@ section.has-light-background, section.has-light-background h1, section.has-light
--heading4-size: 1em;
--code-font: monospace;
--link-color: #e7ad52;
--link-color-dark: #d08a1d;
--link-color-hover: #f3d7ac;
--selection-background-color: #e7ad52;
--selection-color: #fff;
@@ -40,25 +41,25 @@ section.has-light-background, section.has-light-background h1, section.has-light
.reveal-viewport {
background: #111;
background-color: #111;
background-color: var(--background-color);
}
.reveal {
font-family: "Open Sans", sans-serif;
font-size: 40px;
font-family: var(--main-font);
font-size: var(--main-font-size);
font-weight: normal;
color: #eee;
color: var(--main-color);
}
.reveal ::selection {
color: #fff;
background: #e7ad52;
color: var(--selection-color);
background: var(--selection-background-color);
text-shadow: none;
}
.reveal ::-moz-selection {
color: #fff;
background: #e7ad52;
color: var(--selection-color);
background: var(--selection-background-color);
text-shadow: none;
}
@@ -77,42 +78,42 @@ section.has-light-background, section.has-light-background h1, section.has-light
.reveal h4,
.reveal h5,
.reveal h6 {
margin: 0 0 20px 0;
color: #eee;
font-family: "Montserrat", Impact, sans-serif;
font-weight: normal;
line-height: 1.2;
letter-spacing: -0.03em;
text-transform: none;
text-shadow: none;
margin: var(--heading-margin);
color: var(--heading-color);
font-family: var(--heading-font);
font-weight: var(--heading-font-weight);
line-height: var(--heading-line-height);
letter-spacing: var(--heading-letter-spacing);
text-transform: var(--heading-text-transform);
text-shadow: var(--heading-text-shadow);
word-wrap: break-word;
}
.reveal h1 {
font-size: 3.77em;
font-size: var(--heading1-size);
}
.reveal h2 {
font-size: 2.11em;
font-size: var(--heading2-size);
}
.reveal h3 {
font-size: 1.55em;
font-size: var(--heading3-size);
}
.reveal h4 {
font-size: 1em;
font-size: var(--heading4-size);
}
.reveal h1 {
text-shadow: none;
text-shadow: var(--heading1-text-shadow);
}
/*********************************************
* OTHER
*********************************************/
.reveal p {
margin: 20px 0;
margin: var(--block-margin) 0;
line-height: 1.3;
}
@@ -187,7 +188,7 @@ section.has-light-background, section.has-light-background h1, section.has-light
display: block;
position: relative;
width: 70%;
margin: 20px auto;
margin: var(--block-margin) auto;
padding: 5px;
font-style: italic;
background: rgba(255, 255, 255, 0.05);
@@ -207,17 +208,17 @@ section.has-light-background, section.has-light-background h1, section.has-light
display: block;
position: relative;
width: 90%;
margin: 20px auto;
margin: var(--block-margin) auto;
text-align: left;
font-size: 0.55em;
font-family: monospace;
font-family: var(--code-font);
line-height: 1.2em;
word-wrap: break-word;
box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
}
.reveal code {
font-family: monospace;
font-family: var(--code-font);
text-transform: none;
tab-size: 2;
}
@@ -292,34 +293,34 @@ section.has-light-background, section.has-light-background h1, section.has-light
}
.reveal img {
margin: 20px 0;
margin: var(--block-margin) 0;
}
/*********************************************
* LINKS
*********************************************/
.reveal a {
color: #e7ad52;
color: var(--link-color);
text-decoration: none;
transition: color 0.15s ease;
}
.reveal a:hover {
color: #f3d7ac;
color: var(--link-color-hover);
text-shadow: none;
border: none;
}
.reveal .roll span:after {
color: #fff;
background: #d08a1d;
background: var(--link-color-dark);
}
/*********************************************
* Frame helper
*********************************************/
.reveal .r-frame {
border: 4px solid #eee;
border: 4px solid var(--main-color);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}
@@ -328,7 +329,7 @@ section.has-light-background, section.has-light-background h1, section.has-light
}
.reveal a:hover .r-frame {
border-color: #e7ad52;
border-color: var(--link-color);
box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
}
@@ -336,7 +337,7 @@ section.has-light-background, section.has-light-background h1, section.has-light
* NAVIGATION CONTROLS
*********************************************/
.reveal .controls {
color: #e7ad52;
color: var(--link-color);
}
/*********************************************
@@ -344,7 +345,7 @@ section.has-light-background, section.has-light-background h1, section.has-light
*********************************************/
.reveal .progress {
background: rgba(0, 0, 0, 0.2);
color: #e7ad52;
color: var(--link-color);
}
/*********************************************
@@ -352,6 +353,6 @@ section.has-light-background, section.has-light-background h1, section.has-light
*********************************************/
@media print {
.backgrounds {
background-color: #111;
background-color: var(--background-color);
}
}