vendor/stylesheets/prez.scss in prez-0.1.0 vs vendor/stylesheets/prez.scss in prez-0.1.1
- old
+ new
@@ -21,44 +21,64 @@
color: #bb0000;
font-weight: bold;
}
.prez-slide {
- &, & input {
+ &, input, table {
font-size: 50;
}
display: none;
min-height: $prez-slide-min-height;
padding: $prez-padding;
- text-align: center;
- .center-aligned {
- text-align: center;
+ table td {
+ padding-left: 3%;
+ padding-right: 3%;
}
- &.left-aligned, .left-aligned {
- text-align: left;
- }
-
- .left-aligned {
- padding-left: 5%;
- }
-
- &.right-aligned, .right-aligned {
- text-align: right;
- }
-
.prez-element.hide-style.hidden {
display: none;
}
.prez-element.opacity-style.hidden {
opacity: 0.25;
}
}
+.center-aligned, .prez-slide .center-aligned {
+ text-align: center;
+}
+
+.center-aligned table, .prez-slide table.center-aligned {
+ margin: 0 auto;
+}
+
+.left-aligned, .prez-slide .left-aligned {
+ text-align: left;
+}
+
+.left-aligned table, .prez-slide table.left-aligned {
+ margin: 0;
+}
+
+.left-aligned {
+ padding-left: 5%;
+}
+
+.right-aligned, .prez-slide .right-aligned {
+ text-align: right;
+}
+
+.right-aligned table, .prez-slide table.right-aligned {
+ margin: 0 0 0 auto;
+}
+
+.right-aligned {
+ padding-right: 5%;
+}
+
.pre {
font-family: monospace;
font-size: 0.9em;
white-space: pre;
}
@@ -84,9 +104,13 @@
background-color: #ccccff;
}
.emphasize {
font-weight: bold;
+}
+
+.strikeout {
+ text-decoration: line-through;
}
dt {
font-weight: bold;
}