Skip to content
Snippets Groups Projects
Commit 8c0d9c89 authored by Han DongGyun ULAC154's avatar Han DongGyun ULAC154
Browse files

Make all links to be opened in a new browser window/tab

(Except for table of contents)
Include `cs1822.css`
parent 5f2b0dd2
Branches
No related tags found
No related merge requests found
/**
* Custom styling for CS1822 files
*/
/**
* Aesthetics
*/
.step {
font-family: Sans;
}
.step.concept {
border-style: solid;
border-width: medium;
border-color: lightgray;
}
.concept h3:not(.rowtitle) {
border-bottom-style: solid;
border-bottom-width: medium;
border-bottom-color: #eb641e;
margin-bottom: 2ex;
}
h3.side-heading {
text-align: left;
padding-top: 2ex;
padding-bottom: 2ex;
}
img {
width: 70%;
display: block;
margin: auto;
}
p {
padding: .75ex;
}
ul {
list-style: none;
margin-left: 2ex;
}
li::before {
content: "○ ";
color: #00a69e;
}
td {
vertical-align: middle;
}
.narrow {
width: 0px;
margin: 0px;
padding: 0px;
}
/**
* Invisible slide steps (contain answers to questions
*/
.slide_step.slide_step_hidden.invisible {
opacity: 0;
}
code {
font-family: monospace;
font-size: 80%;
background-color: #efefef;
}
pre {
margin-left: 5%;
width: 90%;
border: 1pt dashed;
background-color: #efefef;
}
div.overview {
z-index: -100;
}
p.attribution {
float:right;
font-size: 33%;
}
.unclickable {
pointer-events: none;
z-index: -100;
}
...@@ -19,6 +19,7 @@ __file__.html slides.html ...@@ -19,6 +19,7 @@ __file__.html slides.html
# impress.js core machinery # impress.js core machinery
css/style.css css/style.css
css/cs1822.css
js/impress.js js/impress.js
js/fabric.js js/fabric.js
js/slide-drawing.js js/slide-drawing.js
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
<!doctype html> <!doctype html>
<html lang="en"> <html lang="en">
<head> <head>
<base target="_blank"/>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=1024"> <meta name="viewport" content="width=1024">
<meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-capable" content="yes">
...@@ -87,6 +88,7 @@ MathJax.Hub.Config({ ...@@ -87,6 +88,7 @@ MathJax.Hub.Config({
const text = document.createTextNode(heading.textContent) const text = document.createTextNode(heading.textContent)
a.href = "#" + id a.href = "#" + id
a.target = "_self"
a.appendChild(text) a.appendChild(text)
li.appendChild(a) li.appendChild(a)
toc.appendChild(li) toc.appendChild(li)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment