Skip to content
Snippets Groups Projects
simple.css 3.91 KiB
Newer Older
  • Learn to ignore specific revisions
  • @import url(https://fonts.googleapis.com/css?family=News+Cycle:400,700);
    @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
    
     * A simple theme for reveal.js presentations, similar
    
     * to the default theme. The accent color is darkblue.
    
    Owen Versteeg's avatar
    Owen Versteeg committed
     * This theme is Copyright (C) 2012 Owen Versteeg, https://github.com/StereotypicalApps. It is MIT licensed.
    
     * reveal.js is Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
    
    Owen Versteeg's avatar
    Owen Versteeg committed
     */
    /*********************************************
     * GLOBAL STYLES
     *********************************************/
    body {
    
      background-color: white; }
    
    Owen Versteeg's avatar
    Owen Versteeg committed
    
    
      font-family: "Lato", sans-serif;
    
    Owen Versteeg's avatar
    Owen Versteeg committed
    ::selection {
    
      color: white;
      background: rgba(0, 0, 0, 0.99);
    
      text-shadow: none; }
    
    Owen Versteeg's avatar
    Owen Versteeg committed
    
    /*********************************************
     * HEADERS
     *********************************************/
    
    .reveal h1,
    .reveal h2,
    .reveal h3,
    .reveal h4,
    .reveal h5,
    
    Owen Versteeg's avatar
    Owen Versteeg committed
    .reveal h6 {
    
      margin: 0 0 20px 0;
      color: black;
      font-family: "News Cycle", Impact, sans-serif;
      line-height: 0.9em;
      letter-spacing: 0.02em;
      text-transform: none;
    
      text-shadow: none; }
    
    Owen Versteeg's avatar
    Owen Versteeg committed
    
    
      text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2); }
    
    Owen Versteeg's avatar
    Owen Versteeg committed
    
    /*********************************************
     * LINKS
     *********************************************/
    .reveal a:not(.image) {
    
      color: darkblue;
      text-decoration: none;
    
      -webkit-transition: color .15s ease;
      -moz-transition: color .15s ease;
      -ms-transition: color .15s ease;
      -o-transition: color .15s ease;
      transition: color .15s ease; }
    
    Owen Versteeg's avatar
    Owen Versteeg committed
    
    
    .reveal a:not(.image):hover {
      color: #0000f1;
      text-shadow: none;
    
    Owen Versteeg's avatar
    Owen Versteeg committed
    
    .reveal .roll span:after {
    
      background: #00003f; }
    
    Owen Versteeg's avatar
    Owen Versteeg committed
    
    /*********************************************
     * IMAGES
     *********************************************/
    .reveal section img {
    
      background: rgba(255, 255, 255, 0.12);
      border: 4px solid black;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    
      -webkit-transition: all .2s linear;
      -moz-transition: all .2s linear;
      -ms-transition: all .2s linear;
      -o-transition: all .2s linear;
      transition: all .2s linear; }
    
    Owen Versteeg's avatar
    Owen Versteeg committed
    
    
    .reveal a:hover img {
      background: rgba(255, 255, 255, 0.2);
      border-color: darkblue;
    
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); }
    
    Owen Versteeg's avatar
    Owen Versteeg committed
    
    /*********************************************
     * NAVIGATION CONTROLS
     *********************************************/
    
    .reveal .controls div.navigate-left,
    .reveal .controls div.navigate-left.enabled {
    
      border-right-color: darkblue; }
    
    Owen Versteeg's avatar
    Owen Versteeg committed
    
    
    .reveal .controls div.navigate-right,
    .reveal .controls div.navigate-right.enabled {
    
      border-left-color: darkblue; }
    
    .reveal .controls div.navigate-up,
    .reveal .controls div.navigate-up.enabled {
    
      border-bottom-color: darkblue; }
    
    .reveal .controls div.navigate-down,
    .reveal .controls div.navigate-down.enabled {
    
      border-top-color: darkblue; }
    
    .reveal .controls div.navigate-left.enabled:hover {
    
      border-right-color: #0000f1; }
    
    .reveal .controls div.navigate-right.enabled:hover {
    
      border-left-color: #0000f1; }
    
    .reveal .controls div.navigate-up.enabled:hover {
    
      border-bottom-color: #0000f1; }
    
    .reveal .controls div.navigate-down.enabled:hover {
    
      border-top-color: #0000f1; }
    
    Owen Versteeg's avatar
    Owen Versteeg committed
    
    /*********************************************
     * PROGRESS BAR
     *********************************************/
    .reveal .progress {
    
      background: rgba(0, 0, 0, 0.2); }
    
    Owen Versteeg's avatar
    Owen Versteeg committed
    
    
    .reveal .progress span {
      background: darkblue;
      -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
      -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
      -ms-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
      -o-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
    
      transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
    
    
    /*********************************************
     * SLIDE NUMBER
     *********************************************/
    .reveal .slide-number {
      color: darkblue; }