Browse Source

some minor changes, updates to style, standards compliance, etc

master
Ben Kurtovic 12 years ago
parent
commit
317f950a77
4 changed files with 33 additions and 20 deletions
  1. +3
    -0
      .gitignore
  2. +2
    -2
      _layouts/base.html
  3. +2
    -2
      _layouts/home.html
  4. +26
    -16
      css/main.css

+ 3
- 0
.gitignore View File

@@ -1,2 +1,5 @@
# Ignore jekyll-generated site:
_site/

# Damnit, Apple!
.DS_Store

+ 2
- 2
_layouts/base.html View File

@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
@@ -7,7 +7,7 @@
</head>
<body>
<a href="http://github.com/earwig">
<img style="position: absolute; top: 0; right: 0; border: 0;" src="https://d3nwyuy0nl342s.cloudfront.net/img/71eeaab9d563c2b3c590319b398dd35683265e85/687474703a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67" alt="Fork me on GitHub">
<img style="position: absolute; top: 0; right: 0; border: 0;" src="https://d3nwyuy0nl342s.cloudfront.net/img/71eeaab9d563c2b3c590319b398dd35683265e85/687474703a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67" alt="Fork me on GitHub" />
</a>
<div id="container">
{{ content }}


+ 2
- 2
_layouts/home.html View File

@@ -24,7 +24,7 @@ layout: base
</tr>
<tr>
<td class="about-l light-l">PGP Key</td>
<td class="about-r light-r"><a href="http://pgp.mit.edu:11371/pks/lookup?search=0x8A19649AE8DBB515&fingerprint=on&op=index">E8DBB515</a></td>
<td class="about-r light-r"><a href="http://pgp.mit.edu:11371/pks/lookup?search=0x8A19649AE8DBB515&amp;fingerprint=on&amp;op=index">E8DBB515</a></td>
</tr>
<tr>
<td class="about-l dark-l">GitHub</td>
@@ -54,7 +54,7 @@ layout: base
<h2 class="topless">Posts</h2>
<ul>
{% for post in site.posts %}
<li>{{ post.date | date: "%b %d, %Y" }}: <a class="invert" href="{{ post.url }}">{{ post.title }}</a><br /><span class="description">{{ post.description }}</span></li>
<li class="post">{{ post.date | date: "%b %d, %Y" }}: <a class="invert" href="{{ post.url }}">{{ post.title }}</a><br /><span class="description">{{ post.description }}</span></li>
{% endfor %}
</ul>
</td>


+ 26
- 16
css/main.css View File

@@ -2,7 +2,7 @@ body {
font-family: helvetica, arial, clean, sans-serif;
font-size: 14px;
color: #000;
background-color: #E3E3E3;
background-color: #E0E0E0;
}

.highlight {
@@ -30,20 +30,20 @@ h1, h2 {
}

div.project {
border: 1px solid #DADADA;
border: 1px solid #CCC;
border-radius: 5px;
background-color: #F7F7F7;
background-color: #F4F4F4;
}

div.project-head {
padding: 2px 8px 4px 8px;
border-bottom: 1px solid #DADADA;
padding: 3px 12px 6px 12px;
border-bottom: 1px solid #CCC;
border-radius: 5px 5px 0px 0px;
background-color: #E5E5E5;
background-color: #E0E0E0;
}

div.project-body {
padding: 4px 8px 6px 8px;
padding: 6px 12px 9px 12px;
}

td.about-l {
@@ -56,24 +56,29 @@ td.about-r {
border-right: 1px solid #CCC;
}

li.post {
margin-bottom: 20px;
}

td.light-l { background-color: #ECECEC; }
td.dark-l { background-color: #DADADA; }
td.light-r { background-color: #F7F7F7; }
td.dark-r { background-color: #E5E5E5; }

div#container {
margin: 2px 13% 2px 13%;
border: 1px solid #BBB;
width: 800px;
margin: 16px auto 16px auto;
border: 1px solid #999;
border-radius: 10px;
background-color: #FFF;
}

div#header {
margin: 8px 8px 18px 8px;
margin: 12px 12px 20px 12px;
padding: 15px 0px 15px 0px;
border: 1px solid #BBB;
border: 1px solid #999;
border-radius: 10px 10px 0px 0px;
background-color: #DDEEDD;
background-color: #DED;
}

div#content {
@@ -101,10 +106,15 @@ td#right-box {
vertical-align: top;
}

td#about-tl { border-top-left-radius: 5px; border-top: 1px solid #CCC; }
td#about-tr { border-top-right-radius: 5px; border-top: 1px solid #CCC; }
td#about-bl { border-bottom-left-radius: 5px; border-bottom: 1px solid #CCC; }
td#about-br { border-bottom-right-radius: 5px; border-bottom: 1px solid #CCC; }
hr {
margin-top: 12px;
margin-bottom: 12px;
}

td#about-tl { border-top-left-radius: 5px; border-top: 1px solid #AAA; }
td#about-tr { border-top-right-radius: 5px; border-top: 1px solid #AAA; }
td#about-bl { border-bottom-left-radius: 5px; border-bottom: 1px solid #AAA; }
td#about-br { border-bottom-right-radius: 5px; border-bottom: 1px solid #AAA; }

a:link { color: #373; text-decoration: none; }
a:visited { color: #373; text-decoration: none; }


Loading…
Cancel
Save