Skip to content

Commit

Permalink
Restructured so index document in the main folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Damon Oehlman committed May 27, 2012
1 parent e1d41ec commit 8cf02e6
Show file tree
Hide file tree
Showing 59 changed files with 73 additions and 173 deletions.
7 changes: 2 additions & 5 deletions Makefile
@@ -1,11 +1,8 @@
SHELL := /bin/bash

build:
@bake src/pres.js --output resources/js/
@cp -r images output/
@cp assets/*.png output/images
@/development/projects/DamonOehlman/boxit/bin/boxit
@node upload.js
@cp -r src/assets/*.png images/
@/development/projects/DamonOehlman/boxit/bin/boxit --path src --output .

test:
@mocha --reporter spec
Expand Down
39 changes: 39 additions & 0 deletions css/bgimage-helper.css
@@ -0,0 +1,39 @@
section[data-bg] {
padding-top: 20px;
background-size: cover;
}

section[data-bg]::after {
content: ' ';
height: -webkit-calc(100% - 16px);
width: -webkit-calc(100% - 16px);
position: absolute;
left: 0;
top: 0;
background: #333;
border: 8px solid rgba(0, 0, 0, 0.8);
opacity: 0.3;
z-index: -1;
}

section[data-bg] > h1 {
position: absolute;
bottom: 25px;
color: transparent;
width: 100%;
}

section[data-bg] > h1::after {
}

section .attribution {
position: absolute;
bottom: 5px;
width: 100%;
font-size: 12pt;
}

section .attribution a {
color: #e8e8e8 !important;
color: rgba(255, 255, 255, 0.5) !important;
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
8 changes: 5 additions & 3 deletions output/index.html → index.html
Expand Up @@ -9,7 +9,7 @@
<meta name="author" content="Hakim El Hattab">

<link href='http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="css/pres.style.css" /><link rel="stylesheet" type="text/css" href="css/highlight.zenburn.css" /><link rel="stylesheet" type="text/css" href="css/reset.css" /><link rel="stylesheet" type="text/css" href="css/main.css" /><script src="js/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="css/pres.style.css" /><link rel="stylesheet" type="text/css" href="css/highlight.zenburn.css" /><link rel="stylesheet" type="text/css" href="css/reset.css" /><link rel="stylesheet" type="text/css" href="css/main.css" /><script src="js/jquery.min.js"></script><link rel="stylesheet" type="text/css" href="css/reveal-tweaks.css" /><link rel="stylesheet" type="text/css" href="css/bgimage-helper.css" />
</head>
<body>
<div id="reveal">
Expand Down Expand Up @@ -267,7 +267,9 @@ <h2>References</h2>
</li>
<li><p><a href="https://github.com/DamonOehlman/demo-matrixeve">https://github.com/DamonOehlman/demo-matrixeve</a></p>
</li>
<li><p><a href="http://damonoehlman.github.com/talks-js-events/output/">Slides</a></p>
<li><p><a href="http://damonoehlman.github.com/talk-js-events/output/">Slides</a></p>
</li>
<li><p><a href="https://github.com/DmitryBaranovskiy/eve">Eve Source Repo</a></p>
</li>
</ul>

Expand All @@ -288,7 +290,7 @@ <h2>References</h2>
<!-- Displays presentation progress, max value changes via JS to reflect # of slides -->
<div class="progress"><span></span></div>
</div>
<script src="js/pres.js"></script><script src="js/highlight.js"></script><script>hljs.initHighlightingOnLoad();</script><script src="js/highlight-javascript.js"></script><script src="js/reveal.js"></script><script src="lib/classList.js"></script>
<script src="js/pres.js"></script><script src="js/highlight.js"></script><script>hljs.initHighlightingOnLoad();</script><script src="js/highlight-javascript.js"></script><script src="js/reveal.js"></script><script src="lib/classList.js"></script><script src="js/bgimage-helper.js"></script>
<script>
// Parse the query string into a key/value object
var query = {};
Expand Down
17 changes: 17 additions & 0 deletions js/bgimage-helper.js
@@ -0,0 +1,17 @@
function refreshBackgroundImages() {
$('section[data-bg]').each(function() {
var el = $(this),
bgImage = el.data('bg') || el.attr('data-bg'),
attribution = el.data('attribution') || el.attr('data-attribution'),
attrDiv = $('.attribution', this);

el.css('background-image', 'url(' + bgImage + ')');

// if the attribution dif does not exist, then create it
if (! attrDiv[0]) {
el.append('<div class="attribution"><a href="attribution" target="_blank">' + attribution + '</a></div>');
}
});
}

$(refreshBackgroundImages);
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file removed output/3815200569_c64290f046_b.jpg
Binary file not shown.
Binary file removed output/4905848082_624044fba4_b.jpg
Binary file not shown.
Binary file removed output/4951169399_c08942bd85_b.jpg
Binary file not shown.
Binary file removed output/5058340966_7bea659712_o.jpg
Binary file not shown.
Binary file removed output/5498393620_b4990431c6_b.jpg
Binary file not shown.
Binary file removed output/5589243043_28e4b45a28_b.jpg
Binary file not shown.
Binary file removed output/5606183129_9695c06f9e_b.jpg
Binary file not shown.
Binary file removed output/5736954579_896755ca20_b.jpg
Binary file not shown.
Binary file removed output/5755308204_f8b0c74da7_b.jpg
Binary file not shown.
Binary file removed output/5790252062_fb6aeba3ec_o.jpg
Binary file not shown.
Binary file removed output/5944308910_44a50fba49_b.jpg
Binary file not shown.
Binary file removed output/images/2817046610_5bea4bc4ff_b.jpg
Binary file not shown.
Binary file removed output/images/3815200569_c64290f046_b.jpg
Binary file not shown.
Binary file removed output/images/4227253361_0e1e73c08f_b.jpg
Binary file not shown.
Binary file removed output/images/4905848082_624044fba4_b.jpg
Binary file not shown.
Binary file removed output/images/4951169399_c08942bd85_b.jpg
Binary file not shown.
Binary file removed output/images/5058340966_7bea659712_o.jpg
Binary file not shown.
Binary file removed output/images/5498393620_b4990431c6_b.jpg
Binary file not shown.
Binary file removed output/images/5589243043_28e4b45a28_b.jpg
Binary file not shown.
Binary file removed output/images/5606183129_9695c06f9e_b.jpg
Binary file not shown.
Binary file removed output/images/5736954579_896755ca20_b.jpg
Binary file not shown.
Binary file removed output/images/5755308204_f8b0c74da7_b.jpg
Binary file not shown.
Binary file removed output/images/5790252062_fb6aeba3ec_o.jpg
Diff not rendered.
Binary file removed output/images/5944308910_44a50fba49_b.jpg
Diff not rendered.
Binary file removed output/images/6968108915_88369197b2_o.jpg
Diff not rendered.
34 changes: 0 additions & 34 deletions output/images/sources.md

This file was deleted.

17 changes: 0 additions & 17 deletions output/js/pres.js

This file was deleted.

30 changes: 0 additions & 30 deletions output/sources.md

This file was deleted.

42 changes: 0 additions & 42 deletions resources/css/pres.style.css

This file was deleted.

17 changes: 0 additions & 17 deletions resources/js/pres.js

This file was deleted.

File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 3 additions & 1 deletion files/references.md → src/files/references.md
Expand Up @@ -4,4 +4,6 @@

- <https://github.com/DamonOehlman/demo-matrixeve>

- [Slides](http://damonoehlman.github.com/talk-js-events/output/)
- [Slides](http://damonoehlman.github.com/talk-js-events/output/)

- [Eve Source Repo](https://github.com/DmitryBaranovskiy/eve)
File renamed without changes.
9 changes: 7 additions & 2 deletions index.json → src/index.json
Expand Up @@ -10,6 +10,10 @@
"files/references.md"
],

"aliases": {
"resources": "github://DamonOehlman/talk-resources/"
},

"includes": {
"head": [
"css/pres.style.css"
Expand All @@ -28,7 +32,8 @@
},

"resources": [
"css/pres.style.css <= resources/css/pres.style.css",
"js/pres.js <= resources/js/pres.js"
"css/reveal-tweaks.css <= resources!css/reveal-tweaks.css",
"js/bgimage-helper.js <= resources!js/bgimage-helper.js",
"css/bgimage-helper.css <= resources!css/bgimage-helper.css"
]
}
12 changes: 0 additions & 12 deletions src/pres.js

This file was deleted.

10 changes: 0 additions & 10 deletions upload.js

This file was deleted.

0 comments on commit 8cf02e6

Please sign in to comment.