From 6b7316257fff0974c89a86781b8bf64880e321f7 Mon Sep 17 00:00:00 2001 From: Gabriel Dunne Date: Sat, 15 Jun 2013 17:16:03 -0700 Subject: [PATCH] Cleanin up some stuff. --- css/style.css | 147 +++++++++++++++++++++--------------- data/content/data.json | 1 - data/content/tags.json | 1 - js/js.js | 4 + lib/config.ini | 4 +- lib/data.php | 3 +- pages/about | 9 --- pages/cv | 152 -------------------------------------- pages/projects | 1 + templates/all.html.tpl | 23 +++--- templates/entry.html.tpl | 4 +- templates/footer.html.tpl | 1 + templates/index.html.tpl | 7 +- templates/nav.html.tpl | 17 ++--- templates/tags.html.tpl | 8 +- 15 files changed, 115 insertions(+), 267 deletions(-) delete mode 100644 data/content/data.json delete mode 100644 data/content/tags.json delete mode 100644 pages/about delete mode 100755 pages/cv diff --git a/css/style.css b/css/style.css index b0a9a33..daeed78 100644 --- a/css/style.css +++ b/css/style.css @@ -1,17 +1,19 @@ html, body, table, textarea, input[type="text"] { - background:#fff; + background:#eee; color: #555; - font: 11px normal menlo, monaco, "Lucida Console", monospace;; + font: 11px normal menlo, monaco, "Lucida Console", monospace; letter-spacing:0.05em; /*font-family: sans-serif, monaco, monospace;*/ /*font: 11px/1.5em "Lucida Grande";*/ line-height: 1.5em; } body { - margin: 2em; } + margin: 2em; + + } a { border: 0pt none; - color:#000; + color:#999; /*font-weight:bold;*/ } a img { @@ -19,6 +21,7 @@ a { a.mute { text-decoration: none ! important; } a:hover, a.mute:hover { + color:#d05; text-decoration: none; } @@ -184,15 +187,45 @@ table, td, tr { } + +.entry p { + max-width:720px; } + .entry.news { + margin:0; + } + .entry.news div.entry { + margin:0; + padding:0; + margin-bottom:8em; + } + .entry.news .entry .title { + display:none; + } + .entry.news .date { + padding-top:0; + } +.entry.news .entry p { + margin:0; + padding:0; +} + + .entry.news .metadata { + margin:0; + } + .entry.news .metadata .tags { + display:none; + } + + + .entries li { font-weight:normal; line-height:1.2em; } - .entries.projects li { /*display:inline-block;*/ float:left; - + height:330px; width:200px; margin:0 2em 2em 0; } @@ -206,6 +239,10 @@ table, td, tr { padding-bottom:3em; height:350px; } +.entries.projects ul.tags li { + height:1.5em; + margin:0; + } .entry { } .entry .metadata { @@ -227,12 +264,9 @@ table, td, tr { .entry .metadata a { } .entry .title a { - margin-bottom:1em; /*color:#999;*/ } -.entry .metadata a:hover { - } .entry .metadata .date { color:#666; @@ -250,6 +284,7 @@ table, td, tr { .related.entries li { } .related a { + color:#444; text-decoration: none; } @@ -282,34 +317,35 @@ table, td, tr { -.entry p { - max-width:720px; } - .entry.news { - margin:0; - } - .entry.news div.entry { - margin:0; - padding:0; - margin-bottom:8em; - } - .entry.news .entry .title { - display:none; - } - .entry.news .date { - padding-top:0; - } -.entry.news .entry p { -margin:0; -padding:0; +.entries { +} +.entries li { + margin-bottom:4em; + text-align:center; +} +.entry h2.title { + font-size:12px; + font-weight:bold; + } + ul.entries li { + width:200px; + height:200px; + } +ul.entries li a { + font-weight:bold; + text-decoration: none; +} +a strong { + color:#000; +} +a:hover strong { + color:#f04; +} +ul.entries li a:hover { + /*text-decoration: underline;*/ } - .entry.news .metadata { - margin:0; - } - .entry.news .metadata .tags { - display:none; - } @@ -345,28 +381,6 @@ ul.image { -.entries { -} -.entries li { - margin-bottom:4em; -} -.entry h2.title { - font-size:12px; - font-weight:bold; - } - ul.entries li { - width:200px; - height:200px; - } -ul.entries li a { - font-weight:bold; - text-decoration: none; -} -ul.entries li a:hover { - text-decoration: underline; -} - - .tags { display:inline-block; @@ -378,9 +392,11 @@ ul.entries li a:hover { padding:0; } +.tag { + font-style: italic; +} .tag a { text-decoration:none; - font-style: italic; font-weight:normal !important; line-height: 16px; color:#777; @@ -412,16 +428,27 @@ ul.entries li a:hover { display:none; cursor: pointer; } +#slidenav { +margin:.75em 0 0 0; +} #slidenav li { width:1em; - height:1.5em; - line-height:1.5em; + height:1em; + line-height:1em; display:inline-block; + margin-right:4px; + margin-bottom:4px; } #slidenav li a { + width:100%; + height:100%; + display:inline-block; + background:#ccc; text-decoration: none; + color:#ccc; } #slidenav li a.active { - color:#f00; + color:#444; + background:#444; text-decoration: none; } diff --git a/data/content/data.json b/data/content/data.json deleted file mode 100644 index 5b58bba..0000000 --- a/data/content/data.json +++ /dev/null @@ -1 +0,0 @@ -{"entries":[{"config":{"title":"Audio-ShaderToy","date":"2012-04-03","tags":"code audiovisual","gallery":"slides","featured":"1"},"path":"\/Users\/gdunne\/_portfolio\/www\/content\/audioshadertoy\/_config","basename":"audioshadertoy","dirname":"\/Users\/gdunne\/_portfolio\/www\/content","filename":"_config","title":"Audio-ShaderToy","fileInfo":{},"timestamp":"1333436400","tags":["code","audiovisual"],"featured":"1","related":null,"content":"\n\n