Move martyalchin and brownstone theme to pelican-themes

This commit is contained in:
Alexis Metaireau 2011-02-01 21:51:58 +00:00
commit 816d2cd4b4
30 changed files with 3 additions and 1349 deletions

View file

@ -81,11 +81,10 @@ Setting name what it does ?
Themes Themes
====== ======
3 themes are available. You can specify them using the `-t` option: By default, two themes are availablee. You can specify them using the `-t` option:
* notmyidea * notmyidea
* simple (a synonym for "full text" :) * simple (a synonym for "full text" :)
* martyalchin
You can define your own theme too, and specify it's emplacement in the same You can define your own theme too, and specify it's emplacement in the same
way (be sure to specify the full absolute path to it). way (be sure to specify the full absolute path to it).
@ -93,6 +92,8 @@ way (be sure to specify the full absolute path to it).
Here is `a guide on how to create your theme Here is `a guide on how to create your theme
<http://alexis.notmyidea.org/pelican/themes.html>`_ <http://alexis.notmyidea.org/pelican/themes.html>`_
You can find a list of themes at http://github.com/ametaireau/pelican-themes.
The `notmyidea` theme can make good use of the following settings. I recommend The `notmyidea` theme can make good use of the following settings. I recommend
to use them too in your themes. to use them too in your themes.

View file

@ -1,205 +0,0 @@
.hll {
background-color:#FFFFCC;
}
.c {
color:#408090;
font-style:italic;
}
.err {
border:1px solid #FF0000;
}
.k {
color:#007020;
font-weight:bold;
}
.o {
color:#666666;
}
.cm {
color:#408090;
font-style:italic;
}
.cp {
color:#007020;
}
.c1 {
color:#408090;
font-style:italic;
}
.cs {
background-color:#FFF0F0;
color:#408090;
}
.gd {
color:#A00000;
}
.ge {
font-style:italic;
}
.gr {
color:#FF0000;
}
.gh {
color:#000080;
font-weight:bold;
}
.gi {
color:#00A000;
}
.go {
color:#303030;
}
.gp {
color:#C65D09;
font-weight:bold;
}
.gs {
font-weight:bold;
}
.gu {
color:#800080;
font-weight:bold;
}
.gt {
color:#0040D0;
}
.kc {
color:#007020;
font-weight:bold;
}
.kd {
color:#007020;
font-weight:bold;
}
.kn {
color:#007020;
font-weight:bold;
}
.kp {
color:#007020;
}
.kr {
color:#007020;
font-weight:bold;
}
.kt {
color:#902000;
}
.m {
color:#208050;
}
.s {
color:#4070A0;
}
.na {
color:#4070A0;
}
.nb {
color:#007020;
}
.nc {
color:#0E84B5;
font-weight:bold;
}
.no {
color:#60ADD5;
}
.nd {
color:#555555;
font-weight:bold;
}
.ni {
color:#D55537;
font-weight:bold;
}
.ne {
color:#007020;
}
.nf {
color:#06287E;
}
.nl {
color:#002070;
font-weight:bold;
}
.nn {
color:#0E84B5;
font-weight:bold;
}
.nt {
color:#062873;
font-weight:bold;
}
.nv {
color:#BB60D5;
}
.ow {
color:#007020;
font-weight:bold;
}
.w {
color:#BBBBBB;
}
.mf {
color:#208050;
}
.mh {
color:#208050;
}
.mi {
color:#208050;
}
.mo {
color:#208050;
}
.sb {
color:#4070A0;
}
.sc {
color:#4070A0;
}
.sd {
color:#4070A0;
font-style:italic;
}
.s2 {
color:#4070A0;
}
.se {
color:#4070A0;
font-weight:bold;
}
.sh {
color:#4070A0;
}
.si {
color:#70A0D0;
font-style:italic;
}
.sx {
color:#C65D09;
}
.sr {
color:#235388;
}
.s1 {
color:#4070A0;
}
.ss {
color:#517918;
}
.bp {
color:#007020;
}
.vc {
color:#BB60D5;
}
.vg {
color:#BB60D5;
}
.vi {
color:#BB60D5;
}
.il {
color:#208050;
}

View file

@ -1,414 +0,0 @@
/*
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License
*/
@import url("pygment.css");
body {
margin: 30px 0px 0px 0px;
padding: 0;
background: #7E776F url('../images/img01.jpg') repeat left top;
font-family: Arial, Helvetica, sans-serif;
font-size: 13px;
color: #3E3B36;
}
.summary h2{font-size:1.6em; color:black;}
h1, h2, h3 {
margin: 0;
padding: 0;
font-weight: normal;
color: #F0E9E9;
}
h1 {
font-size: 2em;
}
h2 {
font-size: 2.8em;
}
h3 {
font-size: 1.6em;
}
p, ul, ol {
margin-top: 0;
line-height: 180%;
}
ul, ol {
}
a {
text-decoration: none;
color: #4D8D99;
}
a:hover {
}
#wrapper {
margin: 0 auto;
padding: 0;
}
/* Header */
#header-wrapper {
height: 100px;
background: #3C3230;
border-bottom: 10px solid #4F4440;
}
#header {
width: 950px;
margin: 0 auto;
padding: 0px 0px 0px 30px;
}
/* Logo */
#logo {
width: 280px;
height: 140px;
margin: 0;
padding: 0;
background: url('../images/img07.jpg') no-repeat left top;
color: #34312C;
}
#logo h1, #logo p {
margin: 0;
padding: 0;
letter-spacing: -2px;
text-align: center;
font-family: Georgia, "Times New Roman", Times, serif;
}
#logo h1 {
margin: 0px 0px -20px 0px;
padding: 20px 0px 0px 0px;
font-size: 50px;
color: #4D8D99;
}
#logo h1 a {
color: #F0E9E9;
}
#logo p {
margin: 0px;
padding: 0px;
font-size: 26px;
}
#logo a {
border: none;
background: none;
text-decoration: none;
color: #34312C;
}
/* Search */
#search {
width: 280px;
height: 50px;
padding: 20px 0px 0px 0px;
background: url('../images/img05.jpg') no-repeat left 15px;
}
#search form {
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
}
#search fieldset {
margin: 0;
padding: 0;
border: none;
}
#search-text {
width: 190px;
padding: 0px 5px 2px 10px;
border: none;
background: none;
text-transform: lowercase;
font: normal 11px Arial, Helvetica, sans-serif;
color: #34312C;
}
#search-submit {
width: 70px;
height: 22px;
border: none;
border: none;
background: none;
text-indent: -99999px;
color: #34312C;
}
/* Menu */
#menu {
width: 280px;
margin: 20px auto 20px auto;
padding: 0;
}
#menu ul {
margin: 0;
padding: 50px 0px 0px 0px;
list-style: none;
line-height: normal;
}
#menu li {
border-bottom: 1px dashed #191918;
}
#menu a {
display: block;
width: 260px;
height: 27px;
margin: 4px 0px;
padding: 8px 0px 0px 20px;
text-decoration: none;
text-transform: capitalize;
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
font-weight: normal;
color: #FFF;
}
#menu a:hover, #menu .current_page_item a {
background: url('../images/img06.jpg') no-repeat left top;
text-decoration: none;
}
#menu .current_page_item a {
}
/* Page */
#page {
width: 1000px;
margin: 0 auto;
background: url('../images/img04.jpg') repeat-y left top;
}
#page-bgtop {
background: url('../images/img02.jpg') no-repeat left top;
}
#page-bgbtm {
overflow: hidden;
width: 920px;
padding: 20px 40px 20px 40px;
background: url(images/img03.jpg) no-repeat left bottom;
}
/* Content */
#content {
float: right;
width: 520px;
padding: 70px 30px 0px 60px;
}
.post {
margin-bottom: 40px;
}
.post .title {
padding: 0px 0px 0px 0px;
font-family: Georgia, "Times New Roman", Times, serif;
letter-spacing: -.5px;
}
.post .title a {
color: #52483E;
border: none;
}
.post .meta {
margin-bottom: 0px;
padding: 10px 0px 0px 0px;
text-align: left;
font-family: Arial, Helvetica, sans-serif;
font-size: 13px;
font-weight: bold;
}
.post .meta .date {
float: left;
}
.post .meta .posted {
float: right;
}
.post .meta a {
}
.post .entry {
padding: 0px 0px 20px 0px;
border-bottom: 1px dotted #99938B;
text-align: justify;
}
.post .entry dt {
font-weight:bold ;
}
.post img {
margin:10px;
border:black;
}
.summary img{
display:none
}
.entry h2{
font-size: 1.6em;
color: #36302a;
}
.entry h3{
font-size: 1.2em;
color: #36302a;
}
h2.title {
font-size:2.8em;
}
.highlight{
background:black;
padding:2px;
}
.highlight pre{
color:white;
}
.highlight{
overflow:auto;
}
.links {
padding-top: 20px;
font-size: 12px;
font-weight: bold;
}
/* Sidebar */
#sidebar {
float: left;
width: 280px;
margin: 0px;
padding: 0px 0px 80px 10px;
color: #787878;
}
#sidebar ul {
margin: 0;
padding: 0;
list-style: none;
}
#sidebar li {
margin: 0;
padding: 0;
}
#sidebar li ul {
margin: 0px 0px 0px 20px;
padding-bottom: 30px;
}
#sidebar li li {
line-height: 35px;
border-bottom: 1px dashed #191918;
border-left: none;
}
#sidebar li li span {
display: block;
margin-top: -20px;
padding: 0;
font-size: 11px;
font-style: italic;
}
#sidebar li li a {
color: #787878;
}
#sidebar li li a:hover {
color: #F0E9E9;
}
#sidebar h2 {
height: 38px;
letter-spacing: -.5px;
font-size: 1.8em;
}
#sidebar p {
margin: 0 0px;
padding: 0px 20px 20px 20px;
}
#sidebar a {
border: none;
}
#sidebar a:hover {
}
/* Calendar */
#calendar {
}
#calendar_wrap {
padding: 20px;
}
#calendar table {
width: 100%;
}
#calendar tbody td {
text-align: center;
}
#calendar #next {
text-align: right;
}
/* Footer */
#footer {
width: 920px;
height: 80px;
margin: 0 auto;
padding: 0px 0 15px 310px;
font-family: Arial, Helvetica, sans-serif;
}
#footer p {
margin: 0;
padding-top: 20px;
line-height: normal;
font-size: 9px;
text-transform: uppercase;
text-align: center;
color: #69635E;
}
#footer a {
color: #474440;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

View file

@ -1,11 +0,0 @@
{% if GOOGLE_ANALYTICS %}
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("{{GOOGLE_ANALYTICS}}");
pageTracker._trackPageview();
} catch(err) {}</script>
{% endif %}

View file

@ -1,19 +0,0 @@
{% extends "base.html" %}
{% block title %}Archives de {{ SITENAME }}{% endblock %}
{% block content %}
<div id="content">
<div class="post">
<dl>
<h2 class="title">Archives de {{ SITENAME }}</h2>
{% for article in dates %}
<dt>{{ article.locale_date }}</dt>
<dd><a href='{{ article.url }}'>{{ article.title }}</a></dd>
<dd>Catégorie : <a href="{{ article.category }}">{{ article.category }}</a></dd>
{% endfor %}
</dl>
</div>
<div style="clear: both;">&nbsp;</div>
</div>
<!-- end #content -->
{% endblock %}

View file

@ -1,35 +0,0 @@
{% extends "base.html" %}
{% block title %}{{ article.title }}{% endblock %}
{% block content %}
<div id="content">
<div class="post">
<h2 class="title"><a href="{{ article.url }}">{{ article.title }}</a></h2>
<p class="meta"><span class="date">Le {{ article.locale_date }} </span><span class="posted">Par <a href="#">{{ article.author }}</a></span><span>&nbsp; | Catégorie : <a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a></span></p>
<p class="meta">Tags : {% for tag in article.tags %}
<span><a href="{{ SITEURL }}/tag/{{ tag }}.html">{{ tag }}</a> / </span>
{% endfor %}</p>
<div style="clear: both;">&nbsp;</div>
<div class="entry">
{{ article.content }}
{% include 'twitter.html' %}
</div>
</div>
<div style="clear: both;">&nbsp;</div>
{% if DISQUS_SITENAME %}
<div class="post">
<h2 class="title">Commentaires !</h2>
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_identifier = "{{ article.url }}";
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = 'http://{{ DISQUS_SITENAME }}.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
</div>
{% endif %}
</div>
<!-- end #content -->
{% endblock %}

