Skip to content

Commit

Permalink
added some of grottworkshop theme
Browse files Browse the repository at this point in the history
  • Loading branch information
fredgrott committed Jan 8, 2013
1 parent 7ac2b70 commit eae1ca2
Show file tree
Hide file tree
Showing 25 changed files with 1,590 additions and 4 deletions.
Binary file added apache_logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added blogger-icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
184 changes: 184 additions & 0 deletions grottworkshop/base.html
@@ -0,0 +1,184 @@
<!DOCTYPE html>
<!--
Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Original slides: Marcin Wichary (mwichary@google.com)
Modifications: Ernest Delgado (ernestd@google.com)
Alex Russell (slightlyoff@chromium.org)
landslide modifications: Adam Zapletal (adamzap@gmail.com)
Nicolas Perriault (nperriault@gmail.com)
Fred Grott(fred.grott@gmail.com)
-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>{{ head_title }}</title>
<!-- Styles -->
{% if embed %}
<style type="text/css" media="print">
{{ css.print.contents }}
</style>
<style type="text/css" media="screen, projection">
{{ css.screen.contents }}
</style>
{% else %}
<link rel="stylesheet" media="print" href="{{ css.print.path_url }}">
<link rel="stylesheet" media="screen, projection" href="{{ css.screen.path_url }}">
{% endif %}
{% for css in user_css %}
{% if embed %}
<style type="text/css" media="screen, projection">
{{ css.contents }}
</style>
{% else %}
<link rel="stylesheet" href="{{ css.path_url }}">
{% endif %}
{% endfor %}
<!-- /Styles -->
<!-- Javascripts -->
{% if embed %}
<script>
{{ js.contents }}
</script>
{% else %}
<script type="text/javascript" src="{{ js.path_url }}"></script>
{% endif %}
{% for js in user_js %}
{% if embed %}
<script>
{{ js.contents }}
</script>
{% else %}
<script type="text/javascript" src="{{ js.path_url }}"></script>
{% endif %}
{% endfor %}
<!-- /Javascripts -->
</head>
<body>
<div id="blank"></div>
<div class="presentation">
<div id="current_presenter_notes">
<div id="presenter_note"></div>
</div>
<div class="slides">
{% for slide in slides %}
<!-- slide source: {% if slide.source %}{{ slide.source.rel_path }}{% endif %} -->
<div class="slide-wrapper">
<div class="slide{% if slide.classes %}{% for class in slide.classes %} {{ class }}{% endfor %}{% endif %}">
<div class="inner">
{% if slide.header %}
<header>{{ slide.header }}</header>
{% endif %}
{% if slide.content %}
<section>{{ slide.content }}</section>
{% endif %}
</div>
<div class="presenter_notes">
<header><h1>Presenter Notes</h1></header>
<section>
{% if slide.presenter_notes %}
{{ slide.presenter_notes }}
{% endif %}
</section>
</div>
<footer>
{% if slide.source %}
<aside class="source">
Source: <a href="{{ slide.source.rel_path }}">{{ slide.source.rel_path }}</a>
</aside>
{% endif %}
<aside class="page_number">
{{ slide.number }}/{{ num_slides }}
</aside>
</footer>
</div>
</div>
{% endfor %}
</div>
</div>

<div id="footnotes">
{{ head_title }} - Fred Grott - Android Development
</div>

