Skip to content
Snippets Groups Projects
solarized.css 4.16 KiB
Newer Older
  • Learn to ignore specific revisions
  • @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
    
    asmod3us's avatar
    asmod3us committed
    /**
    
     * Solarized Light theme for reveal.js.
    
    asmod3us's avatar
    asmod3us committed
     * Author: Achim Staebler
     */
    @font-face {
      font-family: 'League Gothic';
      src: url("../../lib/font/league_gothic-webfont.eot");
      src: url("../../lib/font/league_gothic-webfont.eot?#iefix") format("embedded-opentype"), url("../../lib/font/league_gothic-webfont.woff") format("woff"), url("../../lib/font/league_gothic-webfont.ttf") format("truetype"), url("../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular") format("svg");
      font-weight: normal;
      font-style: normal; }
    
    /**
    
     * Solarized colors by Ethan Schoonover
    
    asmod3us's avatar
    asmod3us committed
     */
    html * {
      color-profile: sRGB;
      rendering-intent: auto; }
    
    /*********************************************
     * GLOBAL STYLES
     *********************************************/
    body {
    
      background: #fdf6e3;
      background-color: #fdf6e3; }
    
    asmod3us's avatar
    asmod3us committed
    
    .reveal {
    
      font-family: "Lato", sans-serif;
    
    asmod3us's avatar
    asmod3us committed
      font-size: 36px;
    
    asmod3us's avatar
    asmod3us committed
      letter-spacing: -0.02em;
    
    asmod3us's avatar
    asmod3us committed
    
    ::selection {
      color: white;
      background: #d33682;
      text-shadow: none; }
    
    /*********************************************
     * HEADERS
     *********************************************/
    .reveal h1,
    .reveal h2,
    .reveal h3,
    .reveal h4,
    .reveal h5,
    .reveal h6 {
      margin: 0 0 20px 0;
    
    asmod3us's avatar
    asmod3us committed
      font-family: "League Gothic", Impact, sans-serif;
      line-height: 0.9em;
      letter-spacing: 0.02em;
      text-transform: uppercase;
      text-shadow: none; }
    
    .reveal h1 {
    
      text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2); }
    
    asmod3us's avatar
    asmod3us committed
    
    /*********************************************
     * LINKS
     *********************************************/
    .reveal a:not(.image) {
      color: #268bd2;
      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; }
    
    asmod3us's avatar
    asmod3us committed
    
    .reveal a:not(.image):hover {
      color: #78b9e6;
      text-shadow: none;
      border: none; }
    
    .reveal .roll span:after {
      color: #fff;
      background: #1a6091; }
    
    /*********************************************
     * IMAGES
     *********************************************/
    .reveal section img {
      margin: 15px 0px;
      background: rgba(255, 255, 255, 0.12);
    
      border: 4px solid #657b83;
    
    asmod3us's avatar
    asmod3us committed
      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; }
    
    asmod3us's avatar
    asmod3us committed
    
    .reveal a:hover img {
      background: rgba(255, 255, 255, 0.2);
      border-color: #268bd2;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); }
    
    /*********************************************
     * NAVIGATION CONTROLS
     *********************************************/
    .reveal .controls div.navigate-left,
    .reveal .controls div.navigate-left.enabled {
      border-right-color: #268bd2; }
    
    .reveal .controls div.navigate-right,
    .reveal .controls div.navigate-right.enabled {
      border-left-color: #268bd2; }
    
    .reveal .controls div.navigate-up,
    .reveal .controls div.navigate-up.enabled {
      border-bottom-color: #268bd2; }
    
    .reveal .controls div.navigate-down,
    .reveal .controls div.navigate-down.enabled {
      border-top-color: #268bd2; }
    
    .reveal .controls div.navigate-left.enabled:hover {
      border-right-color: #78b9e6; }
    
    .reveal .controls div.navigate-right.enabled:hover {
      border-left-color: #78b9e6; }
    
    .reveal .controls div.navigate-up.enabled:hover {
      border-bottom-color: #78b9e6; }
    
    .reveal .controls div.navigate-down.enabled:hover {
      border-top-color: #78b9e6; }
    
    /*********************************************
     * PROGRESS BAR
     *********************************************/
    .reveal .progress {
      background: rgba(0, 0, 0, 0.2); }
    
    .reveal .progress span {
      background: #268bd2;
      -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: #268bd2; }