Skip to content
Snippets Groups Projects
Commit 1efba24c authored by George Adrian Stoica's avatar George Adrian Stoica
Browse files

added ntnu footer to the course intro

parent 965f96b4
No related branches found
No related tags found
No related merge requests found
Pipeline #46495 passed
......@@ -80,10 +80,13 @@ asciidoctorRevealJs {
overviewMode = true
touchMode = true
backgroundTransition = 'convex' //none , fade, slide, convex, concave, zoom
theme = 'sky' //'black', 'beige' , 'league', 'night', 'serif', 'simple', 'sky', 'solarized'
theme = 'white' //'black', 'beige' , 'league', 'night', 'serif', 'simple', 'sky', 'solarized'
}
plugins 'rajgoel/chart/Chart.min.js'
//plugins 'IainAndrew/footer-reveal/footer-reveal.min.js'
}
revealjs {
......@@ -101,6 +104,12 @@ revealjsPlugins {
repository = 'reveal.js-plugins'
branch = 'master'
}
/*github 'IainAndrew', {
organisation = 'IainAndrew'
repository = 'footer-reveal'
branch = 'master'
}*/
}
build.dependsOn 'asciidoctorRevealJs'
= IT1901
:customcss: slides.css
:icons: font
- Velkommen til IT1901 Informatikk prosjektarbeid 1
- Welcome to IT1901 Informatics, Project 1
Høst 2019 / Fall 2019
== Introduksjon til IT1901
Smidig og moderne praksis og konstruksjon
......@@ -9,3 +20,23 @@ Smidig og moderne praksis og konstruksjon
** desktop
** mobil
** web
++++
<div id="footer" class="footer">
<span class="element"><a href="www.ntnu.no"><img id="footer-logo" class="footer-logo" src="images/logo_ntnu.png" alt="ntnu logo"/></a></span>
<span class="element">| IT1901 </span>
<span class="element">| Course Introduction </span>
<span class="element">&nbsp;&nbsp;&nbsp;&nbsp;</span>
</div>
<script type="text/javascript">
window.addEventListener("load", function() {
revealDiv = document.querySelector("body div.reveal")
footer = document.getElementById("footer");
revealDiv.appendChild(footer);
} );
</script>
++++
\ No newline at end of file
lectures/revealjs/images/logo_ntnu.png

2.33 KiB

lectures/revealjs/images/logo_ntnu_u-slagord_neg.png

2.06 MiB

......@@ -18,6 +18,10 @@
font-size: 60%;
}
.smaller-40 {
font-size: 40%;
}
.left {
float: left;
}
......@@ -173,3 +177,34 @@ section h2 {
.area-south-east {
grid-area: south-east;
}
/* solution for footer based on http://blog.schauderhaft.de/2018/07/23/footer-in-revealjs-from-asciidoc/ */
.footer {
position: absolute;
display: table;
width: 100%;
bottom: 0;
background-color: #0000AA;
}
.footer span {
display: table-cell;
color: #FFFFFF;
padding: 0px 15px 5px;
text-align: center;
font-family: "Verdana", sans-serif;
font-size: 70%;
}
.footer span:nth-of-type(1) {
text-align: left;
}
.footer span:nth-last-child(1) {
text-align: right;
}
.footer-logo{
vertical-align: middle;
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment