1
0
Fork 0
forked from wezm/wezm.net

Remove JS archives pagination

This commit is contained in:
Wesley Moore 2010-06-16 07:52:33 +10:00
parent a03d6693e4
commit 7039aeb5f3
14 changed files with 0 additions and 432 deletions

View file

@ -1,7 +0,0 @@
<%
articles = []
sorted_articles.each do |article|
articles << article_to_json(article)
end
%>
<%= articles.to_json %>

View file

@ -1,3 +0,0 @@
---
title: A New Item
is_hidden: true

View file

@ -1 +0,0 @@
<li>Loading&hellip;</li>

View file

@ -1,3 +0,0 @@
---
title: All Articles
is_hidden: true

View file

@ -1,7 +0,0 @@
<%
articles = []
personal_articles.each do |article|
articles << article_to_json(article)
end
%>
<%= articles.to_json %>

View file

@ -1,3 +0,0 @@
---
title: A New Item
is_hidden: true

View file

@ -1 +0,0 @@
<li>Loading&hellip;</li>

View file

@ -1,3 +0,0 @@
---
title: Personal Articles
is_hidden: true

View file

@ -1,7 +0,0 @@
<%
articles = []
technical_articles.each do |article|
articles << article_to_json(article)
end
%>
<%= articles.to_json %>

View file

@ -1,3 +0,0 @@
---
title: A New Item
is_hidden: true

View file

@ -1 +0,0 @@
<li>Loading&hellip;</li>

View file

@ -1,3 +0,0 @@
---
title: Technical Articles
is_hidden: true

View file

@ -1,11 +0,0 @@
#technical div, #personal div {
padding: 0 1em;
}
.column {
min-width: 600px;
}
#content {
min-width: 320px;
}

View file

