summaryrefslogtreecommitdiffhomepage
path: root/css/theme/template/theme.scss
diff options
context:
space:
mode:
Diffstat (limited to 'css/theme/template/theme.scss')
-rw-r--r--css/theme/template/theme.scss65
1 files changed, 39 insertions, 26 deletions
diff --git a/css/theme/template/theme.scss b/css/theme/template/theme.scss
index 17cf688..91eeca7 100644
--- a/css/theme/template/theme.scss
+++ b/css/theme/template/theme.scss
@@ -13,7 +13,6 @@ body {
font-family: $mainFont;
font-size: $mainFontSize;
font-weight: normal;
- letter-spacing: -0.02em;
color: $mainColor;
}
@@ -25,7 +24,7 @@ body {
.reveal .slides>section,
.reveal .slides>section>section {
- line-height: 1.2em;
+ line-height: 1.3;
font-weight: inherit;
}
@@ -43,6 +42,7 @@ body {
color: $headingColor;
font-family: $headingFont;
+ font-weight: $headingFontWeight;
line-height: $headingLineHeight;
letter-spacing: $headingLetterSpacing;
@@ -52,10 +52,10 @@ body {
word-wrap: break-word;
}
-.reveal h1 { font-size: 3.77em; }
-.reveal h2 { font-size: 2.11em; }
-.reveal h3 { font-size: 1.55em; }
-.reveal h4 { font-size: 1em; }
+.reveal h1 {font-size: $heading1Size; }
+.reveal h2 {font-size: $heading2Size; }
+.reveal h3 {font-size: $heading3Size; }
+.reveal h4 {font-size: $heading4Size; }
.reveal h1 {
text-shadow: $heading1TextShadow;
@@ -67,8 +67,8 @@ body {
*********************************************/
.reveal p {
- margin-bottom: 10px;
- line-height: 1.2em;
+ margin: $blockMargin 0;
+ line-height: 1.3;
}
/* Ensure certain elements are never larger than the slide itself */
@@ -137,7 +137,7 @@ body {
display: block;
position: relative;
width: 70%;
- margin: 5px auto;
+ margin: $blockMargin auto;
padding: 5px;
font-style: italic;
@@ -157,7 +157,7 @@ body {
display: block;
position: relative;
width: 90%;
- margin: 15px auto;
+ margin: $blockMargin auto;
text-align: left;
font-size: 0.55em;
@@ -178,8 +178,6 @@ body {
overflow: auto;
max-height: 400px;
word-wrap: normal;
- background: #3F3F3F;
- color: #DCDCDC;
}
.reveal table {
@@ -199,8 +197,18 @@ body {
border-bottom: 1px solid;
}
+.reveal table th[align="center"],
+.reveal table td[align="center"] {
+ text-align: center;
+}
+
+.reveal table th[align="right"],
+.reveal table td[align="right"] {
+ text-align: right;
+}
+
.reveal table tr:last-child td {
- border-bottom: none;
+ border-bottom: none;
}
.reveal sup {
@@ -259,6 +267,11 @@ body {
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}
+ .reveal section img.plain {
+ border: 0;
+ box-shadow: none;
+ }
+
.reveal a img {
-webkit-transition: all .15s linear;
-moz-transition: all .15s linear;
@@ -277,39 +290,39 @@ body {
* NAVIGATION CONTROLS
*********************************************/
-.reveal .controls div.navigate-left,
-.reveal .controls div.navigate-left.enabled {
+.reveal .controls .navigate-left,
+.reveal .controls .navigate-left.enabled {
border-right-color: $linkColor;
}
-.reveal .controls div.navigate-right,
-.reveal .controls div.navigate-right.enabled {
+.reveal .controls .navigate-right,
+.reveal .controls .navigate-right.enabled {
border-left-color: $linkColor;
}
-.reveal .controls div.navigate-up,
-.reveal .controls div.navigate-up.enabled {
+.reveal .controls .navigate-up,
+.reveal .controls .navigate-up.enabled {
border-bottom-color: $linkColor;
}
-.reveal .controls div.navigate-down,
-.reveal .controls div.navigate-down.enabled {
+.reveal .controls .navigate-down,
+.reveal .controls .navigate-down.enabled {
border-top-color: $linkColor;
}
-.reveal .controls div.navigate-left.enabled:hover {
+.reveal .controls .navigate-left.enabled:hover {
border-right-color: $linkColorHover;
}
-.reveal .controls div.navigate-right.enabled:hover {
+.reveal .controls .navigate-right.enabled:hover {
border-left-color: $linkColorHover;
}
-.reveal .controls div.navigate-up.enabled:hover {
+.reveal .controls .navigate-up.enabled:hover {
border-bottom-color: $linkColorHover;
}
-.reveal .controls div.navigate-down.enabled:hover {
+.reveal .controls .navigate-down.enabled:hover {
border-top-color: $linkColorHover;
}
@@ -333,7 +346,7 @@ body {
* SLIDE NUMBER
*********************************************/
.reveal .slide-number {
- color: $linkColor;
+ color: $linkColor;
}