Skip to content

Instantly share code, notes, and snippets.

@stealthinu
Last active September 21, 2018 08:33
Show Gist options
  • Save stealthinu/ab00517d3cfb0dc3be3ea775743daaa0 to your computer and use it in GitHub Desktop.
Save stealthinu/ab00517d3cfb0dc3be3ea775743daaa0 to your computer and use it in GitHub Desktop.
reveal.cssへの追加設定。元のreveal.css→reveal.orig.cssへリネームしてimportする。
@import url('reveal.orig.css');
.reveal .slides h1,
.reveal .slides h2,
.reveal .slides h3,
.reveal .slides h4,
.reveal .slides h5,
.reveal .slides h6 {
-webkit-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;
word-wrap: break-word;
line-height: 1.2em;
text-transform: none;
}
.reveal .slides h1 { font-size: 1.7em; }
.reveal .slides h2 { font-size: 1.5em; }
.reveal .slides h3 { font-size: 1.2em; }
.reveal .slides h4 { font-size: 1.0em; }
.reveal .slides figure img {
border: 0px solid black;
}
.reveal section img {
margin: 15px 0px;
background: rgba(255, 255, 255, 0.12);
border: 0px solid #000;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); }
.font-outline {
text-shadow: 2px 2px 1px #fff,
-2px 2px 1px #fff,
2px -2px 1px #fff,
-2px -2px 1px #fff;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment