Website updates
34d5b3454e5d09cd73f073252877baa724a932ad
1 parent
d33f651f
Makefile
+1 -1
| 1 | - | PAGES := popol/ donate/ |
|
| 1 | + | PAGES := popol/ donate/ nakamoto/ |
|
| 2 | 2 | STATIC := css/ images/ fonts/ js/ |
|
| 3 | 3 | ||
| 4 | 4 | default: |
|
| 5 | 5 | ./build ~/txt/pub . |
|
| 6 | 6 |
css/base.css
+16 -4
| 128 | 128 | font-weight: bold; |
|
| 129 | 129 | } |
|
| 130 | 130 | h2 { |
|
| 131 | 131 | font-size: 1.3rem; |
|
| 132 | 132 | line-height: 1.4em; |
|
| 133 | - | margin-top: 1rem; |
|
| 133 | + | margin-top: 1.5rem; |
|
| 134 | 134 | margin-bottom: 1.25rem; |
|
| 135 | 135 | } |
|
| 136 | 136 | h3 { |
|
| 137 | 137 | font-size: 1.25rem; |
|
| 138 | - | margin-top: 1rem; |
|
| 138 | + | margin-top: 2.5rem; |
|
| 139 | 139 | margin-bottom: 1rem; |
|
| 140 | 140 | } |
|
| 141 | 141 | ||
| 142 | 142 | /* |
|
| 143 | 143 | * CODE |
| 203 | 203 | vertical-align: baseline; |
|
| 204 | 204 | position: relative; |
|
| 205 | 205 | top: -0.4em; |
|
| 206 | 206 | } |
|
| 207 | 207 | ||
| 208 | - | img[alt="crates.io"], img[alt="docs.rs"] { |
|
| 208 | + | a.footnote-backref { |
|
| 209 | + | font-family: Helvetica, Arial, sans-serif; |
|
| 210 | + | } |
|
| 211 | + | ||
| 212 | + | img[alt="crates.io"], img[alt="docs.rs"], img[alt="github.com"] { |
|
| 209 | 213 | height: 1.5rem; |
|
| 210 | 214 | } |
|
| 211 | 215 | ||
| 216 | + | p + p img { |
|
| 217 | + | margin-top: 1.5rem; |
|
| 218 | + | margin-bottom: 1.5rem; |
|
| 219 | + | } |
|
| 220 | + | p img[alt="diagram"] { |
|
| 221 | + | width: 100%; |
|
| 222 | + | } |
|
| 223 | + | ||
| 212 | 224 | /* |
|
| 213 | 225 | * NOTE |
|
| 214 | 226 | */ |
|
| 215 | 227 | ||
| 216 | 228 | .note p { |
| 373 | 385 | -webkit-column-count: 2; |
|
| 374 | 386 | -webkit-column-gap: 4rem; |
|
| 375 | 387 | -moz-column-count: 2; |
|
| 376 | 388 | -moz-column-gap: 4rem; |
|
| 377 | 389 | } |
|
| 378 | - | img[alt="crates.io"], img[alt="docs.rs"] { |
|
| 390 | + | img[alt="crates.io"], img[alt="docs.rs"], img[alt="github.com"] { |
|
| 379 | 391 | height: 1.25rem; |
|
| 380 | 392 | } |
|
| 381 | 393 | h1, h2, h3, h4, h5, h6, p, nav { |
|
| 382 | 394 | padding: 0 1rem; |
|
| 383 | 395 | } |
page.html.erb
+5 -1
| 2 | 2 | <html lang="en"> |
|
| 3 | 3 | <head> |
|
| 4 | 4 | <title><%= title %></title> |
|
| 5 | 5 | <meta charset="utf-8"> |
|
| 6 | 6 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
|
| 7 | + | <meta name="twitter:site" content="@cloudhead" /> |
|
| 8 | + | <meta name="twitter:creator" content="@cloudhead" /> |
|
| 9 | + | <meta property="og:title" content="<%= title %>" /> |
|
| 10 | + | <link rel="shortcut icon" href="favicon.png" /> |
|
| 7 | 11 | <link rel="stylesheet" type="text/css" href="/css/fonts.css"> |
|
| 8 | 12 | <link rel="stylesheet" type="text/css" href="/css/base.css"> |
|
| 9 | 13 | <% if styles? %><link rel="stylesheet" type="text/css" href="style.css"><% end %> |
|
| 10 | 14 | </head> |
|
| 11 | 15 | <body> |
| 13 | 17 | <ul> |
|
| 14 | 18 | <li><a href="/">/</a> <span class="subtle">home</span></li> |
|
| 15 | 19 | <li><a href="http://twitter.com/cloudhead">@cloudhead</a> <span class="subtle">follow my tweets</span></li> |
|
| 16 | 20 | <li><a href="https://github.com/cloudhead">code</a> <span class="subtle">github.com/cloudhead</span></li> |
|
| 17 | 21 | <li><a href="https://github.com/cloudhead/dotfiles">dotfiles</a> <span class="subtle">~</span></li> |
|
| 22 | + | <li><a href="https://rx.cloudhead.io">rx</a> <span class="subtle">rx.cloudhead.io 👾</span></li> |
|
| 18 | 23 | <li><a href="https://github.com/cloudhead/shady.vim">shady</a> <span class="subtle">:colorscheme</span</li> |
|
| 19 | - | <li><a href="https://rx.cloudhead.io">rx</a> <span class="subtle">rx.cloudhead.io</span></li> |
|
| 20 | 24 | <% articles.each do |a| -%><li> |
|
| 21 | 25 | <a href="/<%= a.name %>/"><%= a.name %></a> |
|
| 22 | 26 | <span class="subtle"><%= a.teaser || a.date %></span> |
|
| 23 | 27 | </li><% end %> |
|
| 24 | 28 | <li><a href="https://twitter.com/cloudhead">tweets</a></li> |