View file

@ -1,108 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License
Name : Brown Stone
Description: A two-column, fixed-width design with dark color scheme.
Version : 1.0
Released : 20100928
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>{% block title %}{{ SITENAME }}{%endblock%}</title>
<link href="{{ SITEURL }}/theme/css/style.css" rel="stylesheet" type="text/css" media="screen" />
<link href="{{ SITEURL }}/{{ FEED }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed" />
{% if FEED_RSS %}
<link href="{{ SITEURL }}/{{ FEED_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
{% endif %}
</head>
<body>
<div id="wrapper">
<div id="page">
<div id="page-bgtop">
<div id="page-bgbtm">
{% block content %}
{% endblock %}
<div id="sidebar">
<div id="logo">
<h1><a href="{{ SITEURL }}">{{ SITENAME }}</h1>
{% if SITESUBTITLE %}<p>{{ SITESUBTITLE }}</p>{% endif %}
</div>
<div id="menu">
<ul>
<li class="current_page_item"><a href="{{ SITEURL }}">Home</a></li>
<li><a href="{{ SITEURL }}/archives.html">Archives</a></li>
{% if DISPLAY_PAGES_ON_MENU %}
{% for page in PAGES %}
<li><a href="{{ SITEURL }}/pages/{{ page.url }}">{{ page.title }}</a></li>
{% endfor %}
{% endif %}
</ul>
</div>
<ul>
<li>
<h2>Catégories</h2>
<ul>
{% for cat, null in categories %}
<li {% if cat == category %}class="active"{% endif %}><a href="{{ SITEURL }}/category/{{ cat }}.html">{{ cat }}</a></li>
{% endfor %}
</ul>
</li>
{% if LINKS %}
<li>
<h2>Blogroll</h2>
<ul>
{% for name, link in LINKS %}
<li><a href="{{ link }}">{{ name }}</a></li>
{% endfor %}
</ul>
</li>
{% endif %}
{% if SOCIAL %}
<li>
<h2>Social</h2>
<ul>
<li><a href="{{ SITEURL }}/{{ FEED }}" rel="alternate">Flux Atom</a></li>
{% if FEED_RSS %}
<li><a href="{{ SITEURL }}/{{ FEED_RSS }}" rel="alternate">Flux Rss</a></li>
{% endif %}
{% for name, link in SOCIAL %}
<li><a href="{{ link }}">{{ name }}</a></li>
{% endfor %}
</ul>
</li><!-- /.social -->
{% endif %}
<li>
<h2>Tags</h2>
<ul>
{% for tag, articles in tags %}
<li><a href="{{ SITEURL }}/tag/{{ tag }}.html">{{ tag }}</a></li>
{% endfor %}
</ul>
</li>
</ul>
</div>
<!-- end #sidebar -->
<div style="clear: both;">&nbsp;</div>
</div>
</div>
</div>
<!-- end #page -->
<div id="footer">
<p>Copyright (c) 2008 Sitename.com. All rights reserved. Design by <a href="http://www.freecsstemplates.org/">CSS Templates</a>.</p>
<p>Proudly powered by <a href="http://alexis.notmyidea.org/pelican/">pelican</a>, which takes great advantages of <a href="http://python.org">python</a>.
</p>
</div>
{% include 'analytics.html' %}
<!-- end #footer -->
</body>
</html>

View file

@ -1,18 +0,0 @@
{% extends "base.html" %}
{% block content %}
<div id="content">
<div class="post">
{% if articles %}
{% for article in articles %}
{% if loop.index == 1 %}
<ul>
{% for category, articles in categories %}
<li>{{ category }}</li>
{% endfor %}
</ul>
{% endif %}
{% endfor %}
{% endif %}
</div>
</div>
{% endblock %}

View file

@ -1,2 +0,0 @@
{% extends "index.html" %}
{% block title %}{{ SITENAME }} - {{ category }}{% endblock %}

View file

@ -1,43 +0,0 @@
{% extends "base.html" %}
{% block content_title %}{% endblock %}
{% block content %}
{% if articles %}
{% for article in articles %}
{% if loop.index == 1 %}
<div id="content">
<div class="post">
<h2 class="title"><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h2>
<p class="meta"><span class="date">Le {{ article.date.locale_date }} </span><span class="posted">Par <a href="#">{{ article.author }}</a></span><span>&nbsp; | Catégorie : <a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a></span></p>
<p class="meta">Tags : {% for tag in article.tags %}
<span><a href="{{ SITEURL }}/tag/{{ tag }}.html">{{ tag }}</a> / </span>
{% endfor %}</p>
<div style="clear: both;">&nbsp;</div>
<div class="entry">
{{ article.content }}
{% include 'twitter.html' %}
</div>
</div>
{% if loop.length > 1 %}
<div class="post">
<h2 class="title">Autres articles</h2>
</div>
{% endif %}
{% else %}
<div class="post summary">
<h2 class="title"><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h2>
<p class="meta"><span class="date">Le {{ article.locale_date }}</span><span class="posted">Par <a href="#">{{ article.author }}</a></span></p>
<div style="clear: both;">&nbsp;</div>
<div class="entry">
{{ article.summary }}
<a class="readmore" href="{{ SITEURL }}/{{ article.url }}">Lire la suite …</a>
</div>
</div>
{% endif %}
{% endfor %}
{% else %}
<div id="content">
</div>
{% endif %}
<div style="clear: both;">&nbsp;</div>
</div>
{% endblock content %}

View file

@ -1,17 +0,0 @@
{% extends "base.html" %}
{% block title %}{{ page.title }}{% endblock %}
{% block content %}
<div id="content">
<div class="post">
<h2 class="title"><a href="{{ SITEURL }}/pages/{{ page.url }}">{{ page.title }}</a></h1>
{% if PDF_PROCESSOR %}<a href="{{ SITEURL }}/pdf/{{ page.slug }}.pdf">get
the pdf</a>{% endif %}
<div style="clear: both;">&nbsp;</div>
<div class="entry">
{{ page.content }}
{% include 'twitter.html' %}
</div>
</div>
</div>
{% endblock %}

View file

@ -1,2 +0,0 @@
{% extends "index.html" %}
{% block title %}{{ SITENAME }} - {{ tag }}{% endblock %}

View file

@ -1,12 +0,0 @@
{% extends "base.html" %}
{% block content %}
<div id="content">
<div class="post">
<ul>
{% for tag, articles in tags %}
<li>{{ tag }}</li>
{% endfor %}
</ul>
</div>
</div>
{% endblock %}

View file

@ -1,3 +0,0 @@
{% if TWITTER_USERNAME %}
<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="{{TWITTER_USERNAME}}">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
{% endif %}

View file

