From 588472c5204a1a55db7b99627c4ac4477117ad37 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Sat, 4 Oct 2014 09:00:57 +0200 Subject: compile themes --- css/theme/black.css | 91 +++++++++++++++++++++-------------------------------- 1 file changed, 35 insertions(+), 56 deletions(-) (limited to 'css/theme/black.css') diff --git a/css/theme/black.css b/css/theme/black.css index cbc4d27..a790d86 100644 --- a/css/theme/black.css +++ b/css/theme/black.css @@ -1,45 +1,39 @@ +@import url(https://fonts.googleapis.com/css?family=Montserrat:400); +@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic); /** * Black theme for reveal.js. * * Copyright (C) 2014 Hakim El Hattab, http://hakim.se */ -@import url(https://fonts.googleapis.com/css?family=Montserrat:400); -@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic); /********************************************* * GLOBAL STYLES *********************************************/ body { - background: #111111; - background-color: #111111; } + background: #111; + background-color: #111; } .reveal { - font-family: "Open Sans", Helvetica, sans-serif; + font-family: 'Open Sans', Helvetica, sans-serif; font-size: 34px; font-weight: normal; - color: white; } + color: #fff; } ::selection { - color: white; + color: #fff; background: #b6d7fe; text-shadow: none; } -.reveal .slides > section, -.reveal .slides > section > section { +.reveal .slides > section, .reveal .slides > section > section { line-height: 1.3; font-weight: inherit; } /********************************************* * HEADERS *********************************************/ -.reveal h1, -.reveal h2, -.reveal h3, -.reveal h4, -.reveal h5, -.reveal h6 { +.reveal h1, .reveal h2, .reveal h3, .reveal h4, .reveal h5, .reveal h6 { margin: 0 0 20px 0; - color: white; - font-family: "Montserrat", Helvetica, sans-serif; + color: #fff; + font-family: 'Montserrat', Helvetica, sans-serif; line-height: 1.2; letter-spacing: normal; text-transform: uppercase; @@ -69,22 +63,17 @@ body { line-height: 1.3; } /* Ensure certain elements are never larger than the slide itself */ -.reveal img, -.reveal video, -.reveal iframe { +.reveal img, .reveal video, .reveal iframe { max-width: 95%; max-height: 95%; } -.reveal strong, -.reveal b { +.reveal strong, .reveal b { font-weight: bold; } .reveal em { font-style: italic; } -.reveal ol, -.reveal dl, -.reveal ul { +.reveal ol, .reveal dl, .reveal ul { display: inline-block; text-align: left; margin: 0 0 0 1em; } @@ -101,10 +90,7 @@ body { .reveal ul ul ul { list-style-type: circle; } -.reveal ul ul, -.reveal ul ol, -.reveal ol ol, -.reveal ol ul { +.reveal ul ul, .reveal ul ol, .reveal ol ol, .reveal ol ul { display: block; margin-left: 40px; } @@ -114,8 +100,7 @@ body { .reveal dd { margin-left: 40px; } -.reveal q, -.reveal blockquote { +.reveal q, .reveal blockquote { quotes: none; } .reveal blockquote { @@ -128,8 +113,7 @@ body { background: rgba(255, 255, 255, 0.05); box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); } -.reveal blockquote p:first-child, -.reveal blockquote p:last-child { +.reveal blockquote p:first-child, .reveal blockquote p:last-child { display: inline-block; } .reveal q { @@ -167,8 +151,7 @@ body { .reveal table th { font-weight: bold; } -.reveal table th, -.reveal table td { +.reveal table th, .reveal table td { text-align: left; padding: 0.2em 0.5em 0.2em 0.5em; border-bottom: 1px solid; } @@ -197,18 +180,18 @@ body { .reveal a { color: #3992fb; text-decoration: none; - -webkit-transition: color .15s ease; - -moz-transition: color .15s ease; - transition: color .15s ease; } + -webkit-transition: color 0.15s ease; + -moz-transition: color 0.15s ease; + transition: color 0.15s ease; } .reveal a:hover { - color: #84bbfd; + color: #84bcfd; text-shadow: none; border: none; } .reveal .roll span:after { color: #fff; - background: #056be3; } + background: #056ce3; } /********************************************* * IMAGES @@ -216,13 +199,13 @@ body { .reveal section img { margin: 15px 0px; background: rgba(255, 255, 255, 0.12); - border: 4px solid white; + border: 4px solid #fff; box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); } .reveal a img { - -webkit-transition: all .15s linear; - -moz-transition: all .15s linear; - transition: all .15s linear; } + -webkit-transition: all 0.15s linear; + -moz-transition: all 0.15s linear; + transition: all 0.15s linear; } .reveal a:hover img { background: rgba(255, 255, 255, 0.2); @@ -232,33 +215,29 @@ body { /********************************************* * NAVIGATION CONTROLS *********************************************/ -.reveal .controls div.navigate-left, -.reveal .controls div.navigate-left.enabled { +.reveal .controls div.navigate-left, .reveal .controls div.navigate-left.enabled { border-right-color: #3992fb; } -.reveal .controls div.navigate-right, -.reveal .controls div.navigate-right.enabled { +.reveal .controls div.navigate-right, .reveal .controls div.navigate-right.enabled { border-left-color: #3992fb; } -.reveal .controls div.navigate-up, -.reveal .controls div.navigate-up.enabled { +.reveal .controls div.navigate-up, .reveal .controls div.navigate-up.enabled { border-bottom-color: #3992fb; } -.reveal .controls div.navigate-down, -.reveal .controls div.navigate-down.enabled { +.reveal .controls div.navigate-down, .reveal .controls div.navigate-down.enabled { border-top-color: #3992fb; } .reveal .controls div.navigate-left.enabled:hover { - border-right-color: #84bbfd; } + border-right-color: #84bcfd; } .reveal .controls div.navigate-right.enabled:hover { - border-left-color: #84bbfd; } + border-left-color: #84bcfd; } .reveal .controls div.navigate-up.enabled:hover { - border-bottom-color: #84bbfd; } + border-bottom-color: #84bcfd; } .reveal .controls div.navigate-down.enabled:hover { - border-top-color: #84bbfd; } + border-top-color: #84bcfd; } /********************************************* * PROGRESS BAR -- cgit v1.2.3