From c8a12b240a8228c88b2194f7be918d5b811e3a94 Mon Sep 17 00:00:00 2001 From: Gabriel Dunne Date: Mon, 3 Oct 2011 23:14:55 +0530 Subject: [PATCH] first posts to india blog --- content/config | 1 - content/journal/2011_10_01_firstpost | 5 ++ content/photo/2011_9_27_habitat | 7 ++ css/style.css | 108 +++++++++++++-------------- lib/init.php | 2 +- templates/entry.html.tpl | 4 +- 6 files changed, 67 insertions(+), 60 deletions(-) delete mode 100644 content/config create mode 100644 content/journal/2011_10_01_firstpost create mode 100644 content/photo/2011_9_27_habitat diff --git a/content/config b/content/config deleted file mode 100644 index f90d27c..0000000 --- a/content/config +++ /dev/null @@ -1 +0,0 @@ -title = index \ No newline at end of file diff --git a/content/journal/2011_10_01_firstpost b/content/journal/2011_10_01_firstpost new file mode 100644 index 0000000..2ec15fe --- /dev/null +++ b/content/journal/2011_10_01_firstpost @@ -0,0 +1,5 @@ +title = arrive +date = 2011-9-22 +-- + +SFO -> AMS -> DEL \ No newline at end of file diff --git a/content/photo/2011_9_27_habitat b/content/photo/2011_9_27_habitat new file mode 100644 index 0000000..c37315d --- /dev/null +++ b/content/photo/2011_9_27_habitat @@ -0,0 +1,7 @@ +title = habitat +date = 2011-9-27 +-- + + + +view from vishal's room onto the up and coming Guargon area, outside Delhi diff --git a/css/style.css b/css/style.css index 9e8f7be..8797622 100644 --- a/css/style.css +++ b/css/style.css @@ -1,75 +1,69 @@ -body { margin:20px 100px 50px 30px; } +body { + padding:20px 40px; +} html, body, table { - font-family: serif; - font-size:16px; + font-family: sans-serif; line-height:1.4em; - color:#44d; } +a { + color:#999; +} +a img { + border:0; +} +a.mute { + font-weight:normal; +} +a:hover, a.mute:hover { + color:#d15; +} -::-moz-selection {background: #08f !important; color:#fff;} -::selection {background: #08f !important; color:#fff;} +h1, h2, h3, h4, h5, h6 { + font-size:1em; +} +h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { +} + +ul, li { + margin:0; padding:0; list-style-type:none; +} +ol { + margin:0; +} +ol li { + list-style-type:decimal; +} -a { color:#000; border:0; padding:0.2em 0.1em 0 0; } -a img { border:0; } -a.mute { text-decoration:none !important; font-weight:normal;} -a:hover, a.mute:hover { color:#d15; text-decoration:none; } +blockquote { + font-style:italic; +} -h1, h2, h3, h4, h5, h6 { font-family:'Droid Serif'; font-size:1em; } -h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { } -h1 { margin:0 0 3em 0; } -h2 { margin:0 0 0.5em 0; } -h3 { margin:0 0 0 0; } -h4 { margin-top:0; } +#content { +} +#content p:first-child { +} -ul, li { margin:0; padding:0; list-style-type:none; } -ol { margin:0;} -ol li { list-style-type:decimal; } -blockquote { font-family:times; background:#000; color:#aaa; -margin:0; font-size:15px; line-height:1.4em; padding:2em 4em; font-style:italic; line-height:1.45em; max-width:600px;} +.nav { + display:none; +} +.nav a { + text-decoration:none; + font-weight:bold; +} -#content { padding-left:160px; min-width:500px; padding-bottom:200px; z-index:10; } -#content p:first-child { margin-top:0; } -p { max-width:720px; } -.nav { position:fixed; top:20px; left:20px; } -.nav a { text-decoration:none; font-weight:bold; } -.nav a.mute { font-weight:normal; } -.nav h1 { } -.index { padding:0; margin:0; } -.index li {line-height:1.1em; margin-bottom:0.4em; } -.index li a { text-decoration:underline; font-weight:normal; } .entry { margin-bottom:100px; } +.entry p { + max-width:800px; +} .entry h2 { padding-bottom:4px; font-size:1.3em;} -.entry .metadata { font-style:italic; color:#bbb; } +.entry .metadata { font-style:italic; color:#777; font-size:12px;} .entry .metadata a { color:#999; } .entry .metadata a:hover { color: #000;} -.entry .metadata .tags li { display:inline-block; margin-right:0.3em; } - -.more, .home { text-decoration:none; color:#000; font-weight:bold; } - -table { margin:0; padding:0; border:0; } -table .column { padding-right:100px; min-width:120px; max-width:400px; } -table .column h2 a { text-decoration:none; } -table h2, table h3 { margin-bottom:2em; } -table .video li, table .image li { margin-bottom:2em; } -table .reader li, table .bookmarks li { margin-bottom:1em; padding-bottom:1em; border-bottom:1px dotted #ddd; } -.reader_links li, .bookmark_links li { padding-top:.75em; margin-bottom:.75em; } -.bookmark_links li a { display:block; } -.bookmark_links li span { font-style: italic; color:#444; } -.image li a { background:none; } - -#footer { margin-top:120px; } -#footer .copy a { text-decoration:none; } - -a.rss { - background:url("/img/rss-icon.png") no-repeat scroll right center transparent; - padding:0 1.3em 0 0; -} -a.external { - background:url("/img/external-icon.png") no-repeat scroll right center transparent; - padding:0 1.3em 0 0; +.entry .metadata .tags li { + display:inline-block; margin-right:0.3em; } \ No newline at end of file diff --git a/lib/init.php b/lib/init.php index a6efdde..a1e8370 100644 --- a/lib/init.php +++ b/lib/init.php @@ -21,7 +21,7 @@ ini_set('include_path', ini_get('include_path') . PATH_SEPARATOR . dirname(realp # settings define ('CLEAN_URLS', false); -define ('SITE_TITLE', 'plog'); +define ('SITE_TITLE', 'india 2011'); define ('LOCAL_ROOT', '/Users/gdunne/Sites/india/'); define ('WEB_ROOT', '/~gdunne/india/'); define ('CONTENT_DIR', 'content/'); diff --git a/templates/entry.html.tpl b/templates/entry.html.tpl index b1db120..ebc5396 100644 --- a/templates/entry.html.tpl +++ b/templates/entry.html.tpl @@ -9,9 +9,11 @@
- posted + + in
+