Added automatic slideshow
0
.gitignore
vendored
Normal file → Executable file
0
content/articles/construction.md
Normal file → Executable file
0
content/articles/courtyard.md
Normal file → Executable file
0
content/articles/sunday.md
Normal file → Executable file
0
content/pages/about.md
Normal file → Executable file
0
content/pages/download.md
Normal file → Executable file
@ -14,6 +14,8 @@
|
||||
</header>
|
||||
|
||||
<div class='content'>
|
||||
<script src="/theme/js/slideshow.js"></script>
|
||||
|
||||
<h1 class='article-title'>Construction</h1>
|
||||
<div class="article">
|
||||
<div class='article-content column'> <p><audio controls="controls"
|
||||
@ -23,13 +25,24 @@
|
||||
Your browser does not support the HTML5 Audio element.
|
||||
</audio></p></div>
|
||||
<div class='article-img column'>
|
||||
<img alt="" src="/images/Construction/Construction-1.jpg">
|
||||
<img alt="" src="/images/Construction/Construction-2.jpg">
|
||||
<img alt="" src="/images/Construction/Construction-3.jpg">
|
||||
<img alt="" src="/images/Construction/Construction-4.jpg">
|
||||
<img alt="" src="/images/Construction/Construction-5.jpg">
|
||||
<img alt="" onclick="showSlide('img-1')" src="/images/Construction/Construction-1.jpg">
|
||||
<img alt="" onclick="showSlide('img-2')" src="/images/Construction/Construction-2.jpg">
|
||||
<img alt="" onclick="showSlide('img-3')" src="/images/Construction/Construction-3.jpg">
|
||||
<img alt="" onclick="showSlide('img-4')" src="/images/Construction/Construction-4.jpg">
|
||||
<img alt="" onclick="showSlide('img-5')" src="/images/Construction/Construction-5.jpg">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="slide-container">
|
||||
<div id="close-modal" onclick="closeModal()">X</div>
|
||||
<div id="slides" class="modal">
|
||||
<img class="slide" id="img-1" alt="" src="/images/Construction/Construction-1.jpg">
|
||||
<img class="slide" id="img-2" alt="" src="/images/Construction/Construction-2.jpg">
|
||||
<img class="slide" id="img-3" alt="" src="/images/Construction/Construction-3.jpg">
|
||||
<img class="slide" id="img-4" alt="" src="/images/Construction/Construction-4.jpg">
|
||||
<img class="slide" id="img-5" alt="" src="/images/Construction/Construction-5.jpg">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
|
@ -14,6 +14,8 @@
|
||||
</header>
|
||||
|
||||
<div class='content'>
|
||||
<script src="/theme/js/slideshow.js"></script>
|
||||
|
||||
<h1 class='article-title'>Courtyard</h1>
|
||||
<div class="article">
|
||||
<div class='article-content column'> <p><audio controls="controls"
|
||||
@ -34,13 +36,24 @@ He also comments with either self-pity or candid interest everything he undertak
|
||||
<p>He goes to the balcony twice a day to smoke a cigarette. It overlooks the courtyard, so it is just outside enough to give himself the impression that he is going somewhere. The junk and the dust lingering on the other balconies have made space to allow a chair and a reading person to get a bit of sunlight.
|
||||
He can hear neighbors laughing out loud, as they always had in peaceful sunny spring afternoon. They started to watch an old TV show last week. He knows the ending and can even tell some lines.</p></div>
|
||||
<div class='article-img column'>
|
||||
<img alt="" src="/images/Courtyard/Courtyard-1.jpg">
|
||||
<img alt="" src="/images/Courtyard/Courtyard-2.jpg">
|
||||
<img alt="" src="/images/Courtyard/Courtyard-3.jpg">
|
||||
<img alt="" src="/images/Courtyard/Courtyard-4.jpg">
|
||||
<img alt="" src="/images/Courtyard/Courtyard-5.jpg">
|
||||
<img alt="" onclick="showSlide('img-1')" src="/images/Courtyard/Courtyard-1.jpg">
|
||||
<img alt="" onclick="showSlide('img-2')" src="/images/Courtyard/Courtyard-2.jpg">
|
||||
<img alt="" onclick="showSlide('img-3')" src="/images/Courtyard/Courtyard-3.jpg">
|
||||
<img alt="" onclick="showSlide('img-4')" src="/images/Courtyard/Courtyard-4.jpg">
|
||||
<img alt="" onclick="showSlide('img-5')" src="/images/Courtyard/Courtyard-5.jpg">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="slide-container">
|
||||
<div id="close-modal" onclick="closeModal()">X</div>
|
||||
<div id="slides" class="modal">
|
||||
<img class="slide" id="img-1" alt="" src="/images/Courtyard/Courtyard-1.jpg">
|
||||
<img class="slide" id="img-2" alt="" src="/images/Courtyard/Courtyard-2.jpg">
|
||||
<img class="slide" id="img-3" alt="" src="/images/Courtyard/Courtyard-3.jpg">
|
||||
<img class="slide" id="img-4" alt="" src="/images/Courtyard/Courtyard-4.jpg">
|
||||
<img class="slide" id="img-5" alt="" src="/images/Courtyard/Courtyard-5.jpg">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
|
@ -14,6 +14,8 @@
|
||||
</header>
|
||||
|
||||
<div class='content'>
|
||||
<script src="/theme/js/slideshow.js"></script>
|
||||
|
||||
<h1 class='article-title'>Sunday</h1>
|
||||
<div class="article">
|
||||
<div class='article-content column'> <p><audio controls="controls"
|
||||
@ -23,13 +25,24 @@
|
||||
Your browser does not support the HTML5 Audio element.
|
||||
</audio></p></div>
|
||||
<div class='article-img column'>
|
||||
<img alt="" src="/images/Sunday/Sunday-1.jpg">
|
||||
<img alt="" src="/images/Sunday/Sunday-2.jpg">
|
||||
<img alt="" src="/images/Sunday/Sunday-3.jpg">
|
||||
<img alt="" src="/images/Sunday/Sunday-4.jpg">
|
||||
<img alt="" src="/images/Sunday/Sunday-5.jpg">
|
||||
<img alt="" onclick="showSlide('img-1')" src="/images/Sunday/Sunday-1.jpg">
|
||||
<img alt="" onclick="showSlide('img-2')" src="/images/Sunday/Sunday-2.jpg">
|
||||
<img alt="" onclick="showSlide('img-3')" src="/images/Sunday/Sunday-3.jpg">
|
||||
<img alt="" onclick="showSlide('img-4')" src="/images/Sunday/Sunday-4.jpg">
|
||||
<img alt="" onclick="showSlide('img-5')" src="/images/Sunday/Sunday-5.jpg">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="slide-container">
|
||||
<div id="close-modal" onclick="closeModal()">X</div>
|
||||
<div id="slides" class="modal">
|
||||
<img class="slide" id="img-1" alt="" src="/images/Sunday/Sunday-1.jpg">
|
||||
<img class="slide" id="img-2" alt="" src="/images/Sunday/Sunday-2.jpg">
|
||||
<img class="slide" id="img-3" alt="" src="/images/Sunday/Sunday-3.jpg">
|
||||
<img class="slide" id="img-4" alt="" src="/images/Sunday/Sunday-4.jpg">
|
||||
<img class="slide" id="img-5" alt="" src="/images/Sunday/Sunday-5.jpg">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
|
0
output/theme/css/fonts/Libertinage.ttf
Normal file → Executable file
0
output/theme/css/fonts/SolideMirage-Etroit.otf
Normal file → Executable file
0
output/theme/css/fonts/cmu-typewriter/Typewriter Light/OFL-FAQ.txt
Normal file → Executable file
0
output/theme/css/fonts/cmu-typewriter/Typewriter Light/OFL.txt
Normal file → Executable file
0
output/theme/css/fonts/cmu-typewriter/Typewriter Light/README.txt
Normal file → Executable file
0
output/theme/css/fonts/cmu-typewriter/Typewriter Light/cmun-typewriter-light.css
Normal file → Executable file
0
output/theme/css/fonts/cmu-typewriter/Typewriter Light/cmunbtl.eot
Normal file → Executable file
0
output/theme/css/fonts/cmu-typewriter/Typewriter Light/cmunbtl.svg
Normal file → Executable file
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
0
output/theme/css/fonts/cmu-typewriter/Typewriter Light/cmunbtl.ttf
Normal file → Executable file
0
output/theme/css/fonts/cmu-typewriter/Typewriter Light/cmunbtl.woff
Normal file → Executable file
0
output/theme/css/fonts/cmu-typewriter/Typewriter Light/cmunbto.eot
Normal file → Executable file
0
output/theme/css/fonts/cmu-typewriter/Typewriter Light/cmunbto.svg
Normal file → Executable file
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
0
output/theme/css/fonts/cmu-typewriter/Typewriter Light/cmunbto.ttf
Normal file → Executable file
0
output/theme/css/fonts/cmu-typewriter/Typewriter Light/cmunbto.woff
Normal file → Executable file
0
output/theme/css/fonts/cmu-typewriter/Typewriter Variable/OFL-FAQ.txt
Normal file → Executable file
0
output/theme/css/fonts/cmu-typewriter/Typewriter Variable/OFL.txt
Normal file → Executable file
0
output/theme/css/fonts/cmu-typewriter/Typewriter Variable/README.txt
Normal file → Executable file
0
output/theme/css/fonts/cmu-typewriter/Typewriter Variable/cmun-typewriter-variable.css
Normal file → Executable file
0
output/theme/css/fonts/cmu-typewriter/Typewriter Variable/cmunvi.eot
Normal file → Executable file
0
output/theme/css/fonts/cmu-typewriter/Typewriter Variable/cmunvi.svg
Normal file → Executable file
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
0
output/theme/css/fonts/cmu-typewriter/Typewriter Variable/cmunvi.ttf
Normal file → Executable file
0
output/theme/css/fonts/cmu-typewriter/Typewriter Variable/cmunvi.woff
Normal file → Executable file
0
output/theme/css/fonts/cmu-typewriter/Typewriter Variable/cmunvt.eot
Normal file → Executable file
0
output/theme/css/fonts/cmu-typewriter/Typewriter Variable/cmunvt.svg
Normal file → Executable file
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
0
output/theme/css/fonts/cmu-typewriter/Typewriter Variable/cmunvt.ttf
Normal file → Executable file
0
output/theme/css/fonts/cmu-typewriter/Typewriter Variable/cmunvt.woff
Normal file → Executable file
0
output/theme/css/fonts/cmu-typewriter/Typewriter/OFL-FAQ.txt
Normal file → Executable file
0
output/theme/css/fonts/cmu-typewriter/Typewriter/OFL.txt
Normal file → Executable file
0
output/theme/css/fonts/cmu-typewriter/Typewriter/README.txt
Normal file → Executable file
0
output/theme/css/fonts/cmu-typewriter/Typewriter/cmun-typewriter.css
Normal file → Executable file
0
output/theme/css/fonts/cmu-typewriter/Typewriter/cmunit.eot
Normal file → Executable file
0
output/theme/css/fonts/cmu-typewriter/Typewriter/cmunit.svg
Normal file → Executable file
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
0
output/theme/css/fonts/cmu-typewriter/Typewriter/cmunit.ttf
Normal file → Executable file
0
output/theme/css/fonts/cmu-typewriter/Typewriter/cmunit.woff
Normal file → Executable file
0
output/theme/css/fonts/cmu-typewriter/Typewriter/cmuntb.eot
Normal file → Executable file
0
output/theme/css/fonts/cmu-typewriter/Typewriter/cmuntb.svg
Normal file → Executable file
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
0
output/theme/css/fonts/cmu-typewriter/Typewriter/cmuntb.ttf
Normal file → Executable file
0
output/theme/css/fonts/cmu-typewriter/Typewriter/cmuntb.woff
Normal file → Executable file
0
output/theme/css/fonts/cmu-typewriter/Typewriter/cmuntt.eot
Normal file → Executable file
0
output/theme/css/fonts/cmu-typewriter/Typewriter/cmuntt.svg
Normal file → Executable file
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
0
output/theme/css/fonts/cmu-typewriter/Typewriter/cmuntt.ttf
Normal file → Executable file
0
output/theme/css/fonts/cmu-typewriter/Typewriter/cmuntt.woff
Normal file → Executable file
0
output/theme/css/fonts/cmu-typewriter/Typewriter/cmuntx.eot
Normal file → Executable file
0
output/theme/css/fonts/cmu-typewriter/Typewriter/cmuntx.svg
Normal file → Executable file
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
0
output/theme/css/fonts/cmu-typewriter/Typewriter/cmuntx.ttf
Normal file → Executable file
0
output/theme/css/fonts/cmu-typewriter/Typewriter/cmuntx.woff
Normal file → Executable file
0
output/theme/css/fonts/fengardo_neue/.DS_Store
vendored
Normal file → Executable file
0
output/theme/css/fonts/fengardo_neue/FengardoNeue_Black.otf
Normal file → Executable file
0
output/theme/css/fonts/fengardo_neue/FengardoNeue_Regular.otf
Normal file → Executable file
0
output/theme/css/fonts/fengardo_neue/VTF_Fengardo-Neue_specimen.pdf
Normal file → Executable file
40
output/theme/css/main-v2.css
Normal file → Executable file
@ -187,4 +187,44 @@ p a {
|
||||
float: left;
|
||||
width: 50%;
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
#slide-container {
|
||||
display: none;
|
||||
width: 100%;
|
||||
height: 300%;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
overflow: hidden;
|
||||
background-color: #000000;
|
||||
text-align: center;
|
||||
padding-top: 100px;
|
||||
}
|
||||
|
||||
.slide {
|
||||
/* hide by default */
|
||||
display: none;
|
||||
position: relative;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
max-width: 80%;
|
||||
max-height: 80%;
|
||||
width: auto;
|
||||
height: auto;
|
||||
background-color: black;
|
||||
}
|
||||
|
||||
#close-modal {
|
||||
position: fixed;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
width: 20px;
|
||||
height:20px;
|
||||
margin-left: 95%;
|
||||
}
|
||||
|
||||
#close-modal:hover {
|
||||
font-size: larger;
|
||||
}
|
0
output/theme/css/main.css
Normal file → Executable file
31
output/theme/js/slideshow.js
Normal file
@ -0,0 +1,31 @@
|
||||
window.onload = function(){
|
||||
// close on esc key
|
||||
document.addEventListener('keydown', function(event){
|
||||
if(event.keyCode === 27){
|
||||
closeModal()
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
// Close the Modal
|
||||
function closeModal() {
|
||||
document.getElementById("slide-container").style.display = "none"
|
||||
elems = document.getElementsByClassName('slide')
|
||||
for(let i=0; i<elems.length; i++){
|
||||
elems[i].style.display = "none"
|
||||
}
|
||||
}
|
||||
|
||||
function showSlide(id){
|
||||
isOpen = true
|
||||
document.getElementById('slide-container').style.display = "block"
|
||||
document.getElementById(id).style.display = "block"
|
||||
goToTop()
|
||||
}
|
||||
|
||||
// When the user clicks on an image, scroll to the top
|
||||
function goToTop() {
|
||||
document.body.scrollTop = 0 // safari
|
||||
document.documentElement.scrollTop = 0 // Chrome, Firefox, IE and Opera
|
||||
}
|
0
pelicanconf.py
Normal file → Executable file
0
publishconf.py
Normal file → Executable file
0
themes/cebong/LICENSE.txt
Normal file → Executable file
0
themes/cebong/README.markdown
Normal file → Executable file
0
themes/cebong/screenshot-article.png
Normal file → Executable file
Before Width: | Height: | Size: 266 KiB After Width: | Height: | Size: 266 KiB |
0
themes/cebong/screenshot-with-tagline.png
Normal file → Executable file
Before Width: | Height: | Size: 462 KiB After Width: | Height: | Size: 462 KiB |
0
themes/cebong/screenshot-without-tagline.png
Normal file → Executable file
Before Width: | Height: | Size: 457 KiB After Width: | Height: | Size: 457 KiB |
0
themes/cebong/static/css/main.css
Normal file → Executable file
0
themes/cebong/static/css/pygment.css
Normal file → Executable file
0
themes/cebong/static/css/reset.css
Normal file → Executable file
0
themes/cebong/static/css/typogrify.css
Normal file → Executable file
0
themes/cebong/static/css/wide.css
Normal file → Executable file
0
themes/cebong/static/images/icons/delicious.png
Normal file → Executable file
Before Width: | Height: | Size: 963 B After Width: | Height: | Size: 963 B |
0
themes/cebong/static/images/icons/facebook.png
Normal file → Executable file
Before Width: | Height: | Size: 300 B After Width: | Height: | Size: 300 B |
0
themes/cebong/static/images/icons/gitorious.png
Normal file → Executable file
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
0
themes/cebong/static/images/icons/lastfm.png
Normal file → Executable file
Before Width: | Height: | Size: 980 B After Width: | Height: | Size: 980 B |
0
themes/cebong/static/images/icons/linkedin.png
Normal file → Executable file
Before Width: | Height: | Size: 376 B After Width: | Height: | Size: 376 B |
0
themes/cebong/static/images/icons/rss.png
Normal file → Executable file
Before Width: | Height: | Size: 896 B After Width: | Height: | Size: 896 B |
0
themes/cebong/static/images/icons/twitter.png
Normal file → Executable file
Before Width: | Height: | Size: 835 B After Width: | Height: | Size: 835 B |