├── 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 |A Theme for GitHub Pages
20 |View the Project on GitHub orderedlist/minimal
21 |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
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
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 |In addition to the changes in the previous section, certain references are auto-linked:
47 | 48 |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 |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 |The above header should be an H2 tag. Now, for a list of fruits:
70 | 71 |Let's get crazy:
78 | 79 |This is a list item with two paragraphs. Lorem ipsum dolor
82 | sit amet, consectetuer adipiscing elit. Aliquam hendrerit
83 | mi posuere lectus.
Vestibulum enim wisi, viverra nec, fringilla in, laoreet
86 | vitae, risus. Donec sit amet nisl. Aliquam semper ipsum
87 | sit amet velit.
Suspendisse id sem consectetuer libero luctus adipiscing.
What about some code in a list? That's insane, right?
93 | 94 |In Ruby you can map like this:
97 | 98 |['a', 'b'].map { |x| x.uppercase }
99 | In Rails, you can do a shortcut:
102 | 103 |['a', 'b'].map(&:uppercase)
104 | Some people seem to like definition lists
108 | 109 |Maybe you want to print robot
to the console 1000 times. Why not?
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 | © 2004 Foo Corporation
131 | </div>
132 |
133 |
134 | Preformatted blocks are useful for ASCII art:
137 | 138 |,-. 139 | , ,-. ,-. 140 | / \ ( )-( ) 141 | \ | ,.>-( )-< 142 | \|,' ( )-( ) 143 | Y ___`-' `-' 144 | |/__/ `-' 145 | | 146 | | 147 | | -hrr- 148 | ___|_____________ 149 |150 | 151 |
If you need to blame someone, the best way to do so is by quoting them:
154 | 155 |156 |158 | 159 |I, at any rate, am convinced that He does not throw dice.
157 |
Or perhaps someone a little less eloquent:
160 | 161 |162 |172 | 173 |I wish you'd have given me this written question ahead of time so I
166 | 167 |
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...I don't want to sound like
171 |
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.
ID | 179 |Name | 180 |Rank | 181 |
---|---|---|
1 | 184 |Tom Preston-Werner | 185 |Awesome | 186 |
2 | 189 |Albert Einstein | 190 |Nearly as awesome | 191 |
I get 10 times more traffic from Google than from
198 | Yahoo or MSN.