{% if toc %}
<div id="toc" class="sidebar hidden">
<h2>Table of Contents</h2>
<table>
<caption>Table of Contents</caption>
{% for section in toc %}
<tr id="toc-row-{{ section.number }}">
<th><a href="#slide{{ section.number }}">{{ section.title }}</a></th>
<td><a href="#slide{{ section.number }}">{{ section.number }}</a></td>
</tr>
{% if section.sub %}
{% for subsection in section.sub %}
<tr id="toc-row-{{ subsection.number }}" class="sub">
<th><a href="#slide{{ subsection.number }}">{{ subsection.title }}</a></th>
<td><a href="#slide{{ subsection.number }}">{{ subsection.number }}</a></td>
</tr>
{% endfor %}
{% endif %}
{% endfor %}
</table>
</div>
{% endif %}
<div id="help" class="sidebar hidden">
<h2>Help</h2>
<table>
<caption>Help</caption>
<tr>
<th>Table of Contents</th>
<td>t</td>
</tr>
<tr>
<th>Exposé</th>
<td>ESC</td>
</tr>
<tr>
<th>Full screen slides</th>
<td>e</td>
</tr>
<tr>
<th>Presenter View</th>
<td>p</td>
</tr>
<tr>
<th>Source Files</th>
<td>s</td>
</tr>
<tr>
<th>Slide Numbers</th>
<td>n</td>
</tr>
<tr>
<th>Toggle screen blanking</th>
<td>b</td>
</tr>
<tr>
<th>Notes</th>
<td>2</td>
</tr>
<tr>
<th>Help</th>
<td>h</td>
</tr>
</table>
</div>
<script>main()</script>
</body>
</html>
212 changes: 212 additions & 0 deletions grottworkshop/css/print.css
@@ -0,0 +1,212 @@
* {
margin: 0;
padding: 0;
}

@page {
size: landscape;
}

body {
font: 100% "Lucida Grande", "Trebuchet MS", Verdana, sans-serif;
padding: 0;
margin: 0;
}

div.slide {
min-width: 950px;
min-height: 678px;
padding: 1em;
overflow: hidden;
page-break-after: always;
border: 1px solid black;
border-radius: 20px;
background: #000000 url('../img/gwslideslogo.png') no-repeat top right;
color: #ffffff;
}

div.slide div.inner {
width: 950px;
height: 678px;
margin: auto;
display: table-cell;
}

h1 {
font-size: 2.4em;
}

h2 {
font-size: 1.4em;
}

h3 {
margin: 1em 0;
}

ul {
margin: 0;
padding: 0;
}

p, li, pre {
margin: 1em 0;
}

li {
margin-left: 2em;
}

a {
color: #ffffff;
}

pre, code {
max-width: 950px;
color: #BFA6A6;
font-family: Monaco, monospace;
font-size: 90%;
}

pre {
padding: .2em .5em;
overflow: hidden;
}

code {
padding: 0 .2em;
}

.slide header:only-child h1 {
line-height: 180%;
text-align: center;
display: table-cell;
vertical-align: middle;
height: 600px;
width: 800px;
font-size: 48px;
margin-top:100px;
margin-bottom:100px;
}

section {
margin-top: 50px;
}

/* title slide */
.slide-wrapper:first-child .slide {
text-align: center;
background: #000000 url('../img/gws_title-slide.png') no-repeat top center;
}
.slide-wrapper:first-child header:not(:only-child) {
position: static;
padding-top: 85px;
color: #000000;
width: 770px;
margin: 0 auto;
}
.slide-wrapper:first-child section {
margin-top: 10px;
color: #000000;
}
.slide-wrapper:first-child .slide header:only-child h1 {
display: block;
width: auto;
color: #000000;
padding-top: 50px;
}
.slide-wrapper:first-child h2 {
font-size: 25px;
font-weight: normal;
}

/* Pygments solarized theme */
pre .hll { background-color: #002B36 }
pre { background: #002B36; color: #93A1A1 }
pre .c { color: #859900 } /* Comment */
pre .err { color: #d33682; background-color: #002B36 } /* Error */
pre .k { color: #268bd2 } /* Keyword */
pre .l { color: #6c71c4 } /* Literal */
pre .n { color: #93a1a1 } /* Name */
pre .o { color: #dc322f } /* Operator */
pre .p { color: #93a1a1 } /* Punctuation */
pre .cm { color: #859900 } /* Comment.Multiline */
pre .cp { color: #859900 } /* Comment.Preproc */
pre .c1 { color: #859900 } /* Comment.Single */
pre .cs { color: #859900 } /* Comment.Special */
pre .ge { font-style: italic } /* Generic.Emph */
pre .gs { font-weight: bold } /* Generic.Strong */
pre .kc { color: #268bd2 } /* Keyword.Constant */
pre .kd { color: #268bd2 } /* Keyword.Declaration */
pre .kn { color: #dc322f } /* Keyword.Namespace */
pre .kp { color: #268bd2 } /* Keyword.Pseudo */
pre .kr { color: #268bd2 } /* Keyword.Reserved */
pre .kt { color: #268bd2 } /* Keyword.Type */
pre .ld { color: #b58900 } /* Literal.Date */
pre .m { color: #6c71c4 } /* Literal.Number */
pre .s { color: #b58900 } /* Literal.String */
pre .na { color: #2aa198 } /* Name.Attribute */
pre .nb { color: #93a1a1 } /* Name.Builtin */
pre .nc { color: #2aa198 } /* Name.Class */
pre .no { color: #268bd2 } /* Name.Constant */
pre .nd { color: #2aa198 } /* Name.Decorator */
pre .ni { color: #93a1a1 } /* Name.Entity */
pre .ne { color: #2aa198 } /* Name.Exception */
pre .nf { color: #2aa198 } /* Name.Function */
pre .nl { color: #93a1a1 } /* Name.Label */
pre .nn { color: #93a1a1 } /* Name.Namespace */
pre .nx { color: #2aa198 } /* Name.Other */
pre .py { color: #93a1a1 } /* Name.Property */
pre .nt { color: #dc322f } /* Name.Tag */
pre .nv { color: #93a1a1 } /* Name.Variable */
pre .ow { color: #dc322f } /* Operator.Word */
pre .w { color: #93a1a1 } /* Text.Whitespace */
pre .mf { color: #6c71c4 } /* Literal.Number.Float */
pre .mh { color: #6c71c4 } /* Literal.Number.Hex */
pre .mi { color: #6c71c4 } /* Literal.Number.Integer */
pre .mo { color: #6c71c4 } /* Literal.Number.Oct */
pre .sb { color: #b58900 } /* Literal.String.Backtick */
pre .sc { color: #b58900 } /* Literal.String.Char */
pre .sd { color: #b58900 } /* Literal.String.Doc */
pre .s2 { color: #b58900 } /* Literal.String.Double */
pre .se { color: #6c71c4 } /* Literal.String.Escape */
pre .sh { color: #b58900 } /* Literal.String.Heredoc */
pre .si { color: #b58900 } /* Literal.String.Interpol */
pre .sx { color: #b58900 } /* Literal.String.Other */
pre .sr { color: #b58900 } /* Literal.String.Regex */
pre .s1 { color: #b58900 } /* Literal.String.Single */
pre .ss { color: #b58900 } /* Literal.String.Symbol */
pre .bp { color: #93a1a1 } /* Name.Builtin.Pseudo */
pre .vc { color: #93a1a1 } /* Name.Variable.Class */
pre .vg { color: #93a1a1 } /* Name.Variable.Global */
pre .vi { color: #93a1a1 } /* Name.Variable.Instance */
pre .il { color: #6c71c4 } /* Literal.Number.Integer.Long */

pre .lineno,
.linenodiv pre {
background-color: #073642;
padding: 0 4px 0 15px;
display: inline-block;
}
td.linenos,
.linenodiv pre {
width: 22px;
text-align: right;
}
td.code pre {
padding: 0 5px;
}
.highlighttable {
border-collapse: collapse;
width: 950px;
}
.highlighttable td {
padding: 0;
}

/* hide */
#toc, #help, .slide aside, .slide footer, .slide .notes,
.presenter_notes, #current_presenter_notes, #presenter_note,
#footnotes {
display: none;
}

0 comments on commit eae1ca2

Please sign in to comment.