-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #146 from davidovich/pr/chrisreddington/115
Brings up to date pr/chrisreddington/115 and reveal-js 4.4.0
- Loading branch information
Showing
122 changed files
with
6,402 additions
and
13,924 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
node_modules | ||
public | ||
exampleSite/resources/_gen | ||
.hugo_build.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
static/reveal-js/css/theme/README.md → assets/reveal-js/dist/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
/** | ||
* Layout helpers. | ||
*/ | ||
|
||
// Stretch an element vertically based on available space | ||
.reveal .stretch, | ||
.reveal .r-stretch { | ||
max-width: none; | ||
max-height: none; | ||
} | ||
|
||
.reveal pre.stretch code, | ||
.reveal pre.r-stretch code { | ||
height: 100%; | ||
max-height: 100%; | ||
box-sizing: border-box; | ||
} | ||
|
||
// Text that auto-fits it's container | ||
.reveal .r-fit-text { | ||
display: inline-block; // https://github.com/rikschennink/fitty#performance | ||
white-space: nowrap; | ||
} | ||
|
||
// Stack multiple elements on top of each other | ||
.reveal .r-stack { | ||
display: grid; | ||
} | ||
|
||
.reveal .r-stack > * { | ||
grid-area: 1/1; | ||
margin: auto; | ||
} | ||
|
||
// Horizontal and vertical stacks | ||
.reveal .r-vstack, | ||
.reveal .r-hstack { | ||
display: flex; | ||
|
||
img, video { | ||
min-width: 0; | ||
min-height: 0; | ||
object-fit: contain; | ||
} | ||
} | ||
|
||
.reveal .r-vstack { | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
|
||
.reveal .r-hstack { | ||
flex-direction: row; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
|
||
// Naming based on tailwindcss | ||
.reveal .items-stretch { align-items: stretch; } | ||
.reveal .items-start { align-items: flex-start; } | ||
.reveal .items-center { align-items: center; } | ||
.reveal .items-end { align-items: flex-end; } | ||
|
||
.reveal .justify-between { justify-content: space-between; } | ||
.reveal .justify-around { justify-content: space-around; } | ||
.reveal .justify-start { justify-content: flex-start; } | ||
.reveal .justify-center { justify-content: center; } | ||
.reveal .justify-end { justify-content: flex-end; } |
Oops, something went wrong.