@ -1,379 +0,0 @@
body {
font-family: Constantia, Georgia, "Bitstream Vera Serif", "Liberation Serif", serif;
font-size: 16px;
background: #fff;
color: #223;
}
body.home {
min-width: 520px;
}
p,li,blockquote {
line-height: 1.2;
}
p,pre {
margin: 0 0 1em 0;
}
ul, ol {
margin: 1em 0 1em 1em;
}
ul {
list-style: disc;
}
ol {
list-style: decimal;
}
li {
margin-left: 1em;
}
dl dt {
}
dl dd {
margin-left: 2em;
}
h1,h2,h3,h4,h5,h6 {
font-family: "Helvetica Neue", Helvetica, "Liberation Sans", "Bitstream Vera Sans", Tahoma, Geneva, Arial, sans-serif;
margin: 0.6em 0 0.5em 0;
color: #111;
font-weight: 200;
}
/* 6,7,8,9,10,11,12,14,16,18,21,24,36,48,60,72 */
h1 {
font-size: 36px;
}
h2 {
font-size: 24px;
}
h3 {
font-size: 21px;
}
h4 {
font-size: 18px;
}
h5 {
font-size: 16px;
}
h6 {
font-size: 14px;
}
a {
text-decoration: underline;
}
a:link,
a:visited {
color: #36454F;
}
a:hover {
/* color: #f90;*/
}
h1 a {
text-decoration: none;
}
body.home h1 > a:hover {
border-bottom: 2px solid #111;
}
h1 a:link,
h1 a:visited {
color: #111;
}
sup {
vertical-align: super;
font-size: 0.8em;
}
pre,code,tt {
font-size: 13px;
font-family: Consolas, "Andale Mono", "Liberation Mono", Menlo, Monaco, "Bitstream Vera Sans Mono", fixed;
}
pre {
overflow-x: auto;
}
blockquote {
border-left: 2px solid #999;
padding-left: 1em;
margin: 0 0 1em 0;
}
#header {
font-family: "Helvetica Neue", Helvetica, "Liberation Sans", "Bitstream Vera Sans", Tahoma, Geneva, Arial, sans-serif;
font-size: 18px;
color: white;
padding: 0.5em;
background: #1C1C1C; /* url(/images/texture.png) repeat-y top left; */
}
#header a {
text-decoration: none;
color: white;
}
#header a:hover {
border-bottom: 2px solid #fff;
}
ul#menu {
float: right;
padding-right: 0.25em;
}
ul#menu li {
font-size: inherit;
}
#content {
padding: 0 20px;
clear: both;
min-width: 600px;
margin-right: 40%;
}
body.articles #content {
min-width: auto;
margin-right: 0;
}
#footer {
color: #999;
border-top: 1px solid #999;
margin: 1em;
clear: both;
}
#footer .copyright {
font-family: "Helvetica Neue", Helvetica, "Liberation Sans", "Bitstream Vera Sans", Tahoma, Geneva, Arial, sans-serif;
font-size: 14px;
padding-top: 1em;
display: block;
font-weight: 200;
}
.pagination {
display: none;
text-align: center;
}
.pagination .newer {
visibility: hidden;
}
/* Home page post listing columns */
.column {
float: left;
width: 50%;
margin: 0;
min-width: 500px;
}
#personal div {
padding-right: 2em;
}
.column div {
padding: 0 0 0 2em;
}
/* Article Listing */
ul.articles {
list-style: none;
margin: 0;
clear: left;
}
ul.articles li {
margin: 0;
padding-top: 1em;
height: 70px;
}
body.articles ul.articles li {
height: auto;
padding-top: 0;
}
ul.articles li:first-child {
border-top: none;
padding-top: 1em;
}
ul.articles abbr {
display: block;
font-size: 12px;
color: #aaa;
}
ul.articles strong {
font-family: "Helvetica Neue", Helvetica, "Liberation Sans", "Bitstream Vera Sans", Tahoma, Geneva, Arial, sans-serif;
margin: 0;
font-weight: 200;
display: block;
font-size: 18px;
}
a.more {
display: block;
margin: 1em 0 0 0;
}
a.active {
font-weight: bold;
}
a.affiliate {
background: url(/images/dollar.gif) no-repeat top right;
padding-right: 4px;
}
/* Inline flat list style */
ul.inline {
list-style: none;
margin: 0;
}
ul.inline li {
display: inline;
}
ul.inline li:first-child {
margin-left: 0;
}
/* Flickr thumbnails */
#flickr {
clear: both;
}
#flickr li {
float: left;
overflow: hidden;
margin: 20px 0 0 20px;
display: block;
position: relative;
height: 75px;
width: 75px;
}
#flickr li img {
position: absolute;
top: -75px;
}
#flickr li img:hover {
top: 0;
}
/* Search Form //----------------------------------------------------------*/
/* Via http://www.brandspankingnew.net/archive/2005/08/adding_an_os_x.html */
ul.menu {
padding-bottom: 1em;
}
#search {
margin: 0;
padding: 0;
display: none;
float: left;
margin-right: 20px;
background: #fff url(/images/srch_l.gif) 0 0 no-repeat;
padding-left: 19px;
}
#search fieldset {
margin: 0;
padding: 0;
border: 0;
}
#search label {
color: #999;
display: none;
}
#search input {
/* Reset (for Safari) */
border: 0;
margin: 0;
outline: 0;
vertical-align: middle;
height: 19px;
width: 180px;
width: 132px;
padding: 3px;
background: #fff url(/images/srch_bg.gif) 0 0 repeat-x;
float: left;
font: 11px/13px "Lucida Grande", Helvetica, "Liberation Sans", "Bitstream Vera Sans", Tahoma, Geneva, Arial, sans-serif;
color: #000;
}
#search span.clear {
background: #fff url(/images/srch_r.gif) 0 0 no-repeat;
float: left;
width: 19px;
height: 19px;
clear: none; /* for generic .clear below */
}
#search .active {
background-position: 0 -19px;
}
/* Extra parts on post page */
#respond {
margin-top: 10px;
padding: 10px;
background-color: #ddd;
clear: both;
}
#respond h2 {
padding-left: 42px;
line-height: 32px;
background: url(/images/comment32.png) no-repeat top left;
margin-top: 0;
}
#content .published {
font-family: "Helvetica Neue", Helvetica, "Liberation Sans", "Bitstream Vera Sans", Tahoma, Geneva, Arial, sans-serif;
color: #999;
/* margin-top: -3px;*/
padding-bottom: 10px;
font-size: 14px;
}
/* Wordpress element alignment classes */
#content .alignleft, img.alignleft {
float: left;
margin: 5px 10px 5px 0;
}
#content .alignright, img.alignright {
float: right;
margin: 5px 0 5px 10px;
}
#content .aligncenter, div.aligncenter, img.aligncenter {
text-align: center;
display: block;
margin: 10px auto;
}
#content .clear {
clear: both;
}
#content hr {
border: 0;
border-top-width: 1px;
border-style: solid;
border-top-color: #999;
width: 10em;
margin: 0;
}
/* Styles for MP3 Decoder post */
table.left_headers, table.top_headers {
border: 1px solid #D8D8D8;
border-collapse: collapse;
margin: 1em 0;
}
table.left_headers td, table.left_headers th,
table.top_headers td, table.top_headers th {
border: 1px solid #D8D8D8;
padding: 0.3em 0.7em 0.3em 0.7em;
}
table.left_headers th {
text-align: right;
}
/* Photo gallery table */
table.gallery {
border-collapse: collapse;
width: 100%;
}
table.gallery td {
padding: 10px 0;
text-align: center;
vertical-align: middle;
}
table.gallery img a {
border: none;
}