Skip to content
Snippets Groups Projects
Commit 6b09f83f authored by Guillaume Chanel's avatar Guillaume Chanel
Browse files

Corect css themes

parent 09bddee5
Branches
Tags
No related merge requests found
...@@ -13,11 +13,8 @@ ...@@ -13,11 +13,8 @@
<link rel="stylesheet" href="../../../dist/reveal.css"> <link rel="stylesheet" href="../../../dist/reveal.css">
<link rel="stylesheet" href="../../../dist/theme/white.css" id="theme"> <link rel="stylesheet" href="../../../dist/theme/white.css" id="theme">
<!-- Higlight theme with a fallback on local monokai in case of connexion pb --> <!-- Higlight theme -->
<!-- TODO: the monokai fallback cannot be included has it conflicts on the struct keyword with other themes <link rel="stylesheet" href="../css/googlecode.css" id="highlight-theme">
check another way to make a fallback -->
<!-- <link rel="stylesheet" href="../../../plugin/highlight/monokai.css" id="highlight-theme"> -->
<link rel="stylesheet" href="https://highlightjs.org/static/demo/styles/googlecode.css" id="highlight-theme">
<!-- Add my own theme on top of classical reveal.js theme --> <!-- Add my own theme on top of classical reveal.js theme -->
<link rel="stylesheet" href="../css/mytheme.css"> <link rel="stylesheet" href="../css/mytheme.css">
...@@ -27,7 +24,7 @@ ...@@ -27,7 +24,7 @@
var link = document.createElement('link'); var link = document.createElement('link');
link.rel = 'stylesheet'; link.rel = 'stylesheet';
link.type = 'text/css'; link.type = 'text/css';
link.href = window.location.search.match(/print-pdf/gi) ? '../../../css/print/pdf.css' : '../../../css/print/paper.css'; link.href = window.location.search.match(/print-pdf/gi) ? '../../../css/print/pdf.scss' : '../../../css/print/paper.scss';
document.getElementsByTagName('head')[0].appendChild(link); document.getElementsByTagName('head')[0].appendChild(link);
</script> </script>
<!--[if lt IE 9]> <!--[if lt IE 9]>
......
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
Google Code style (c) Aahan Krish <geekpanth3r@gmail.com>
*/
.hljs {
background: white;
color: black
}
.hljs-comment,
.hljs-quote {
color: #800
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-section,
.hljs-title,
.hljs-name {
color: #008
}
.hljs-variable,
.hljs-template-variable {
color: #660
}
.hljs-string,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-regexp {
color: #080
}
.hljs-literal,
.hljs-symbol,
.hljs-bullet,
.hljs-meta,
.hljs-number,
.hljs-link {
color: #066
}
.hljs-title,
.hljs-doctag,
.hljs-type,
.hljs-attr,
.hljs-built_in,
.hljs-params {
color: #606
}
.hljs-attribute,
.hljs-subst {
color: #000
}
.hljs-formula {
background-color: #eee;
font-style: italic
}
.hljs-selector-id,
.hljs-selector-class {
color: #9B703F
}
.hljs-addition {
background-color: #baeeba
}
.hljs-deletion {
background-color: #ffc8bd
}
.hljs-doctag,
.hljs-strong {
font-weight: bold
}
.hljs-emphasis {
font-style: italic
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment