From bf7488e3ae274cb5fa70d9aebbb5059faae1f05d Mon Sep 17 00:00:00 2001 From: Steve Smith Date: Thu, 5 Apr 2012 09:38:48 -0400 Subject: [PATCH] Initial html and styles. --- index.html | 141 ++++++++++++++++++++ javascripts/scale.fix.js | 17 +++ stylesheets/pygment_trac.css | 69 ++++++++++ stylesheets/styles.css | 252 +++++++++++++++++++++++++++++++++++ 4 files changed, 479 insertions(+) create mode 100644 index.html create mode 100644 javascripts/scale.fix.js create mode 100644 stylesheets/pygment_trac.css create mode 100644 stylesheets/styles.css diff --git a/index.html b/index.html new file mode 100644 index 0000000..84fd0f6 --- /dev/null +++ b/index.html @@ -0,0 +1,141 @@ + + + + + + Minimal by Steve Smith + + + + + + + +
+
+

Minimal

+

A Theme for GitHub Pages

+

View the Project on GitHub orderedlist/minimal

+ +
+
+

Let’s Test Some Markup

+

View the source of this content.

+

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

+

Roses are red
Violets are blue

+

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

+

Roses are emphasized
Violets are strong

+

A bit of the GitHub spice

+

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

+ +

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

+

My email addy is tom@github.com.

+

Math is hard, let's go shopping

+

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

+

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

+
+
require 'redcarpet'
+markdown = Redcarpet.new("Hello World!")
+puts markdown.to_html
+
+

We all like making lists

+

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

+
    +
  • Red Apples
  • +
  • Purple Grapes
  • +
  • Green Kiwifruits
  • +
+

Let's get crazy:

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

    +

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

  2. +
  3. Suspendisse id sem consectetuer libero luctus adipiscing.

  4. +
+

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

+
    +
  1. In Ruby you can map like this:

    +
    ['a', 'b'].map { |x| x.uppercase }
  2. +
  3. In Rails, you can do a shortcut:

    +
    ['a', 'b'].map(&:uppercase)
  4. +
+

Some people seem to like definition lists

+
+
Lower cost
+
The new version of this product costs significantly less than the previous one!
+
Easier to use
+
We've changed the product so that it's much easier to use!
+
+

I am a robot

+

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

+
def robot_invasion
+  puts("robot " * 1000)
+end
+

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

+

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

+
<div class="footer">
+    &copy; 2004 Foo Corporation
+</div>
+

Playing the blame game

+

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

+
+

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

+
+

Or perhaps someone a little less eloquent:

+
+

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

+

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

+
+

Table for two

+ + + + + + + + + + +
IDNameRank
1Tom Preston-WernerAwesome
2Albert EinsteinNearly as awesome
+ +

Play by the rules

+

Let's not forget the horizontal rule

+
+ +

Crazy linking action

+

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

+

Headlines

+

Headline 1

+

Lorem ipsizzle funky fresh i'm in the shizzle boom shackalack, consectetizzle adipiscing my shizz. Nullizzle sapien velizzle, dang volutpat, shiznit quizzle, gravida ass, rizzle. Pot get down get down tortor. Sed erizzle. Black go to hizzle dolizzle dapibizzle turpis fo shizzle my nizzle yo. Maurizzle pellentesque nibh et check it out. Bow wow wow check it out tortizzle. Pellentesque for sure rhoncizzle bow wow wow. In owned habitasse brizzle dictumst. Nizzle dapibizzle. Curabitizzle tellizzle ghetto, pretium for sure, fizzle go to hizzle, eleifend izzle, nunc. Dope suscipizzle. Integizzle boom shackalack velit ass purus.

+

Headline 2

+

Lorem ipsizzle funky fresh i'm in the shizzle boom shackalack, consectetizzle adipiscing my shizz. Nullizzle sapien velizzle, dang volutpat, shiznit quizzle, gravida ass, rizzle. Pot get down get down tortor. Sed erizzle. Black go to hizzle dolizzle dapibizzle turpis fo shizzle my nizzle yo. Maurizzle pellentesque nibh et check it out. Bow wow wow check it out tortizzle. Pellentesque for sure rhoncizzle bow wow wow. In owned habitasse brizzle dictumst. Nizzle dapibizzle. Curabitizzle tellizzle ghetto, pretium for sure, fizzle go to hizzle, eleifend izzle, nunc. Dope suscipizzle. Integizzle boom shackalack velit ass purus.

+

Headline 3

+

Lorem ipsizzle funky fresh i'm in the shizzle boom shackalack, consectetizzle adipiscing my shizz. Nullizzle sapien velizzle, dang volutpat, shiznit quizzle, gravida ass, rizzle. Pot get down get down tortor. Sed erizzle. Black go to hizzle dolizzle dapibizzle turpis fo shizzle my nizzle yo. Maurizzle pellentesque nibh et check it out. Bow wow wow check it out tortizzle. Pellentesque for sure rhoncizzle bow wow wow. In owned habitasse brizzle dictumst. Nizzle dapibizzle. Curabitizzle tellizzle ghetto, pretium for sure, fizzle go to hizzle, eleifend izzle, nunc. Dope suscipizzle. Integizzle boom shackalack velit ass purus.

+

Headline 4

+

Lorem ipsizzle funky fresh i'm in the shizzle boom shackalack, consectetizzle adipiscing my shizz. Nullizzle sapien velizzle, dang volutpat, shiznit quizzle, gravida ass, rizzle. Pot get down get down tortor. Sed erizzle. Black go to hizzle dolizzle dapibizzle turpis fo shizzle my nizzle yo. Maurizzle pellentesque nibh et check it out. Bow wow wow check it out tortizzle. Pellentesque for sure rhoncizzle bow wow wow. In owned habitasse brizzle dictumst. Nizzle dapibizzle. Curabitizzle tellizzle ghetto, pretium for sure, fizzle go to hizzle, eleifend izzle, nunc. Dope suscipizzle. Integizzle boom shackalack velit ass purus.

+
Headline 5
+

Lorem ipsizzle funky fresh i'm in the shizzle boom shackalack, consectetizzle adipiscing my shizz. Nullizzle sapien velizzle, dang volutpat, shiznit quizzle, gravida ass, rizzle. Pot get down get down tortor. Sed erizzle. Black go to hizzle dolizzle dapibizzle turpis fo shizzle my nizzle yo. Maurizzle pellentesque nibh et check it out. Bow wow wow check it out tortizzle. Pellentesque for sure rhoncizzle bow wow wow. In owned habitasse brizzle dictumst. Nizzle dapibizzle. Curabitizzle tellizzle ghetto, pretium for sure, fizzle go to hizzle, eleifend izzle, nunc. Dope suscipizzle. Integizzle boom shackalack velit ass purus.

+
Headline 6
+

Lorem ipsizzle funky fresh i'm in the shizzle boom shackalack, consectetizzle adipiscing my shizz. Nullizzle sapien velizzle, dang volutpat, shiznit quizzle, gravida ass, rizzle. Pot get down get down tortor. Sed erizzle. Black go to hizzle dolizzle dapibizzle turpis fo shizzle my nizzle yo. Maurizzle pellentesque nibh et check it out. Bow wow wow check it out tortizzle. Pellentesque for sure rhoncizzle bow wow wow. In owned habitasse brizzle dictumst. Nizzle dapibizzle. Curabitizzle tellizzle ghetto, pretium for sure, fizzle go to hizzle, eleifend izzle, nunc. Dope suscipizzle. Integizzle boom shackalack velit ass purus.

+
+ +
+ + + \ No newline at end of file diff --git a/javascripts/scale.fix.js b/javascripts/scale.fix.js new file mode 100644 index 0000000..87a40ca --- /dev/null +++ b/javascripts/scale.fix.js @@ -0,0 +1,17 @@ +var metas = document.getElementsByTagName('meta'); +var i; +if (navigator.userAgent.match(/iPhone/i)) { + for (i=0; i