Skip to content

Commit aae7704

Browse files
authored
Merge pull request #24 from robertodr/feature_splits
More slides splits and image overlays
2 parents d5e2803 + 9877cc0 commit aae7704

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

cicero/static/css/cicero.css

+25
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,21 @@ code {
105105
padding-top: 1em;
106106
}
107107

108+
/* Two-column layout with different splits */
109+
.column:first-of-type {float:left}
110+
.column:last-of-type {float:right}
111+
112+
.split-30 .column:first-of-type {width: 30%}
113+
.split-30 .column:last-of-type {width: 70%}
114+
.split-40 .column:first-of-type {width: 40%}
115+
.split-40 .column:last-of-type {width: 60%}
116+
.split-50 .column:first-of-type {width: 50%}
117+
.split-50 .column:last-of-type {width: 50%}
118+
.split-60 .column:first-of-type {width: 60%}
119+
.split-60 .column:last-of-type {width: 40%}
120+
.split-70 .column:first-of-type {width: 70%}
121+
.split-70 .column:last-of-type {width: 30%}
122+
108123
/* Some special classes */
109124
.title {font-size: 3.3em; color:#606060;font-weight:bold;letter-spacing:0.05em}
110125
.subtitle {font-size: 1.4em}
@@ -115,3 +130,13 @@ code {
115130

116131
.cite {font-size: 0.8em; color:#33AA99;font-style: italic}
117132
.strike {color:salmon;text-decoration:line-through}
133+
134+
/* Images overlay */
135+
.imageWrapper {
136+
position: relative;
137+
}
138+
.overlayImage {
139+
position: absolute;
140+
top: 0;
141+
left: 0;
142+
}

0 commit comments

Comments
 (0)