Skip to content

Commit

Permalink
Add pptx.css in reveal.js
Browse files Browse the repository at this point in the history
  • Loading branch information
g21589 committed Aug 26, 2016
1 parent a3f72b8 commit 7e8b953
Show file tree
Hide file tree
Showing 2 changed files with 275 additions and 1 deletion.
274 changes: 274 additions & 0 deletions reveal/css/theme/pptx.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,274 @@
/*********************************************
* GLOBAL STYLES
*********************************************/
body {

}

.reveal {

}

::selection {

}

.reveal .slides > section,
.reveal .slides > section > section {

}

/*********************************************
* HEADERS
*********************************************/
.reveal h1,
.reveal h2,
.reveal h3,
.reveal h4,
.reveal h5,
.reveal h6 {

}


/*********************************************
* OTHER
*********************************************/
.reveal p {

}

/* Ensure certain elements are never larger than the slide itself */
.reveal img,
.reveal video,
.reveal iframe {

}

.reveal strong,
.reveal b {
font-weight: bold;
}

.reveal em {
font-style: italic;
}

.reveal ol,
.reveal dl,
.reveal ul {
display: inline-block;
text-align: left;
margin: 0 0 0 1em;
}

.reveal ol {
list-style-type: decimal;
}

.reveal ul {
list-style-type: disc;
}

.reveal ul ul {
list-style-type: square;
}

.reveal ul ul ul {
list-style-type: circle;
}

.reveal ul ul,
.reveal ul ol,
.reveal ol ol,
.reveal ol ul {
display: block;
margin-left: 40px;
}

.reveal dt {
font-weight: bold;
}

.reveal dd {
margin-left: 40px;
}

.reveal q,
.reveal blockquote {
quotes: none;
}

.reveal blockquote {
display: block;
position: relative;
width: 70%;
margin: 20px auto;
padding: 5px;
font-style: italic;
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 {
display: inline-block;
}

.reveal q {
font-style: italic;
}

.reveal pre {
display: block;
position: relative;
width: 90%;
margin: 20px auto;
text-align: left;
font-size: 0.55em;
font-family: monospace;
line-height: 1.2em;
word-wrap: break-word;
box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3);
}

.reveal code {
font-family: monospace;
}

.reveal pre code {
display: block;
padding: 5px;
overflow: auto;
max-height: 400px;
word-wrap: normal;
}

.reveal table {
margin: auto;
border-collapse: collapse;
border-spacing: 0;
}

.reveal table th {
font-weight: bold;
}

.reveal table th,
.reveal table td {
border: 1px solid;
}

.reveal table th[align="center"],
.reveal table td[align="center"] {

}

.reveal table th[align="right"],
.reveal table td[align="right"] {

}

.reveal table tr:last-child td {

}

.reveal sup {

}

.reveal sub {

}

.reveal small {

}

.reveal small * {

}

/*********************************************
* LINKS
*********************************************/
.reveal a {

}

.reveal a:hover {

}

.reveal .roll span:after {

}

/*********************************************
* IMAGES
*********************************************/
.reveal section img {
}

.reveal section img.plain {
}

.reveal a img {
}

.reveal a:hover img {
}

/*********************************************
* NAVIGATION CONTROLS
*********************************************/
.reveal .controls .navigate-left,
.reveal .controls .navigate-left.enabled {
border-right-color: #77b6ff;
}

.reveal .controls .navigate-right,
.reveal .controls .navigate-right.enabled {
border-left-color: #77b6ff;
}

.reveal .controls .navigate-up,
.reveal .controls .navigate-up.enabled {
border-bottom-color: #77b6ff;
}

.reveal .controls .navigate-down,
.reveal .controls .navigate-down.enabled {
border-top-color: #77b6ff;
}

.reveal .controls .navigate-left.enabled:hover {
border-right-color: #0000f1;
}

.reveal .controls .navigate-right.enabled:hover {
border-left-color: #0000f1;
}

.reveal .controls .navigate-up.enabled:hover {
border-bottom-color: #0000f1;
}

.reveal .controls .navigate-down.enabled:hover {
border-top-color: #0000f1;
}

/*********************************************
* PROGRESS BAR
*********************************************/
.reveal .progress {
background: rgba(0, 0, 0, 0.2);
}

.reveal .progress span {
background: #77b6ff;
box-shadow: 0 0 10px rgba(119,182,255,0.7);
-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);
transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
}
2 changes: 1 addition & 1 deletion reveal/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>Demo</title>
<link rel="stylesheet" href="css/reveal.css">
<link rel="stylesheet" href="css/theme/simple.css" id="theme">
<link rel="stylesheet" href="css/theme/pptx.css" id="theme">

<!-- Code syntax highlighting -->
<link rel="stylesheet" href="lib/css/zenburn.css">
Expand Down

0 comments on commit 7e8b953

Please sign in to comment.