General updates

9d443c18a991cbe65e3ad4f2534527340052ae45
Alexis Sellier committed ago 1 parent 38ecfcb8
css/base.css added +27 -0
1 +
* {
2 +
	margin: 0;
3 +
	padding: 0;
4 +
}
5 +
6 +
body {
7 +
	font-family: courier, monospace;
8 +
}
9 +
10 +
body > header {
11 +
  float: right;
12 +
}
13 +
14 +
nav {
15 +
	font-family: courier, monospace;
16 +
	font-weight: bold;
17 +
	padding: 10px;
18 +
	font-size: 20px;
19 +
}
20 +
21 +
ul li {
22 +
	list-style-type: none;
23 +
}
24 +
25 +
a {
26 +
	text-decoration: none;
27 +
}
bg.png → images/bg.png renamed +0 -0
lists/empty.css added +0 -0
lists/index.html +61 -33
20 20
21 21
      body > header {
22 22
        float: right;
23 23
      }
24 24
25 -
      section > header {
25 +
      article {
26 +
        margin-bottom: 30px;
27 +
      }
28 +
29 +
      article > header {
26 30
        margin-bottom: 10px;
27 31
      }
28 32
29 -
      section > header > h2 {
33 +
      article > header > h2 {
30 34
        font-size: 20px;
31 35
      }
32 36
33 37
      footer {
34 38
        text-align: right;
63 67
  <body>
64 68
    <header>
65 69
      <h1><a href="/">cloudhead.io</a>/lists</h1>
66 70
    </header>
67 71
    <section>
68 -
      <header>
69 -
        <h2>greatest rock & pop albums</h2>
70 -
        <p><em>My personal list. One album per artist.</em></p>
71 -
      </header>
72 -
      <ol>
73 -
        <li><a href="http://en.wikipedia.org/wiki/Astral_Weeks">Astral Weeks</a> - Van Morrison (1968)</li>
74 -
        <li><a href="http://en.wikipedia.org/wiki/Rock_Bottom_(album)">Rock Bottom</a> - Robert Wyatt (1974)</li>
75 -
        <li><a href="http://en.wikipedia.org/wiki/The_Velvet_Underground_%26_Nico">The Velvet Underground &amp; Nico</a> - Velvet Underground (1967)</li>
76 -
        <li><a href="http://en.wikipedia.org/wiki/Loveless_(album)">Loveless</a> - My Bloody Valentine (1991)</li>
77 -
        <li><a href="http://en.wikipedia.org/wiki/The_Dark_Side_of_the_Moon">The Dark Side of the Moon</a> - Pink Floyd (1973)</li>
78 -
        <li><a href="http://en.wikipedia.org/wiki/In_the_Court_of_the_Crimson_King">In The Court of the Crimson King</a> - King Crimson (1969)</li>
79 -
        <li><a href="http://en.wikipedia.org/wiki/Grace_(Jeff_Buckley_album)">Grace</a> - Jeff Buckley (1994)</li>
80 -
        <li><a href="http://en.wikipedia.org/wiki/Third_(Soft_Machine_album)">Third</a> - Soft Machine (1970)</li>
81 -
        <li><a href="http://en.wikipedia.org/wiki/Safe_as_Milk">Safe as Milk</a> - Captain Beefheart (1967)</li>
82 -
        <li><a href="http://en.wikipedia.org/wiki/In_the_Aeroplane_Over_the_Sea">In the Aeroplane Over the Sea</a> - Neutral Milk Hotel (1998)</li>
83 -
      </ol>
84 -
      <p><em>Then, in no particular order...</em></p>
85 -
      <ul>
86 -
        <li><a href="http://en.wikipedia.org/wiki/Exile_on_Main_St.">Exile on Main St.</a> - The Rolling Stones (1972)</li>
87 -
        <li><a href="http://en.wikipedia.org/wiki/The_Doors_(album)">The Doors</a> - The Doors (1967)</li>
88 -
        <li><a href="http://en.wikipedia.org/wiki/Blood_on_the_tracks">Blood on the Tracks</a> - Bob Dylan (1975)</li>
89 -
        <li><a href="http://en.wikipedia.org/wiki/For_Emma,_Forever_Ago">For Emma, Forever Ago</a> - Bon Iver (2008)</li>
90 -
        <li><a href="http://en.wikipedia.org/wiki/Fare_Forward_Voyagers_(Soldier's_Choice)">Fare Forward Voyagers</a> - John Fahey (1973)</li>
91 -
        <li><a href="http://en.wikipedia.org/wiki/The_Beatles_(album)">The Beatles "White Album"</a> - Beatles (1968)</li>
92 -
        <li><a href="http://en.wikipedia.org/wiki/After_the_Gold_Rush">After the Gold Rush</a> - Neil Young (1970)</li>
93 -
        <li><a href="http://en.wikipedia.org/wiki/The_Soft_Bulletin">The Soft Bulletin</a> - The Flaming Lips (1999)</li>
94 -
        <li><a href="http://en.wikipedia.org/wiki/Kid_A">Kid A</a> - Radiohead (2000)</li>
95 -
        <li><a href="http://en.wikipedia.org/wiki/Pet_Sounds_(album)">Pet Sounds</a> - The Beach Boys (1966)</li>
96 -
        <li><a href="http://en.wikipedia.org/wiki/Either/Or_(album)">Either/Or</a> - Elliott Smith (1997)</li>
97 -
      </ul>
98 -
    </section>
72 +
        <article>
73 +
          <header>
74 +
            <h2>greatest rock &amp; pop albums</h2>
75 +
            <p><em>My personal list. One album per artist.</em></p>
76 +
          </header>
77 +
          <ol>
78 +
            <li><a href="http://en.wikipedia.org/wiki/Astral_Weeks">Astral Weeks</a> - Van Morrison (1968)</li>
79 +
            <li><a href="http://en.wikipedia.org/wiki/Rock_Bottom_(album)">Rock Bottom</a> - Robert Wyatt (1974)</li>
80 +
            <li><a href="http://en.wikipedia.org/wiki/The_Velvet_Underground_%26_Nico">The Velvet Underground &amp; Nico</a> - Velvet Underground (1967)</li>
81 +
            <li><a href="http://en.wikipedia.org/wiki/Loveless_(album)">Loveless</a> - My Bloody Valentine (1991)</li>
82 +
            <li><a href="http://en.wikipedia.org/wiki/The_Dark_Side_of_the_Moon">The Dark Side of the Moon</a> - Pink Floyd (1973)</li>
83 +
            <li><a href="http://en.wikipedia.org/wiki/In_the_Court_of_the_Crimson_King">In The Court of the Crimson King</a> - King Crimson (1969)</li>
84 +
            <li><a href="http://en.wikipedia.org/wiki/Grace_(Jeff_Buckley_album)">Grace</a> - Jeff Buckley (1994)</li>
85 +
            <li><a href="http://en.wikipedia.org/wiki/Third_(Soft_Machine_album)">Third</a> - Soft Machine (1970)</li>
86 +
            <li><a href="http://en.wikipedia.org/wiki/Safe_as_Milk">Safe as Milk</a> - Captain Beefheart (1967)</li>
87 +
            <li><a href="http://en.wikipedia.org/wiki/In_the_Aeroplane_Over_the_Sea">In the Aeroplane Over the Sea</a> - Neutral Milk Hotel (1998)</li>
88 +
          </ol>
89 +
          <p><em>Then, in no particular order...</em></p>
90 +
          <ul>
91 +
            <li><a href="http://en.wikipedia.org/wiki/Exile_on_Main_St.">Exile on Main St.</a> - The Rolling Stones (1972)</li>
92 +
            <li><a href="http://en.wikipedia.org/wiki/The_Doors_(album)">The Doors</a> - The Doors (1967)</li>
93 +
            <li><a href="http://en.wikipedia.org/wiki/Blood_on_the_tracks">Blood on the Tracks</a> - Bob Dylan (1975)</li>
94 +
            <li><a href="http://en.wikipedia.org/wiki/For_Emma,_Forever_Ago">For Emma, Forever Ago</a> - Bon Iver (2008)</li>
95 +
            <li><a href="http://en.wikipedia.org/wiki/Fare_Forward_Voyagers_(Soldier's_Choice)">Fare Forward Voyagers</a> - John Fahey (1973)</li>
96 +
            <li><a href="http://en.wikipedia.org/wiki/The_Beatles_(album)">The Beatles "White Album"</a> - Beatles (1968)</li>
97 +
            <li><a href="http://en.wikipedia.org/wiki/After_the_Gold_Rush">After the Gold Rush</a> - Neil Young (1970)</li>
98 +
            <li><a href="http://en.wikipedia.org/wiki/The_Soft_Bulletin">The Soft Bulletin</a> - The Flaming Lips (1999)</li>
99 +
            <li><a href="http://en.wikipedia.org/wiki/Kid_A">Kid A</a> - Radiohead (2000)</li>
100 +
            <li><a href="http://en.wikipedia.org/wiki/Pet_Sounds_(album)">Pet Sounds</a> - The Beach Boys (1966)</li>
101 +
            <li><a href="http://en.wikipedia.org/wiki/Either/Or_(album)">Either/Or</a> - Elliott Smith (1997)</li>
102 +
          </ul>
103 +
        </article>
104 +
        <article>
105 +
          <header>
106 +
            <h2>greatest open-source projects</h2>
107 +
            <p><em>I'm concerned with ambition, code quality, impact, design and function.</em></p>
108 +
          </header>
109 +
          <ol>
110 +
            <li>Linux</li>
111 +
            <li>git</li>
112 +
            <li>LLVM</li>
113 +
            <li>WebKit</li>
114 +
            <li>Nginx</li>
115 +
            <li>runit</li>
116 +
            <li>valgrind</li>
117 +
            <li>redis</li>
118 +
            <li>luajit</li>
119 +
            <li>mongrel</li>
120 +
            <li>xmonad</li>
121 +
            <li>zfs</li>
122 +
            <li>ffmpeg</li>
123 +
            <li>Firefox</li>
124 +
          </ol>
125 +
        </article>
126 +
      </section>
99 127
    <!--
100 128
    <section>
101 129
      <header>
102 130
        <h2>greatest jazz albums</h2>
103 131
        <p><em>My personal list. One album per artist.</em></p>
log/_article.html.erb +3 -81
1 1
<!doctype html>
2 2
<html lang="en">
3 3
  <head>
4 4
    <title>cloudhead.io</title>
5 -
    <style>
6 -
      * { margin: 0; padding: 0 }
7 -
8 -
      body {
9 -
        font-family: "Times New Roman", Times, serif;
10 -
      }
11 -
      body > header, body > footer {
12 -
        font-family: courier, monospace;
13 -
      }
14 -
      body > header {
15 -
        float: right;
16 -
        padding: 10px;
17 -
      }
18 -
      h1 {
19 -
        font-size: 20px;
20 -
      }
21 -
      footer {
22 -
        text-align: center;
23 -
        margin: 0 auto;
24 -
        padding: 30px;
25 -
        font-size: 21px;
26 -
      }
27 -
      footer .copy {
28 -
        font-size: 13px;
29 -
      }
30 -
      footer p {
31 -
        margin: 5px 0;
32 -
      }
33 -
      ul li {
34 -
        list-style-type: none;
35 -
      }
36 -
      a {
37 -
        text-decoration: none;
38 -
      }
39 -
40 -
      .post {
41 -
        padding-top: 90px;
42 -
      }
43 -
      .post p:first-child {
44 -
        margin-top: 0;
45 -
      }
46 -
      .post .body, .post header {
47 -
        width: 700px;
48 -
        margin: 0 auto;
49 -
        text-align: left;
50 -
      }
51 -
      .post header {
52 -
        margin-bottom: 1.5em;
53 -
        padding-bottom: 15px;
54 -
        border-bottom: 1px solid #ccc;
55 -
      }
56 -
      .post .body, .post code, .post h2, footer a {
57 -
        font-size: 21px;
58 -
        line-height: 1.4em;
59 -
      }
60 -
      .post .date {
61 -
        display: block;
62 -
        padding-top: 10px;
63 -
        font-size: 15px;
64 -
      }
65 -
      .post .date, .post blockquote {
66 -
        color: #777;
67 -
      }
68 -
      .post blockquote {
69 -
        font-style: italic;
70 -
      }
71 -
      .post pre {
72 -
        margin-left: 10px;
73 -
      }
74 -
      .post code {
75 -
        font-family: courier, monospace;
76 -
      }
77 -
      .post p {
78 -
        margin: 1.5em 0;
79 -
      }
80 -
      .post h1 {
81 -
        font-size: 1.8em;
82 -
      }
83 -
    </style>
5 +
    <link rel="stylesheet" type="text/css" href="/log/log.css">
84 6
  </head>
85 -
  <body>
7 +
  <body class="essay">
86 8
    <header>
87 -
      <h1><a href="/">cloudhead.io</a>/<a href="/log">log</a></h1>
9 +
      <nav><a href="/">cloudhead.io</a>/<a href="/log">log</a></nav>
88 10
    </header>
89 11
    <article class="post">
90 12
      <header>
91 13
        <h1><%= title %></h1>
92 14
        <span class="date"><%= date %></span>
log/index.html added +26 -0
1 +
<!doctype html>
2 +
<html lang="en">
3 +
  <head>
4 +
    <link rel="stylesheet" type="text/css" href="log.css">
5 +
    <title>cloudhead.io</title>
6 +
  </head>
7 +
  <body class="essays">
8 +
    <header>
9 +
      <nav><a href="/">cloudhead.io</a>/essays</nav>
10 +
    </header>
11 +
    <section>
12 +
      <header>
13 +
        <h2>misc.</h2>
14 +
      </header>
15 +
      <ul>
16 +
        
17 +
          <li><a href="/2010/04/24/staying-the-hell-out-of-insert-mode">Staying the hell out of insert mode</a><span class="date">April 24th 2010</li>
18 +
        
19 +
      </ul>
20 +
    </section>
21 +
    <footer>
22 +
      <a href="mailto:hello@cloudhead.io">comments@cloudhead.io</a>
23 +
      <p>&copy; 2010-2013 Alexis Sellier</p>
24 +
    </footer>
25 +
  </body>
26 +
</html>
log/index.html.erb +5 -66
1 1
<!doctype html>
2 2
<html lang="en">
3 3
  <head>
4 -
    <link rel="stylesheet" type="text/css" href="style.css">
5 -
    <title>cloudhead</title>
6 -
    <style>
7 -
      * {
8 -
        margin: 0;
9 -
        padding: 0;
10 -
      }
11 -
12 -
      body {
13 -
        font-family: courier, monospace;
14 -
        padding: 10px;
15 -
        font-size: 20px;
16 -
      }
17 -
18 -
      h1 {
19 -
        font-size: 20px;
20 -
      }
21 -
22 -
      body > header {
23 -
        float: right;
24 -
      }
25 -
26 -
      section > header {
27 -
        margin-bottom: 10px;
28 -
      }
29 -
30 -
      section > header > h2 {
31 -
        font-size: 20px;
32 -
      }
33 -
34 -
      footer {
35 -
        text-align: right;
36 -
        position: fixed;
37 -
        bottom: 10px;
38 -
        right: 10px;
39 -
        font-size: 11px;
40 -
      }
41 -
42 -
      footer a {
43 -
        font-size: 17px;
44 -
      }
45 -
46 -
      li {
47 -
        margin: 5px 0;
48 -
      }
49 -
50 -
      li .date {
51 -
        float: right;
52 -
        color: #999;
53 -
      }
54 -
55 -
      ul li {
56 -
        list-style-type: none;
57 -
      }
58 -
59 -
      section p {
60 -
        margin: 30px 0;
61 -
      }
62 -
63 -
      a {
64 -
        text-decoration: none;
65 -
      }
66 -
    </style>
4 +
    <link rel="stylesheet" type="text/css" href="log.css">
5 +
    <title>cloudhead.io</title>
67 6
  </head>
68 -
  <body>
7 +
  <body class="essays">
69 8
    <header>
70 -
      <h1><a href="/">cloudhead.io</a>/log</h1>
9 +
      <nav><a href="/">cloudhead.io</a>/essays</nav>
71 10
    </header>
72 11
    <section>
73 12
      <header>
74 -
        <h2>articles</h2>
13 +
        <h2>misc.</h2>
75 14
      </header>
76 15
      <ul>
77 16
        <% articles.each do |a| %>
78 17
          <li><a href="<%= a.path %>"><%= a.title %></a><span class="date"><%= a.date %></li>
79 18
        <% end %>
log/log.css added +110 -0
1 +
@import url("/css/base.css");
2 +
3 +
/* Essay list page */
4 +
5 +
body.essays {
6 +
	font-size: 20px;
7 +
}
8 +
9 +
body.essays section {
10 +
	padding: 10px;
11 +
}
12 +
13 +
body.essays section > header {
14 +
	margin-bottom: 10px;
15 +
}
16 +
17 +
body.essays section  > header > h2 {
18 +
	font-size: 20px;
19 +
}
20 +
21 +
body.essays footer {
22 +
	text-align: right;
23 +
	position: fixed;
24 +
	bottom: 10px;
25 +
	right: 10px;
26 +
	font-size: 11px;
27 +
}
28 +
29 +
body.essays footer a {
30 +
	font-size: 17px;
31 +
}
32 +
33 +
body.essays li {
34 +
	font-family: "Times New Roman", serif;
35 +
	margin: 5px 0;
36 +
}
37 +
38 +
body.essays li .date {
39 +
	float: right;
40 +
	color: #999;
41 +
}
42 +
43 +
body.essays section p {
44 +
	margin: 30px 0;
45 +
}
46 +
47 +
/* Essay view page */
48 +
49 +
body.essay {
50 +
	font-family: "Times New Roman", Times, serif;
51 +
	font-size: 24px;
52 +
}
53 +
body.essay > footer {
54 +
	font-family: courier, monospace;
55 +
}
56 +
body.essay footer {
57 +
	text-align: center;
58 +
	margin: 0 auto;
59 +
	padding: 15px 0 45px 0;
60 +
	font-size: 21px;
61 +
	line-height: 1.6em;
62 +
}
63 +
body.essay footer .copy {
64 +
	font-size: 14px;
65 +
}
66 +
67 +
.post {
68 +
	padding-top: 90px;
69 +
}
70 +
.post a:hover {
71 +
	text-decoration: underline;
72 +
}
73 +
.post p:first-child {
74 +
	margin-top: 0;
75 +
}
76 +
.post .body, .post header {
77 +
	width: 800px;
78 +
	margin: 0 auto;
79 +
	text-align: left;
80 +
}
81 +
.post header {
82 +
	margin-bottom: 1.5em;
83 +
}
84 +
.post .body, .post code, .post h2 {
85 +
	font-size: 24px;
86 +
	line-height: 1.4em;
87 +
}
88 +
.post .date {
89 +
	display: block;
90 +
	padding-top: 10px;
91 +
	font-size: 20px;
92 +
}
93 +
.post .date, .post blockquote {
94 +
	color: #777;
95 +
}
96 +
.post blockquote {
97 +
	font-style: italic;
98 +
}
99 +
.post pre {
100 +
	margin-left: 10px;
101 +
}
102 +
.post code {
103 +
	font-family: courier, monospace;
104 +
}
105 +
.post p {
106 +
	margin: 1.5em 0;
107 +
}
108 +
.post h1 {
109 +
	font-size: 42px;
110 +
}
projects/empty.css added +0 -0
style.css +1 -1
3 3
  padding: 0;
4 4
}
5 5
6 6
body {
7 7
  font-family: courier, monospace;
8 -
  background-image: url(bg.png);
8 +
  background-image: url(/images/bg.png);
9 9
  background-repeat: no-repeat;
10 10
  background-attachment: fixed;
11 11
  background-position: bottom center;
12 12
  padding: 10px;
13 13
}