Summary Files Commits Branches @commit @diff @stats
path: root / src / presentation.css
diff options
context:
space:
mode:
Commit389b68f2386eaf35550dee5e63e5d88860828f58 (patch)
Author
 Kamen Mladenov <kamen@syndamia.com>
2023-01-22 15:56:53 +0000
Committer
 Kamen Mladenov <kamen@syndamia.com>
2023-01-22 15:56:53 +0000
Files34b5bd6194c309184c5ab7b2549c11ac87392704 /src/presentation.css
syndamia.com-389b68f2386eaf35550dee5e63e5d88860828f58.tar
syndamia.com-389b68f2386eaf35550dee5e63e5d88860828f58.tar.gz
syndamia.com-389b68f2386eaf35550dee5e63e5d88860828f58.zip
Parent17407b5e8cbef35bcc1e0389e344107724813ebe (diff)
Parent6eb7a8fff01c6814253a0e738efb53734d297be9 (diff)
Merge branch 'talks/linuxgraphy-by-strabo' into 'master'
[talks/lbs] Updated slide text to not be so close to edge and doubled... See merge request Syndamia/syndamiadotcom!5
1 files changed, 35 insertions, 16 deletions
-rw-r--r--src/presentation.css51
diff --git a/src/presentation.css b/src/presentation.css
index 5e6e24a..5206c9f 100644
--- a/src/presentation.css
+++ b/src/presentation.css
@@ -19,8 +19,6 @@ h2, h3, h4, h5, h6 {
.slide {
box-sizing: border-box;
- display: flex;
- flex-direction: column;
height: 210mm;
padding: 1em;
width: 297mm; /* Size of landscape A4 paper */
@@ -29,37 +27,58 @@ h2, h3, h4, h5, h6 {
height: auto;
max-height: 100%;
max-width: 100%;
- width: auto;
+ /* width: auto; */
}
+ .slide > p:first-child, .slide > ul:first-child { margin-top: 0; }
.slide .svg { max-height: 1em !important; }
- .frow, .fcol { display: flex; flex-wrap: nowrap; }
- .frow, .fcol, .frow > *, .fcol > *, .slide > * {
- min-height: 0;
- min-width: 0;
- }
- .frow > *, .fcol > * { flex: 1; }
- .frow { flex-direction: row; }
- .frow > *:not(:last-child) { margin-right: 0.5em; }
- .fcol { flex-direction: column; }
- .fcol > *:not(:last-child) { margin-bottom: 0.5em; }
+ .clide { display: flex; flex-direction: column; }
+ .clide > * { flex: 1; }
.centered { text-align: center; }
.centered h1::after, .centered h2::after, .centered h3::after {
content: " \2550"
}
- .flexer { flex: 1; }
.fright { float: right; text-align: right; }
- .font35, .font30, .font27, .font20, .font18 {
- line-height: 1.5em;
+ .font35, .font30, .font27, .font25, .font20, .font18 {
+ line-height: 1.2em;
}
.font35 { font-size: 35px; }
.font30 { font-size: 30px; }
.font27 { font-size: 27px; }
+ .font25 { font-size: 25px; }
.font20 { font-size: 20px; }
.font18 { font-size: 18px; }
+ .layout-table {
+ margin: 0;
+ padding: 0;
+ display: table;
+ width: 100%;
+ }
+ .layout-table > .layout-row {
+ display: table-row;
+ }
+ .layout-row > * {
+ display: table-cell;
+ border: none;
+ padding: 0;
+ vertical-align: middle;
+ }
+ .fixed-layout { table-layout: fixed; }
+
+ .lineb1 { padding: 0.5em; }
+ .lineb2 { padding: 1.0em; }
+ .lineb3 { padding: 1.5em; }
+ .lineb4 { padding: 2.0em; }
+ .lineb5 { padding: 2.5em; }
+ .lineb6 { padding: 3.0em; }
+ .lineb7 { padding: 3.5em; }
+ .lineb8 { padding: 4.0em; }
+ .lineb9 { padding: 4.5em; }
+
+
/* Presenting mode */
.absolute-slide {