├── README.md ├── index.html ├── javascripts └── scale.fix.js └── stylesheets ├── pygment_trac.css └── styles.css /README.md: -------------------------------------------------------------------------------- 1 | # Minimal Theme 2 | 3 | [Demo the Theme](https://orderedlist.com/minimal/) 4 | 5 | This is the raw HTML and styles that are used for the *minimal* theme on [GitHub Pages](http://pages.github.com/). 6 | 7 | Syntax highlighting is provided on GitHub Pages by [Pygments](http://pygments.org). 8 | 9 | # License 10 | 11 | This work is licensed under a [Creative Commons Attribution-ShareAlike 3.0 Unported License](http://creativecommons.org/licenses/by-sa/3.0/). 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Minimal by Steve Smith 7 | 8 | 9 | 10 | 11 | 14 | 15 | 16 |
17 |
18 |

Minimal

19 |

A Theme for GitHub Pages

20 |

View the Project on GitHub orderedlist/minimal

21 | 26 |
27 |
28 |

GitHub Flavored Markdown

29 | 30 |

View the source of this content.

31 | 32 |

Let's get the whole "linebreak" thing out of the way. The next paragraph contains two phrases separated by a single newline character:

33 | 34 |

Roses are red
35 | Violets are blue

36 | 37 |

The next paragraph has the same phrases, but now they are separated by two spaces and a newline character:

38 | 39 |

Roses are red

40 | Violets are blue

41 | 42 |

Oh, and one thing I cannot stand is the mangling of words with multiple underscores in them like perform_complicated_task or do_this_and_do_that_and_another_thing.

43 | 44 |

A bit of the GitHub spice

45 | 46 |

In addition to the changes in the previous section, certain references are auto-linked:

47 | 48 | 56 | 57 |

These are dangerous goodies though, and we need to make sure email addresses don't get mangled:

58 | 59 |

My email addy is tom@github.com.

60 | 61 |

Math is hard, let's go shopping

62 | 63 |

In first grade I learned that 5 > 3 and 2 < 7. Maybe some arrows. 1 -> 2 -> 3. 9 <- 8 <- 7.

64 | 65 |

Triangles man! a^2 + b^2 = c^2

66 | 67 |

We all like making lists

68 | 69 |

The above header should be an H2 tag. Now, for a list of fruits:

70 | 71 | 76 | 77 |

Let's get crazy:

78 | 79 |
    80 |
  1. 81 |

    This is a list item with two paragraphs. Lorem ipsum dolor
    82 | sit amet, consectetuer adipiscing elit. Aliquam hendrerit
    83 | mi posuere lectus.

    84 | 85 |

    Vestibulum enim wisi, viverra nec, fringilla in, laoreet
    86 | vitae, risus. Donec sit amet nisl. Aliquam semper ipsum
    87 | sit amet velit.

    88 |
  2. 89 |
  3. Suspendisse id sem consectetuer libero luctus adipiscing.

  4. 90 |
91 | 92 |

What about some code in a list? That's insane, right?

93 | 94 |
    95 |
  1. 96 |

    In Ruby you can map like this:

    97 | 98 |
    ['a', 'b'].map { |x| x.uppercase }
    99 |
  2. 100 |
  3. 101 |

    In Rails, you can do a shortcut:

    102 | 103 |
    ['a', 'b'].map(&:uppercase)
    104 |
  4. 105 |
106 | 107 |

Some people seem to like definition lists

108 | 109 |
110 |
Lower cost
111 |
The new version of this product costs significantly less than the previous one!
112 |
Easier to use
113 |
We've changed the product so that it's much easier to use!
114 |
115 | 116 |

I am a robot

117 | 118 |

Maybe you want to print robot to the console 1000 times. Why not?

119 | 120 |
def robot_invasion
121 |   puts("robot " * 1000)
122 | end
123 | 
124 | 125 |

You see, that was formatted as code because it's been indented by four spaces.

126 | 127 |

How about we throw some angle braces and ampersands in there?

128 | 129 |
<div class="footer">
130 |     &copy; 2004 Foo Corporation
131 | </div>
132 | 
133 | 134 |

Set in stone

135 | 136 |

Preformatted blocks are useful for ASCII art:

137 | 138 |
             ,-.
139 |     ,     ,-.   ,-.
140 |    / \   (   )-(   )
141 |    \ |  ,.>-(   )-<
142 |     \|,' (   )-(   )
143 |      Y ___`-'   `-'
144 |      |/__/   `-'
145 |      |
146 |      |
147 |      |    -hrr-
148 |   ___|_____________
149 | 
150 | 151 |

Playing the blame game

152 | 153 |

If you need to blame someone, the best way to do so is by quoting them:

154 | 155 |
156 |

I, at any rate, am convinced that He does not throw dice.

157 |
158 | 159 |

Or perhaps someone a little less eloquent:

160 | 161 |
162 |

I wish you'd have given me this written question ahead of time so I
163 | could plan for it... I'm sure something will pop into my head here in
164 | the midst of this press conference, with all the pressure of trying to
165 | come up with answer, but it hadn't yet...

166 | 167 |

I don't want to sound like
168 | I have made no mistakes. I'm confident I have. I just haven't - you
169 | just put me under the spot here, and maybe I'm not as quick on my feet
170 | as I should be in coming up with one.

171 |
172 | 173 |

Table for two

174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 |
IDNameRank
1Tom Preston-WernerAwesome
2Albert EinsteinNearly as awesome
194 | 195 |

Crazy linking action

196 | 197 |

I get 10 times more traffic from Google than from
198 | Yahoo or MSN.

199 |
200 | 204 |
205 | 206 | 207 | 208 | -------------------------------------------------------------------------------- /javascripts/scale.fix.js: -------------------------------------------------------------------------------- 1 | var metas = document.getElementsByTagName('meta'); 2 | var i; 3 | if (navigator.userAgent.match(/iPhone/i)) { 4 | for (i=0; i