@ -1,404 +0,0 @@
/* Resets to avoid browser differences */
body, button, div, fieldset, form, h1, h2, h3, input, label, li, p, pre, td, textarea, .typygmentdown {
margin: 0;
padding: 0;
text-align: justify;
font-family: Georgia, serif;
font-size: 100%;
line-height: 1.25;
letter-spacing: 0;
border: none;
background: none;
}
/* Overall page layout */
body {
background: white;
color: black;
color: #303030;
}
@media screen {
body {
width: 700px;
margin: 20px auto;
}
}
@media print {
body {
margin: 0 2em;
}
}
/* Headings */
h1, h2, h3, h4, h5, h6, .info, .info p {
font-family: Times, serif;
font-weight: normal;
page-break-inside: avoid;
}
h1 .caps, h2 .caps, h3 .caps {
letter-spacing: -.05em;
}
h1 {
font-family: Times, serif;
text-align: center;
font-size: 2.25em;
line-height: 1.111;
padding-right: 0.08em;
letter-spacing: -.07em;
}
h2 {
margin-top: 0.714em;
font-size: 1.75em;
line-height: 0.714;
letter-spacing: -.05em;
}
h3 {
margin-top: 0.926em;
font-size: 1.35em;
line-height: 0.926;
letter-spacing: -.03em;
}
h1 .dquo, h2 .dquo, h3 .dquo, h4 .dquo, h5 .dquo, h6 .dquo {
margin-left: -.4em;
}
.info, .info p {
text-align: center;
letter-spacing: -.03em;
}
.info p {
margin: 0;
}
.info img.g {
width: 24px;
height: 24px;
margin: -7px 0;
}
#home h2 a[href*="http://"] {
padding-right: 28px;
background: url("/static/link.png") right center no-repeat;
}
#home h2 a[href*="http://"]:visited {
padding-right: 28px;
background: url("/static/visited.png") right center no-repeat;
}
h2 + p.published {
float: right;
margin-top: -1.25em;
}
.copyright {
margin: 1.25em 0;
}
/* Page text */
p, p[class] + p {
margin-top: 1.25em;
widows: 2;
orphans: 2;
text-indent: 0;
clear: left;
}
p + p {
text-indent: 1.5em;
margin-top: 0;
}
p ~ img {
display: block;
margin: 1.25em auto;
}
.caps {
letter-spacing: 0.1em;
font-size: 75%;
}
abbr {
border-bottom: 1px dotted black;
}
blockquote {
margin: 0 1em;
font-style: italic;
letter-spacing: -0.0625em;
}
blockquote em {
font-style: normal;
letter-spacing: 0;
}
div.image {
text-align: center;
margin: 1.25em 0;
}
img {
border: none;
}
.side {
position: absolute;
width: 150px;
height: auto;
margin-left: 710px;
}
.left.side {
margin-left: -160px;
}
.right.side {
margin-left: 710px;
}
@media screen {
h1 a, h2 a, h3 a, .info a {
text-decoration: none;
}
a:link {
color: #85ac40;
}
a:visited {
color: #61883b;
}
::selection {
background: #dcff9d;
}
::-moz-selection {
background: #e2ffaf;
}
}
@media print {
a {
color: inherit;
text-decoration: none;
}
abbr {
border-bottom: none;
}
}
/* Lists */
ul, ol {
margin: 1.25em 0 1.25em -1.5em;
padding-left: 1.5em;
}
ul ul, ul ol, ol ol, ol ul {
margin: 0;
}
ul li {
list-style: disc;
}
li p {
margin: 0;
}
/* Code */
pre {
margin-top: 1.47em;
font-family: Courier;
font-size: .85em;
line-height: 1.47;
overflow: visible;
}
code {
font-family: Courier;
font-size: .85em;
line-height: 1;
}
.typygmentdown .c {
font-style: italic;
}
.typygmentdown .k, .typygmentdown .ow {
color: #404040;
}
.typygmentdown .c, .typygmentdown .sd {
color: #808080;
}
/* Comments */
#comment-list {
margin: 0;
padding: 0;
}
#comment-list li {
padding-bottom: 1.25em;
}
#comment-list cite {
font-style: normal;
}
#comment-list cite + blockquote {
margin-top: 0;
}
#comment-list blockquote {
margin: 0;
}
#comment-list p {
margin-top: 1.25em;
text-indent: 0;
}
#comment-form th {
width: 25%;
}
#comment-form input, #comment-form select, #comment-form textarea {
width: 100%;
}
@media print {
#comment-list, #comment-form {
display: none;
}
}
/* Friends */
#friends li {
list-style: none;
margin-left: 0;
padding-left: 0;
}
#friends a[rel] {
margin-left: 20px;
}
#friends a[rel~="colleague"] {
background: url("/static/dj.png") left center no-repeat;
margin-left: 0;
padding-left: 20px;
}
/* Forms */
form, form p {
text-indent: 0;
text-align: left;
}
from th, form td {
margin: 0;
padding: 0;
}
input, select, textarea {
background: white;
line-height: 1.5;
}
input[type="submit"], button {
border: 1px outset;
text-align: center;
background: #85ac40;
padding: .2em;
}
input[type="text"], textarea {
vertical-align: top;
border: 1px solid #e0e0e0;
}
input[type="text"], select {
width: 15em;
}
textarea {
width: 45em;
height: 7.5em;
overflow: auto;
}
#honeypot {
display: none;
}
/* Tables */
table {
border-collapse: collapse;
border: none;
margin: 1.25em auto;
}
caption {
border-bottom: 1px solid #303030;
}
thead th {
border-bottom: 1px solid #303030;
}
tfoot th,
tfoot td {
border-top: 1px solid #303030;
}
th[scope="row"],
th[scope="col"] {
text-align: left;
}
tbody + tbody th, tbody + tbody td {
border-top: 1px solid #d0d0d0;
}
tbody + tbody tr + tr th,
tbody + tbody tr + tr td,
tfoot tr + tr th,
tfoot tr + tr td {
border-top: none;
}
th, td {
padding: 0 0.5em;
font-weight: normal;
vertical-align: top;
}
table.numeric td, table.numeric th[scope="col"] {
text-align: right;
}

View file

@ -1,13 +0,0 @@
{% extends "base.html" %}
{% block title %}{{ article.title }}{%endblock%}
{% block content %}
<h1>{{ article.title }}</h1>
<div class="info">
{% if article.author %}
By <a class="url fn" href="#">{{ article.author }}</a>
{% endif %}
on <a>{{ article.date.locale_date }}</a>
about <a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a>
</div>
{{ article.content }}
{% endblock %}

View file

@ -1,15 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>{% block title %}{{ SITENAME }}{%endblock%}</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/style.css" type="text/css" />
<link href="{{ SITEURL }}/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed" />
</head>
<body>
{% block content %} {% endblock %}
<div class="copyright info vcard">Design by <a class="fn url"
href="http://martyalchin.com">Marty Alchin</a>, <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/us/">some rights reserved</a>. Powered by <a href="http://alexis.notomyidea.org/pelican/">pelican</a></div>
</body>
</html>

View file

@ -1,9 +0,0 @@
{% extends "base.html" %}
{% block title %}{{ category }}{%endblock%}
<h1>{{ category }}</h1>
<div class="info"></div>
{% for article in articles %}
<h2><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h2>
<p class="published">{{ article.locale_date }}</p>
{{ article.summary }}
{% endfor %}

View file

@ -1,10 +0,0 @@
{% extends "base.html" %}
{% block content %}
<h1><a href="{{ SITEURL }}">{{ SITENAME }}</a></h1>
{% if SITESUBTITLE %} <div class="info">{{ SITESUBTITLE }}</div> {% endif %}
{% for article in articles %}
<h2><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h2>
<p class="published">{{ article.locale_date }}</p>
{{ article.summary }}
{% endfor %}
{% endblock %}

View file

@ -1,7 +0,0 @@
{% extends "base.html" %}
{% block title %}{{ page.title }}{%endblock%}
{% block content %}
<h1>{{ page.title }}</h1>
{{ page.content }}
{% endblock %}