Skip to content

Commit

Permalink
theme variant from mnmlist
Browse files Browse the repository at this point in the history
  • Loading branch information
Stéphane Caron committed Mar 20, 2013
1 parent 53d6c42 commit da81010
Show file tree
Hide file tree
Showing 33 changed files with 777 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nmnlist/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
This theme is uncopyrighted (http://mathieu.agopian.info/mnmlist/theme.html), and is an adaptation of the mnmlist theme for wordpress, which is also uncopyrighted (http://mnmlist.com/theme/).

This theme is also free, and offered as is.
22 changes: 22 additions & 0 deletions nmnlist/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
mnmlist
#######

This is the `mnmlist theme <http://mnmlist.com/theme>`_ adapted for Pelican.


Settings
~~~~~~~~

There's one additional setting used by this theme, if present:

::

HIDE_DATE = False

If ``HIDE_DATE`` is set to ``True``, dates won't be displayed under the blog post titles.


Compass
~~~~~~~

The ``main.css`` file is generated from the ``compass/src/main.scss`` sass file, using http://compass-style.org/.
6 changes: 6 additions & 0 deletions nmnlist/compass/config.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Require any additional compass plugins here.
# Set this to the root of your project when deployed:
css_dir = "../static/css"
sass_dir = "src"
# To enable relative paths to assets via compass helper functions. Uncomment:
relative_assets = true
138 changes: 138 additions & 0 deletions nmnlist/compass/src/main.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
/*
Theme Name: mnmlist
Theme URI: http://mathieu.agopian.info/mnmlist/theme.html
Description: Theme adapted from http://mnmlist.com/theme/ from Leo Babauta, a very clean minimalist theme, without comments, search, archives or other features.
Author: Mathieu Agopian
Autor URI: http://mathieu.agopian.info
This theme is uncopyrighted, free, and offered as is.
*/

@import url("pygment.css");

body {
background: #fff;
color: #333;
font: 20px Hoefler Text, bodyfont, serif;
line-height: 30px;
max-width: 30em;
margin: 60px 14px 0 64px;
}

@mixin heading ($font-size, $color: #666) {
color: $color;
font-family: Helvetica, sans-serif;
font-size: $font-size;
}

h1 {
@include heading(1.5em, #333);
font-weight: normal;
margin-bottom: 0;
}

h2 {
@include heading(1.3em);
}

h3 {
@include heading(1em);
}

h4 {
@include heading(0.9em);
}

time {
color: #c0c0c0;
font-size: 50%;
}

img {
border: none;
}

blockquote {
border-left: 1px solid #A5ABAB;
margin:0px;
padding:0 12px 0 12px;
}

p {
line-height: 30px;
margin:30px auto;
text-indent: 0px;
&.caption {
font-size: 80%;
margin-top: 0;
}
}

a {
border-bottom: #999 1px solid;
color: #303030;
text-decoration: none;
&:hover { color: #999; }
}

ul, ol {
padding: .5em 0em 1em 3.2em;
li {
line-height: 30px;
padding: 6px 0 0 0;
}
}

strong {
color: #555555;
font-family: Georgia, "Times New Roman", Times, serif;
font-weight: bold;
}

tt, pre {
background-color: #fafafa;
font-family: Inconsolata, Monaco, monospace;
line-height: 1.2em;
}

pre {
font-size: 0.8em;
overflow: auto;
padding: 10px;
}

header {
padding-bottom: 20px;
a {
border-bottom: none;
&#page-title { font-weight: bold; }
}
}

#article-list {
margin-top: 100px;
ol li {
line-height: 1.2em;
list-style-type: none;
padding-bottom: 10px;
}
}

footer {
background: #fff;
color: #666;
font-family:helvetica, sans-serif;
font-size:13px;
letter-spacing:4px;
margin-left: 20px;
a {
border-bottom: none;
color: #c0c0c0;
}
li {
display: inline;
}
p {
text-align: right;
}
}
Binary file added nmnlist/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added nmnlist/static/css/.main.css.un~
Binary file not shown.
Binary file added nmnlist/static/css/.pygment.css.un~
Binary file not shown.
185 changes: 185 additions & 0 deletions nmnlist/static/css/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,185 @@
/*
Theme Name: mnmlist
Theme URI: http://mathieu.agopian.info/mnmlist/theme.html
Description: Theme adapted from http://mnmlist.com/theme/ from Leo Babauta, a very clean minimalist theme, without comments, search, archives or other features.
Author: Mathieu Agopian
Autor URI: http://mathieu.agopian.info
This theme is uncopyrighted, free, and offered as is.
Update (inverted colors, minor changes) by Tastalian, 2013-03-20.
*/

@import url("pygment.css");

/* line 13, ../../compass/src/main.scss */
body {
background: #111;
color: #EEE;
font: 20px Hoefler Text, bodyfont, serif;
line-height: 30px;
max-width: 30em;
margin: 60px 14px 0 64px;
}

/* line 28, ../../compass/src/main.scss */
h1 {
color: #F00;
font-family: Helvetica, sans-serif;
font-size: 1.5em;
font-weight: normal;
margin-bottom: 0;
}

/* line 34, ../../compass/src/main.scss */
h2 {
color: #DDD;
font-family: Helvetica, sans-serif;
font-size: 1.3em;
}

/* line 38, ../../compass/src/main.scss */
h3 {
color: #CCC;
font-family: Helvetica, sans-serif;
font-size: 1em;
}

/* line 42, ../../compass/src/main.scss */
h4 {
color: #CCC;
font-family: Helvetica, sans-serif;
font-size: 0.9em;
}

/* line 46, ../../compass/src/main.scss */
time, #sitename {
color: #c0c0c0;
font-size: 75%;
font-variant: small-caps;
}

/* line 51, ../../compass/src/main.scss */
img {
border: none;
}

/* line 55, ../../compass/src/main.scss */
blockquote {
border-left: 1px solid #A5ABAB;
margin: 0px;
padding: 0 12px 0 12px;
}

/* line 61, ../../compass/src/main.scss */
p {
line-height: 30px;
margin: 30px auto;
text-indent: 0px;
}

/* line 65, ../../compass/src/main.scss */
p.caption {
font-size: 80%;
margin-top: 0;
}

/* my own link style (Tastalian) */

a {
color: #3B0;
text-decoration: none;
}

a:hover {
background-color: #3B0;
color: white;
}

a:visited {
color: #F60;
}

a:visited:hover {
background-color: #F60;
color: white;
}

/* line 78, ../../compass/src/main.scss */
ul, ol {
padding: .5em 0em 1em 3.2em;
}

/* line 80, ../../compass/src/main.scss */
ul li, ol li {
line-height: 30px;
padding: 6px 0 0 0;
}

/* line 86, ../../compass/src/main.scss */
strong {
color: #999;
font-family: Georgia, "Times New Roman", Times, serif;
font-weight: bold;
}

/* line 92, ../../compass/src/main.scss */
tt, pre {
background-color: #222;
font-family: Inconsolata, Monaco, monospace;
line-height: 1.2em;
}

/* line 98, ../../compass/src/main.scss */
pre {
font-size: 0.8em;
overflow: auto;
padding: 10px;
}

/* line 104, ../../compass/src/main.scss */
header {
padding-bottom: 20px;
}

/* line 106, ../../compass/src/main.scss */
header a {
border-bottom: none;
}

/* line 108, ../../compass/src/main.scss */
header a#page-title {
font-weight: bold;
}

/* line 112, ../../compass/src/main.scss */
#article-list {
margin-top: 100px;
}

/* line 114, ../../compass/src/main.scss */
#article-list ol li {
line-height: 1.2em;
list-style-type: none;
padding-bottom: 10px;
}

/* line 121, ../../compass/src/main.scss */
footer {
background: #222;
color: #CCC;
font-family: helvetica, sans-serif;
font-size: 13px;
letter-spacing: 4px;
margin-left: 20px;
}

/* line 132, ../../compass/src/main.scss */
footer li {
display: inline;
}

/* line 135, ../../compass/src/main.scss */
footer p {
text-align: right;
}
Loading

0 comments on commit da81010

Please sign in to comment.