Skip to content

Instantly share code, notes, and snippets.

@ryanj
Last active March 14, 2021 23:36
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save ryanj/450836bbaebcf4c4ae08b331343a7886 to your computer and use it in GitHub Desktop.
Save ryanj/450836bbaebcf4c4ae08b331343a7886 to your computer and use it in GitHub Desktop.
A CoreOS-inspired theme for Reveal.js
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro');
/*********************************************
* GLOBAL STYLES
*********************************************/
body {
background-repeat: repeat;
/* background-image: rgba(28, 66, 91, 0.9), url(hexagons.png); */
background-image: url(hexagons.png);
background-color: #1C425B;
color:white;
font-family: 'Source Sans Pro', sans-serif;}
/* background-repeat: repeat-x, no-repeat, repeat, repeat;
* background-position: center bottom, center -130px, 100% 122px, 0 0;
* background-size: auto 25%, auto, auto, auto; }
*/
.reveal {
font-family: 'Source Sans Pro', sans-serif;
font-size: 36px;
font-weight: 200;
letter-spacing: -0.02em;
color: #eeeeee; }
::selection {
color: black;
background: #6db3c7;
text-shadow: none; }
/*********************************************
* HEADERS
*********************************************/
.reveal h1,
.reveal h2,
.reveal h3,
.reveal h4,
.reveal h5,
.reveal h6 {
margin: 0 0 20px 0;
color: white;
font-family: "Source Sans Pro",sans-serif;
line-height: 0.9em;
letter-spacing: auto;
text-transform: none;
text-shadow: none; }
.reveal h5 {
color: #52A3D9;
}
/*********
.reveal code {
color: #f04c5c;
}
**********
*/
.reveal h1 {
color: white;
text-shadow: 2px 2px 2px rgba(0,0,0,0.4);
}
/*********************************************
* LINKS
*********************************************/
.reveal a:not(.image) {
color: #419eda;
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; }
.reveal a:not(.image):hover {
color: #71e9f4;
text-shadow: none;
border: none; }
.reveal .roll span:after {
color: #fff;
background: #4090a7; }
/*
* iMAGES
*********************************************/
.reveal section img {
margin: 15px 0px;
border: none;
background: transparent;
box-shadow: none;
}
.reveal a:hover img {
background: rgba(255, 255, 255, 0.2);
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: #52A3D9; }
.reveal .controls div.navigate-right,
.reveal .controls div.navigate-right.enabled {
border-left-color: #52A3D9; }
.reveal .controls div.navigate-up,
.reveal .controls div.navigate-up.enabled {
border-bottom-color: #52A3D9; }
.reveal .controls div.navigate-down,
.reveal .controls div.navigate-down.enabled {
border-top-color: #52A3D9; }
.reveal .controls div.navigate-left.enabled:hover {
border-right-color: #71e9f4; }
.reveal .controls div.navigate-right.enabled:hover {
border-left-color: #71e9f4; }
.reveal .controls div.navigate-up.enabled:hover {
border-bottom-color: #71e9f4; }
.reveal .controls div.navigate-down.enabled:hover {
border-top-color: #71e9f4; }
/*********************************************
* PROGRESS BAR
*********************************************/
.reveal .progress {
background: rgba(0, 0, 0, 0.2); }
.reveal .progress span {
background: #6db3c7;
-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); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment