gorgyrella 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.bzr/README +3 -0
- data/.bzr/branch/branch.conf +2 -0
- data/.bzr/branch/format +1 -0
- data/.bzr/branch/last-revision +1 -0
- data/.bzr/branch/tags +0 -0
- data/.bzr/branch-format +1 -0
- data/.bzr/checkout/conflicts +1 -0
- data/.bzr/checkout/dirstate +0 -0
- data/.bzr/checkout/format +1 -0
- data/.bzr/checkout/merge-hashes +33 -0
- data/.bzr/repository/format +1 -0
- data/.bzr/repository/indices/7433d7509bfad4e7de61716fd159a28e.iix +0 -0
- data/.bzr/repository/indices/7433d7509bfad4e7de61716fd159a28e.rix +0 -0
- data/.bzr/repository/indices/7433d7509bfad4e7de61716fd159a28e.six +5 -0
- data/.bzr/repository/indices/7433d7509bfad4e7de61716fd159a28e.tix +0 -0
- data/.bzr/repository/indices/747331f41951a7f9509b3190e9082de2.iix +0 -0
- data/.bzr/repository/indices/747331f41951a7f9509b3190e9082de2.rix +0 -0
- data/.bzr/repository/indices/747331f41951a7f9509b3190e9082de2.six +5 -0
- data/.bzr/repository/indices/747331f41951a7f9509b3190e9082de2.tix +0 -0
- data/.bzr/repository/indices/94ae76525de86acde2f4722e88fec764.iix +0 -0
- data/.bzr/repository/indices/94ae76525de86acde2f4722e88fec764.rix +0 -0
- data/.bzr/repository/indices/94ae76525de86acde2f4722e88fec764.six +5 -0
- data/.bzr/repository/indices/94ae76525de86acde2f4722e88fec764.tix +0 -0
- data/.bzr/repository/indices/ae5f61661ebb8f30600ce7443b2ea000.iix +0 -0
- data/.bzr/repository/indices/ae5f61661ebb8f30600ce7443b2ea000.rix +0 -0
- data/.bzr/repository/indices/ae5f61661ebb8f30600ce7443b2ea000.six +5 -0
- data/.bzr/repository/indices/ae5f61661ebb8f30600ce7443b2ea000.tix +0 -0
- data/.bzr/repository/indices/e34ba77fcb41bb254463c3c177123bb1.iix +0 -0
- data/.bzr/repository/indices/e34ba77fcb41bb254463c3c177123bb1.rix +0 -0
- data/.bzr/repository/indices/e34ba77fcb41bb254463c3c177123bb1.six +5 -0
- data/.bzr/repository/indices/e34ba77fcb41bb254463c3c177123bb1.tix +0 -0
- data/.bzr/repository/indices/e409e77b2da885ef4e5bc5089a04e60e.iix +0 -0
- data/.bzr/repository/indices/e409e77b2da885ef4e5bc5089a04e60e.rix +0 -0
- data/.bzr/repository/indices/e409e77b2da885ef4e5bc5089a04e60e.six +5 -0
- data/.bzr/repository/indices/e409e77b2da885ef4e5bc5089a04e60e.tix +0 -0
- data/.bzr/repository/indices/fa740d26e5ddc0570df1ec65a7a2af1c.iix +0 -0
- data/.bzr/repository/indices/fa740d26e5ddc0570df1ec65a7a2af1c.rix +0 -0
- data/.bzr/repository/indices/fa740d26e5ddc0570df1ec65a7a2af1c.six +5 -0
- data/.bzr/repository/indices/fa740d26e5ddc0570df1ec65a7a2af1c.tix +0 -0
- data/.bzr/repository/obsolete_packs/24b89e5a96bc1f03a7ce1a200ab48dc9.iix +0 -0
- data/.bzr/repository/obsolete_packs/24b89e5a96bc1f03a7ce1a200ab48dc9.pack +0 -0
- data/.bzr/repository/obsolete_packs/24b89e5a96bc1f03a7ce1a200ab48dc9.rix +0 -0
- data/.bzr/repository/obsolete_packs/24b89e5a96bc1f03a7ce1a200ab48dc9.six +5 -0
- data/.bzr/repository/obsolete_packs/24b89e5a96bc1f03a7ce1a200ab48dc9.tix +0 -0
- data/.bzr/repository/obsolete_packs/3ed72fa820dea2da6169d4361433a5f3.iix +0 -0
- data/.bzr/repository/obsolete_packs/3ed72fa820dea2da6169d4361433a5f3.pack +0 -0
- data/.bzr/repository/obsolete_packs/3ed72fa820dea2da6169d4361433a5f3.rix +0 -0
- data/.bzr/repository/obsolete_packs/3ed72fa820dea2da6169d4361433a5f3.six +5 -0
- data/.bzr/repository/obsolete_packs/3ed72fa820dea2da6169d4361433a5f3.tix +0 -0
- data/.bzr/repository/obsolete_packs/acd9bdd28baefb868bf64371dde19d2b.iix +0 -0
- data/.bzr/repository/obsolete_packs/acd9bdd28baefb868bf64371dde19d2b.pack +0 -0
- data/.bzr/repository/obsolete_packs/acd9bdd28baefb868bf64371dde19d2b.rix +0 -0
- data/.bzr/repository/obsolete_packs/acd9bdd28baefb868bf64371dde19d2b.six +5 -0
- data/.bzr/repository/obsolete_packs/acd9bdd28baefb868bf64371dde19d2b.tix +0 -0
- data/.bzr/repository/obsolete_packs/c408af011313ac56380f5716caffaf43.iix +0 -0
- data/.bzr/repository/obsolete_packs/c408af011313ac56380f5716caffaf43.pack +0 -0
- data/.bzr/repository/obsolete_packs/c408af011313ac56380f5716caffaf43.rix +0 -0
- data/.bzr/repository/obsolete_packs/c408af011313ac56380f5716caffaf43.six +5 -0
- data/.bzr/repository/obsolete_packs/c408af011313ac56380f5716caffaf43.tix +0 -0
- data/.bzr/repository/obsolete_packs/cf2fbd7a25e9ab28e03fe483b1232f54.iix +0 -0
- data/.bzr/repository/obsolete_packs/cf2fbd7a25e9ab28e03fe483b1232f54.pack +0 -0
- data/.bzr/repository/obsolete_packs/cf2fbd7a25e9ab28e03fe483b1232f54.rix +0 -0
- data/.bzr/repository/obsolete_packs/cf2fbd7a25e9ab28e03fe483b1232f54.six +5 -0
- data/.bzr/repository/obsolete_packs/cf2fbd7a25e9ab28e03fe483b1232f54.tix +0 -0
- data/.bzr/repository/obsolete_packs/fedc9930335a072ae735da013bf94c74.iix +0 -0
- data/.bzr/repository/obsolete_packs/fedc9930335a072ae735da013bf94c74.pack +0 -0
- data/.bzr/repository/obsolete_packs/fedc9930335a072ae735da013bf94c74.rix +0 -0
- data/.bzr/repository/obsolete_packs/fedc9930335a072ae735da013bf94c74.six +5 -0
- data/.bzr/repository/obsolete_packs/fedc9930335a072ae735da013bf94c74.tix +0 -0
- data/.bzr/repository/pack-names +0 -0
- data/.bzr/repository/packs/7433d7509bfad4e7de61716fd159a28e.pack +0 -0
- data/.bzr/repository/packs/747331f41951a7f9509b3190e9082de2.pack +0 -0
- data/.bzr/repository/packs/94ae76525de86acde2f4722e88fec764.pack +0 -0
- data/.bzr/repository/packs/ae5f61661ebb8f30600ce7443b2ea000.pack +0 -0
- data/.bzr/repository/packs/e34ba77fcb41bb254463c3c177123bb1.pack +0 -0
- data/.bzr/repository/packs/e409e77b2da885ef4e5bc5089a04e60e.pack +0 -0
- data/.bzr/repository/packs/fa740d26e5ddc0570df1ec65a7a2af1c.pack +0 -0
- data/.bzrignore +5 -0
- data/History.txt +4 -0
- data/LICENSE +619 -0
- data/README.txt +27 -0
- data/Rakefile +59 -0
- data/bin/gorgyrella +6 -0
- data/gorgyrella-manual-0-0-1.pdf +0 -0
- data/gorgyrella.gemspec +36 -0
- data/lib/gorgyrella/builder.rb +49 -0
- data/lib/gorgyrella/composer.rb +79 -0
- data/lib/gorgyrella/formatters/coderay.rb +28 -0
- data/lib/gorgyrella/formatters/pygments.rb +35 -0
- data/lib/gorgyrella/formatters/pygments_guess_lexer.py +9 -0
- data/lib/gorgyrella/formatters/ultraviolet.rb +35 -0
- data/lib/gorgyrella/gorgyrella.rb +9 -0
- data/lib/gorgyrella/parser.rb +637 -0
- data/lib/gorgyrella/parser.rl +133 -0
- data/lib/gorgyrella.rb +46 -0
- data/lib/webby/gorgyrella_helper.rb +31 -0
- data/spec/builder_spec.rb +7 -0
- data/spec/composer_spec.rb +70 -0
- data/spec/data/coderay.css +126 -0
- data/spec/data/example-python.html +24 -0
- data/spec/data/example-ruby.html +30 -0
- data/spec/data/pygments.css +59 -0
- data/spec/data/test.py +21 -0
- data/spec/data/test.rb +13 -0
- data/spec/data/ultraviolet/css/active4d.css +114 -0
- data/spec/data/ultraviolet/css/all_hallows_eve.css +72 -0
- data/spec/data/ultraviolet/css/amy.css +147 -0
- data/spec/data/ultraviolet/css/blackboard.css +88 -0
- data/spec/data/ultraviolet/css/brilliance_black.css +605 -0
- data/spec/data/ultraviolet/css/brilliance_dull.css +599 -0
- data/spec/data/ultraviolet/css/cobalt.css +149 -0
- data/spec/data/ultraviolet/css/dawn.css +121 -0
- data/spec/data/ultraviolet/css/eiffel.css +121 -0
- data/spec/data/ultraviolet/css/espresso_libre.css +109 -0
- data/spec/data/ultraviolet/css/idle.css +62 -0
- data/spec/data/ultraviolet/css/iplastic.css +80 -0
- data/spec/data/ultraviolet/css/lazy.css +73 -0
- data/spec/data/ultraviolet/css/mac_classic.css +123 -0
- data/spec/data/ultraviolet/css/magicwb_amiga.css +104 -0
- data/spec/data/ultraviolet/css/pastels_on_dark.css +188 -0
- data/spec/data/ultraviolet/css/slush_poppies.css +85 -0
- data/spec/data/ultraviolet/css/spacecadet.css +51 -0
- data/spec/data/ultraviolet/css/sunburst.css +180 -0
- data/spec/data/ultraviolet/css/twilight.css +137 -0
- data/spec/data/ultraviolet/css/zenburnesque.css +91 -0
- data/spec/data/unmarked.rb +32 -0
- data/spec/gorgyrella_spec.rb +7 -0
- data/spec/parser_spec.rb +73 -0
- data/spec/spec_helper.rb +13 -0
- data/spec/tmp/example-python-processed-coderay.html +31 -0
- data/spec/tmp/example-python-processed-pygments.html +31 -0
- data/spec/tmp/example-python-processed-ultraviolet.html +31 -0
- data/spec/tmp/example-ruby-processed-coderay.html +31 -0
- data/spec/tmp/example-ruby-processed-pygments.html +37 -0
- data/spec/tmp/example-ruby-processed-ultraviolet.html +33 -0
- data/tasks/ann.rake +80 -0
- data/tasks/bones.rake +20 -0
- data/tasks/gem.rake +201 -0
- data/tasks/git.rake +40 -0
- data/tasks/notes.rake +27 -0
- data/tasks/post_load.rake +34 -0
- data/tasks/rdoc.rake +51 -0
- data/tasks/rubyforge.rake +55 -0
- data/tasks/setup.rb +292 -0
- data/tasks/spec.rake +54 -0
- data/tasks/svn.rake +47 -0
- data/tasks/test.rake +40 -0
- data/tasks/zentest.rake +36 -0
- data/webby/.DS_Store +0 -0
- data/webby/README.txt +6 -0
- data/webby/Sitefile +24 -0
- data/webby/content/css/blueprint/ie.css +26 -0
- data/webby/content/css/blueprint/plugins/buttons/icons/cross.png +0 -0
- data/webby/content/css/blueprint/plugins/buttons/icons/key.png +0 -0
- data/webby/content/css/blueprint/plugins/buttons/icons/tick.png +0 -0
- data/webby/content/css/blueprint/plugins/buttons/readme.txt +32 -0
- data/webby/content/css/blueprint/plugins/buttons/screen.css +97 -0
- data/webby/content/css/blueprint/plugins/fancy-type/readme.txt +14 -0
- data/webby/content/css/blueprint/plugins/fancy-type/screen.css +71 -0
- data/webby/content/css/blueprint/plugins/link-icons/icons/doc.png +0 -0
- data/webby/content/css/blueprint/plugins/link-icons/icons/email.png +0 -0
- data/webby/content/css/blueprint/plugins/link-icons/icons/external.png +0 -0
- data/webby/content/css/blueprint/plugins/link-icons/icons/feed.png +0 -0
- data/webby/content/css/blueprint/plugins/link-icons/icons/im.png +0 -0
- data/webby/content/css/blueprint/plugins/link-icons/icons/pdf.png +0 -0
- data/webby/content/css/blueprint/plugins/link-icons/icons/visited.png +0 -0
- data/webby/content/css/blueprint/plugins/link-icons/icons/xls.png +0 -0
- data/webby/content/css/blueprint/plugins/link-icons/readme.txt +18 -0
- data/webby/content/css/blueprint/plugins/link-icons/screen.css +40 -0
- data/webby/content/css/blueprint/plugins/rtl/readme.txt +10 -0
- data/webby/content/css/blueprint/plugins/rtl/screen.css +109 -0
- data/webby/content/css/blueprint/print.css +30 -0
- data/webby/content/css/blueprint/screen.css +251 -0
- data/webby/content/css/blueprint/src/forms.css +49 -0
- data/webby/content/css/blueprint/src/grid.css +212 -0
- data/webby/content/css/blueprint/src/grid.png +0 -0
- data/webby/content/css/blueprint/src/ie.css +59 -0
- data/webby/content/css/blueprint/src/print.css +85 -0
- data/webby/content/css/blueprint/src/reset.css +38 -0
- data/webby/content/css/blueprint/src/typography.css +105 -0
- data/webby/content/css/pygments.txt +6 -0
- data/webby/content/css/site.css +78 -0
- data/webby/content/gorgyrella-manual.erb +33 -0
- data/webby/content/index.txt +15 -0
- data/webby/layouts/book.txt +29 -0
- data/webby/layouts/default.txt +27 -0
- data/webby/layouts/two_column.txt +25 -0
- data/webby/layouts/web.txt +42 -0
- data/webby/output/.cairn +0 -0
- data/webby/output/css/blueprint/ie.css +26 -0
- data/webby/output/css/blueprint/plugins/buttons/icons/cross.png +0 -0
- data/webby/output/css/blueprint/plugins/buttons/icons/key.png +0 -0
- data/webby/output/css/blueprint/plugins/buttons/icons/tick.png +0 -0
- data/webby/output/css/blueprint/plugins/buttons/readme.txt +32 -0
- data/webby/output/css/blueprint/plugins/buttons/screen.css +97 -0
- data/webby/output/css/blueprint/plugins/fancy-type/readme.txt +14 -0
- data/webby/output/css/blueprint/plugins/fancy-type/screen.css +71 -0
- data/webby/output/css/blueprint/plugins/link-icons/icons/doc.png +0 -0
- data/webby/output/css/blueprint/plugins/link-icons/icons/email.png +0 -0
- data/webby/output/css/blueprint/plugins/link-icons/icons/external.png +0 -0
- data/webby/output/css/blueprint/plugins/link-icons/icons/feed.png +0 -0
- data/webby/output/css/blueprint/plugins/link-icons/icons/im.png +0 -0
- data/webby/output/css/blueprint/plugins/link-icons/icons/pdf.png +0 -0
- data/webby/output/css/blueprint/plugins/link-icons/icons/visited.png +0 -0
- data/webby/output/css/blueprint/plugins/link-icons/icons/xls.png +0 -0
- data/webby/output/css/blueprint/plugins/link-icons/readme.txt +18 -0
- data/webby/output/css/blueprint/plugins/link-icons/screen.css +40 -0
- data/webby/output/css/blueprint/plugins/rtl/readme.txt +10 -0
- data/webby/output/css/blueprint/plugins/rtl/screen.css +109 -0
- data/webby/output/css/blueprint/print.css +30 -0
- data/webby/output/css/blueprint/screen.css +251 -0
- data/webby/output/css/blueprint/src/forms.css +49 -0
- data/webby/output/css/blueprint/src/grid.css +212 -0
- data/webby/output/css/blueprint/src/grid.png +0 -0
- data/webby/output/css/blueprint/src/ie.css +59 -0
- data/webby/output/css/blueprint/src/print.css +85 -0
- data/webby/output/css/blueprint/src/reset.css +38 -0
- data/webby/output/css/blueprint/src/typography.css +105 -0
- data/webby/output/css/pygments.css +59 -0
- data/webby/output/css/site.css +62 -0
- data/webby/output/gorgyrella-manual.aux +17 -0
- data/webby/output/gorgyrella-manual.erb +51 -0
- data/webby/output/gorgyrella-manual.log +271 -0
- data/webby/output/gorgyrella-manual.out +2 -0
- data/webby/output/gorgyrella-manual.pdf +0 -0
- data/webby/output/gorgyrella-manual.tex +191 -0
- data/webby/output/index.html +41 -0
- data/webby/rsync-exclude +7 -0
- data/webby/tasks/latex.rake +14 -0
- data/webby/templates/article.erb +15 -0
- data/webby/templates/book.erb +16 -0
- data/webby/templates/page.erb +12 -0
- metadata +313 -0
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
/* --------------------------------------------------------------
|
|
2
|
+
|
|
3
|
+
grid.css
|
|
4
|
+
* Sets up an easy-to-use grid of 24 columns.
|
|
5
|
+
|
|
6
|
+
By default, the grid is 950px wide, with 24 columns
|
|
7
|
+
spanning 30px, and a 10px margin between columns.
|
|
8
|
+
|
|
9
|
+
If you need fewer or more columns, namespaces or semantic
|
|
10
|
+
element names, use the compressor script (lib/compress.rb)
|
|
11
|
+
|
|
12
|
+
Note: Changes made in this file will not be applied when
|
|
13
|
+
using the compressor: make changes in lib/blueprint/grid.css.rb
|
|
14
|
+
|
|
15
|
+
-------------------------------------------------------------- */
|
|
16
|
+
|
|
17
|
+
/* A container should group all your columns. */
|
|
18
|
+
.container {
|
|
19
|
+
width: 950px;
|
|
20
|
+
margin: 0 auto;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/* Use this class on any .span / container to see the grid. */
|
|
24
|
+
.showgrid { background: url(src/grid.png); }
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
/* Columns
|
|
28
|
+
-------------------------------------------------------------- */
|
|
29
|
+
|
|
30
|
+
/* Sets up basic grid floating and margin. */
|
|
31
|
+
.column, div.span-1, div.span-2, div.span-3, div.span-4, div.span-5,
|
|
32
|
+
div.span-6, div.span-7, div.span-8, div.span-9, div.span-10,
|
|
33
|
+
div.span-11, div.span-12, div.span-13, div.span-14, div.span-15,
|
|
34
|
+
div.span-16, div.span-17, div.span-18, div.span-19, div.span-20,
|
|
35
|
+
div.span-21, div.span-22, div.span-23, div.span-24 {
|
|
36
|
+
float: left;
|
|
37
|
+
margin-right: 10px;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* The last column in a row needs this class. */
|
|
41
|
+
.last, div.last { margin-right: 0; }
|
|
42
|
+
|
|
43
|
+
/* Use these classes to set the width of a column. */
|
|
44
|
+
.span-1 { width: 30px; }
|
|
45
|
+
.span-2 { width: 70px; }
|
|
46
|
+
.span-3 { width: 110px; }
|
|
47
|
+
.span-4 { width: 150px; }
|
|
48
|
+
.span-5 { width: 190px; }
|
|
49
|
+
.span-6 { width: 230px; }
|
|
50
|
+
.span-7 { width: 270px; }
|
|
51
|
+
.span-8 { width: 310px; }
|
|
52
|
+
.span-9 { width: 350px; }
|
|
53
|
+
.span-10 { width: 390px; }
|
|
54
|
+
.span-11 { width: 430px; }
|
|
55
|
+
.span-12 { width: 470px; }
|
|
56
|
+
.span-13 { width: 510px; }
|
|
57
|
+
.span-14 { width: 550px; }
|
|
58
|
+
.span-15 { width: 590px; }
|
|
59
|
+
.span-16 { width: 630px; }
|
|
60
|
+
.span-17 { width: 670px; }
|
|
61
|
+
.span-18 { width: 710px; }
|
|
62
|
+
.span-19 { width: 750px; }
|
|
63
|
+
.span-20 { width: 790px; }
|
|
64
|
+
.span-21 { width: 830px; }
|
|
65
|
+
.span-22 { width: 870px; }
|
|
66
|
+
.span-23 { width: 910px; }
|
|
67
|
+
.span-24 { width: 950px; margin: 0; }
|
|
68
|
+
|
|
69
|
+
/* Add these to a column to append empty cols. */
|
|
70
|
+
.append-1 { padding-right: 40px; }
|
|
71
|
+
.append-2 { padding-right: 80px; }
|
|
72
|
+
.append-3 { padding-right: 120px; }
|
|
73
|
+
.append-4 { padding-right: 160px; }
|
|
74
|
+
.append-5 { padding-right: 200px; }
|
|
75
|
+
.append-6 { padding-right: 240px; }
|
|
76
|
+
.append-7 { padding-right: 280px; }
|
|
77
|
+
.append-8 { padding-right: 320px; }
|
|
78
|
+
.append-9 { padding-right: 360px; }
|
|
79
|
+
.append-10 { padding-right: 400px; }
|
|
80
|
+
.append-11 { padding-right: 440px; }
|
|
81
|
+
.append-12 { padding-right: 480px; }
|
|
82
|
+
.append-13 { padding-right: 520px; }
|
|
83
|
+
.append-14 { padding-right: 560px; }
|
|
84
|
+
.append-15 { padding-right: 600px; }
|
|
85
|
+
.append-16 { padding-right: 640px; }
|
|
86
|
+
.append-17 { padding-right: 680px; }
|
|
87
|
+
.append-18 { padding-right: 720px; }
|
|
88
|
+
.append-19 { padding-right: 760px; }
|
|
89
|
+
.append-20 { padding-right: 800px; }
|
|
90
|
+
.append-21 { padding-right: 840px; }
|
|
91
|
+
.append-22 { padding-right: 880px; }
|
|
92
|
+
.append-23 { padding-right: 920px; }
|
|
93
|
+
|
|
94
|
+
/* Add these to a column to prepend empty cols. */
|
|
95
|
+
.prepend-1 { padding-left: 40px; }
|
|
96
|
+
.prepend-2 { padding-left: 80px; }
|
|
97
|
+
.prepend-3 { padding-left: 120px; }
|
|
98
|
+
.prepend-4 { padding-left: 160px; }
|
|
99
|
+
.prepend-5 { padding-left: 200px; }
|
|
100
|
+
.prepend-6 { padding-left: 240px; }
|
|
101
|
+
.prepend-7 { padding-left: 280px; }
|
|
102
|
+
.prepend-8 { padding-left: 320px; }
|
|
103
|
+
.prepend-9 { padding-left: 360px; }
|
|
104
|
+
.prepend-10 { padding-left: 400px; }
|
|
105
|
+
.prepend-11 { padding-left: 440px; }
|
|
106
|
+
.prepend-12 { padding-left: 480px; }
|
|
107
|
+
.prepend-13 { padding-left: 520px; }
|
|
108
|
+
.prepend-14 { padding-left: 560px; }
|
|
109
|
+
.prepend-15 { padding-left: 600px; }
|
|
110
|
+
.prepend-16 { padding-left: 640px; }
|
|
111
|
+
.prepend-17 { padding-left: 680px; }
|
|
112
|
+
.prepend-18 { padding-left: 720px; }
|
|
113
|
+
.prepend-19 { padding-left: 760px; }
|
|
114
|
+
.prepend-20 { padding-left: 800px; }
|
|
115
|
+
.prepend-21 { padding-left: 840px; }
|
|
116
|
+
.prepend-22 { padding-left: 880px; }
|
|
117
|
+
.prepend-23 { padding-left: 920px; }
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
/* Border on right hand side of a column. */
|
|
121
|
+
.border {
|
|
122
|
+
padding-right: 4px;
|
|
123
|
+
margin-right: 5px;
|
|
124
|
+
border-right: 1px solid #eee;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/* Border with more whitespace, spans one column. */
|
|
128
|
+
.colborder {
|
|
129
|
+
padding-right: 24px;
|
|
130
|
+
margin-right: 25px;
|
|
131
|
+
border-right: 1px solid #eee;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
/* Use these classes on an element to push it into the
|
|
136
|
+
next column, or to pull it into the previous column. */
|
|
137
|
+
|
|
138
|
+
.pull-1 { margin-left: -40px; }
|
|
139
|
+
.pull-2 { margin-left: -80px; }
|
|
140
|
+
.pull-3 { margin-left: -120px; }
|
|
141
|
+
.pull-4 { margin-left: -160px; }
|
|
142
|
+
.pull-5 { margin-left: -200px; }
|
|
143
|
+
|
|
144
|
+
.pull-1, .pull-2, .pull-3, .pull-4, .pull-5 {
|
|
145
|
+
float:left;
|
|
146
|
+
position:relative;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.push-1 { margin: 0 -40px 1.5em 40px; }
|
|
150
|
+
.push-2 { margin: 0 -80px 1.5em 80px; }
|
|
151
|
+
.push-3 { margin: 0 -120px 1.5em 120px; }
|
|
152
|
+
.push-4 { margin: 0 -160px 1.5em 160px; }
|
|
153
|
+
.push-5 { margin: 0 -200px 1.5em 200px; }
|
|
154
|
+
|
|
155
|
+
.push-1, .push-2, .push-3, .push-4, .push-5 {
|
|
156
|
+
float: right;
|
|
157
|
+
position:relative;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
/* Misc classes and elements
|
|
162
|
+
-------------------------------------------------------------- */
|
|
163
|
+
|
|
164
|
+
/* In case you need to add a gutter above/below an element */
|
|
165
|
+
.prepend-top {
|
|
166
|
+
margin-top:1.5em;
|
|
167
|
+
}
|
|
168
|
+
.append-bottom {
|
|
169
|
+
margin-bottom:1.5em;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/* Use a .box to create a padded box inside a column. */
|
|
173
|
+
.box {
|
|
174
|
+
padding: 1.5em;
|
|
175
|
+
margin-bottom: 1.5em;
|
|
176
|
+
background: #E5ECF9;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/* Use this to create a horizontal ruler across a column. */
|
|
180
|
+
hr {
|
|
181
|
+
background: #ddd;
|
|
182
|
+
color: #ddd;
|
|
183
|
+
clear: both;
|
|
184
|
+
float: none;
|
|
185
|
+
width: 100%;
|
|
186
|
+
height: .1em;
|
|
187
|
+
margin: 0 0 1.45em;
|
|
188
|
+
border: none;
|
|
189
|
+
}
|
|
190
|
+
hr.space {
|
|
191
|
+
background: #fff;
|
|
192
|
+
color: #fff;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
/* Clearing floats without extra markup
|
|
197
|
+
Based on How To Clear Floats Without Structural Markup by PiE
|
|
198
|
+
[http://www.positioniseverything.net/easyclearing.html] */
|
|
199
|
+
|
|
200
|
+
.clearfix:after, .container:after {
|
|
201
|
+
content: ".";
|
|
202
|
+
display: block;
|
|
203
|
+
height: 0;
|
|
204
|
+
clear: both;
|
|
205
|
+
visibility: hidden;
|
|
206
|
+
}
|
|
207
|
+
.clearfix, .container {display: block;}
|
|
208
|
+
|
|
209
|
+
/* Regular clearing
|
|
210
|
+
apply to column that should drop below previous ones. */
|
|
211
|
+
|
|
212
|
+
.clear { clear:both; }
|
|
Binary file
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/* --------------------------------------------------------------
|
|
2
|
+
|
|
3
|
+
ie.css
|
|
4
|
+
|
|
5
|
+
Contains every hack for Internet Explorer,
|
|
6
|
+
so that our core files stay sweet and nimble.
|
|
7
|
+
|
|
8
|
+
-------------------------------------------------------------- */
|
|
9
|
+
|
|
10
|
+
/* Make sure the layout is centered in IE5 */
|
|
11
|
+
body { text-align: center; }
|
|
12
|
+
.container { text-align: left; }
|
|
13
|
+
|
|
14
|
+
/* Fixes IE margin bugs */
|
|
15
|
+
* html .column, * html div.span-1, * html div.span-2,
|
|
16
|
+
* html div.span-3, * html div.span-4, * html div.span-5,
|
|
17
|
+
* html div.span-6, * html div.span-7, * html div.span-8,
|
|
18
|
+
* html div.span-9, * html div.span-10, * html div.span-11,
|
|
19
|
+
* html div.span-12, * html div.span-13, * html div.span-14,
|
|
20
|
+
* html div.span-15, * html div.span-16, * html div.span-17,
|
|
21
|
+
* html div.span-18, * html div.span-19, * html div.span-20,
|
|
22
|
+
* html div.span-21, * html div.span-22, * html div.span-23,
|
|
23
|
+
* html div.span-24 { overflow-x: hidden; }
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
/* Elements
|
|
27
|
+
-------------------------------------------------------------- */
|
|
28
|
+
|
|
29
|
+
/* Fixes incorrect styling of legend in IE6. */
|
|
30
|
+
* html legend { margin:-18px -8px 16px 0; padding:0; }
|
|
31
|
+
|
|
32
|
+
/* Fixes incorrect placement of ol numbers in IE6/7. */
|
|
33
|
+
ol { margin-left:2em; }
|
|
34
|
+
|
|
35
|
+
/* Fixes wrong line-height on sup/sub in IE. */
|
|
36
|
+
sup { vertical-align: text-top; }
|
|
37
|
+
sub { vertical-align: text-bottom; }
|
|
38
|
+
|
|
39
|
+
/* Fixes IE7 missing wrapping of code elements. */
|
|
40
|
+
html>body p code { *white-space: normal; }
|
|
41
|
+
|
|
42
|
+
/* IE 6&7 has problems with setting proper <hr> margins. */
|
|
43
|
+
hr { margin: -8px auto 11px; }
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
/* Clearing
|
|
47
|
+
-------------------------------------------------------------- */
|
|
48
|
+
|
|
49
|
+
/* Makes clearfix actually work in IE */
|
|
50
|
+
.clearfix, .container {display: inline-block;}
|
|
51
|
+
* html .clearfix,
|
|
52
|
+
* html .container {height: 1%;}
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
/* Forms
|
|
56
|
+
-------------------------------------------------------------- */
|
|
57
|
+
|
|
58
|
+
/* Fixes padding on fieldset */
|
|
59
|
+
fieldset {padding-top: 0;}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/* --------------------------------------------------------------
|
|
2
|
+
|
|
3
|
+
print.css
|
|
4
|
+
* Gives you some sensible styles for printing pages.
|
|
5
|
+
* See Readme file in this directory for further instructions.
|
|
6
|
+
|
|
7
|
+
Some additions you'll want to make, customized to your markup:
|
|
8
|
+
#header, #footer, #navigation { display:none; }
|
|
9
|
+
|
|
10
|
+
-------------------------------------------------------------- */
|
|
11
|
+
|
|
12
|
+
body {
|
|
13
|
+
line-height: 1.5;
|
|
14
|
+
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
|
15
|
+
color:#000;
|
|
16
|
+
background: none;
|
|
17
|
+
font-size: 10pt;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
/* Layout
|
|
22
|
+
-------------------------------------------------------------- */
|
|
23
|
+
|
|
24
|
+
.container {
|
|
25
|
+
background: none;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
hr {
|
|
29
|
+
background:#ccc;
|
|
30
|
+
color:#ccc;
|
|
31
|
+
width:100%;
|
|
32
|
+
height:2px;
|
|
33
|
+
margin:2em 0;
|
|
34
|
+
padding:0;
|
|
35
|
+
border:none;
|
|
36
|
+
}
|
|
37
|
+
hr.space {
|
|
38
|
+
background: #fff;
|
|
39
|
+
color: #fff;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
/* Text
|
|
44
|
+
-------------------------------------------------------------- */
|
|
45
|
+
|
|
46
|
+
h1,h2,h3,h4,h5,h6 { font-family: "Helvetica Neue", Arial, "Lucida Grande", sans-serif; }
|
|
47
|
+
code { font:.9em "Courier New", Monaco, Courier, monospace; }
|
|
48
|
+
|
|
49
|
+
img { float:left; margin:1.5em 1.5em 1.5em 0; }
|
|
50
|
+
a img { border:none; }
|
|
51
|
+
p img.top { margin-top: 0; }
|
|
52
|
+
|
|
53
|
+
blockquote {
|
|
54
|
+
margin:1.5em;
|
|
55
|
+
padding:1em;
|
|
56
|
+
font-style:italic;
|
|
57
|
+
font-size:.9em;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.small { font-size: .9em; }
|
|
61
|
+
.large { font-size: 1.1em; }
|
|
62
|
+
.quiet { color: #999; }
|
|
63
|
+
.hide { display:none; }
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
/* Links
|
|
67
|
+
-------------------------------------------------------------- */
|
|
68
|
+
|
|
69
|
+
a:link, a:visited {
|
|
70
|
+
background: transparent;
|
|
71
|
+
font-weight:700;
|
|
72
|
+
text-decoration: underline;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
a:link:after, a:visited:after {
|
|
76
|
+
content: " (" attr(href) ") ";
|
|
77
|
+
font-size: 90%;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/* If you're having trouble printing relative links, uncomment and customize this:
|
|
81
|
+
(note: This is valid CSS3, but it still won't go through the W3C CSS Validator) */
|
|
82
|
+
|
|
83
|
+
/* a[href^="/"]:after {
|
|
84
|
+
content: " (http://www.yourdomain.com" attr(href) ") ";
|
|
85
|
+
} */
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/* --------------------------------------------------------------
|
|
2
|
+
|
|
3
|
+
reset.css
|
|
4
|
+
* Resets default browser CSS.
|
|
5
|
+
|
|
6
|
+
-------------------------------------------------------------- */
|
|
7
|
+
|
|
8
|
+
html, body, div, span, object, iframe,
|
|
9
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
|
10
|
+
a, abbr, acronym, address, code,
|
|
11
|
+
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
|
|
12
|
+
fieldset, form, label, legend,
|
|
13
|
+
table, caption, tbody, tfoot, thead, tr, th, td {
|
|
14
|
+
margin: 0;
|
|
15
|
+
padding: 0;
|
|
16
|
+
border: 0;
|
|
17
|
+
font-weight: inherit;
|
|
18
|
+
font-style: inherit;
|
|
19
|
+
font-size: 100%;
|
|
20
|
+
font-family: inherit;
|
|
21
|
+
vertical-align: baseline;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
body {
|
|
25
|
+
line-height: 1.5;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* Tables still need 'cellspacing="0"' in the markup. */
|
|
29
|
+
table { border-collapse: separate; border-spacing: 0; }
|
|
30
|
+
caption, th, td { text-align: left; font-weight: normal; }
|
|
31
|
+
table, td, th { vertical-align: middle; }
|
|
32
|
+
|
|
33
|
+
/* Remove possible quote marks (") from <q>, <blockquote>. */
|
|
34
|
+
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
|
|
35
|
+
blockquote, q { quotes: "" ""; }
|
|
36
|
+
|
|
37
|
+
/* Remove annoying border on linked images. */
|
|
38
|
+
a img { border: none; }
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
/* --------------------------------------------------------------
|
|
2
|
+
|
|
3
|
+
typography.css
|
|
4
|
+
* Sets up some sensible default typography.
|
|
5
|
+
|
|
6
|
+
-------------------------------------------------------------- */
|
|
7
|
+
|
|
8
|
+
/* Default font settings.
|
|
9
|
+
The font-size percentage is of 16px. (0.75 * 16px = 12px) */
|
|
10
|
+
body {
|
|
11
|
+
font-size: 75%;
|
|
12
|
+
color: #222;
|
|
13
|
+
background: #fff;
|
|
14
|
+
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
/* Headings
|
|
19
|
+
-------------------------------------------------------------- */
|
|
20
|
+
|
|
21
|
+
h1,h2,h3,h4,h5,h6 { font-weight: normal; color: #111; }
|
|
22
|
+
|
|
23
|
+
h1 { font-size: 3em; line-height: 1; margin-bottom: 0.5em; }
|
|
24
|
+
h2 { font-size: 2em; margin-bottom: 0.75em; }
|
|
25
|
+
h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1em; }
|
|
26
|
+
h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; }
|
|
27
|
+
h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
|
|
28
|
+
h6 { font-size: 1em; font-weight: bold; }
|
|
29
|
+
|
|
30
|
+
h1 img, h2 img, h3 img,
|
|
31
|
+
h4 img, h5 img, h6 img {
|
|
32
|
+
margin: 0;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
/* Text elements
|
|
37
|
+
-------------------------------------------------------------- */
|
|
38
|
+
|
|
39
|
+
p { margin: 0 0 1.5em; }
|
|
40
|
+
p img.left { float: left; margin: 1.5em 1.5em 1.5em 0; padding: 0; }
|
|
41
|
+
p img.right { float: right; margin: 1.5em 0 1.5em 1.5em; }
|
|
42
|
+
|
|
43
|
+
a:focus,
|
|
44
|
+
a:hover { color: #000; }
|
|
45
|
+
a { color: #009; text-decoration: underline; }
|
|
46
|
+
|
|
47
|
+
blockquote { margin: 1.5em; color: #666; font-style: italic; }
|
|
48
|
+
strong { font-weight: bold; }
|
|
49
|
+
em,dfn { font-style: italic; }
|
|
50
|
+
dfn { font-weight: bold; }
|
|
51
|
+
sup, sub { line-height: 0; }
|
|
52
|
+
|
|
53
|
+
abbr,
|
|
54
|
+
acronym { border-bottom: 1px dotted #666; }
|
|
55
|
+
address { margin: 0 0 1.5em; font-style: italic; }
|
|
56
|
+
del { color:#666; }
|
|
57
|
+
|
|
58
|
+
pre { margin: 1.5em 0; white-space: pre; }
|
|
59
|
+
pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; }
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
/* Lists
|
|
63
|
+
-------------------------------------------------------------- */
|
|
64
|
+
|
|
65
|
+
li ul,
|
|
66
|
+
li ol { margin:0 1.5em; }
|
|
67
|
+
ul, ol { margin: 0 1.5em 1.5em 1.5em; }
|
|
68
|
+
|
|
69
|
+
ul { list-style-type: disc; }
|
|
70
|
+
ol { list-style-type: decimal; }
|
|
71
|
+
|
|
72
|
+
dl { margin: 0 0 1.5em 0; }
|
|
73
|
+
dl dt { font-weight: bold; }
|
|
74
|
+
dd { margin-left: 1.5em;}
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
/* Tables
|
|
78
|
+
-------------------------------------------------------------- */
|
|
79
|
+
|
|
80
|
+
table { margin-bottom: 1.4em; width:100%; }
|
|
81
|
+
th { font-weight: bold; }
|
|
82
|
+
thead th { background: #c3d9ff; }
|
|
83
|
+
th,td,caption { padding: 4px 10px 4px 5px; }
|
|
84
|
+
tr.even td { background: #e5ecf9; }
|
|
85
|
+
tfoot { font-style: italic; }
|
|
86
|
+
caption { background: #eee; }
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
/* Misc classes
|
|
90
|
+
-------------------------------------------------------------- */
|
|
91
|
+
|
|
92
|
+
.small { font-size: .8em; margin-bottom: 1.875em; line-height: 1.875em; }
|
|
93
|
+
.large { font-size: 1.2em; line-height: 2.5em; margin-bottom: 1.25em; }
|
|
94
|
+
.hide { display: none; }
|
|
95
|
+
|
|
96
|
+
.quiet { color: #666; }
|
|
97
|
+
.loud { color: #000; }
|
|
98
|
+
.highlight { background:#ff0; }
|
|
99
|
+
.added { background:#060; color: #fff; }
|
|
100
|
+
.removed { background:#900; color: #fff; }
|
|
101
|
+
|
|
102
|
+
.first { margin-left:0; padding-left:0; }
|
|
103
|
+
.last { margin-right:0; padding-right:0; }
|
|
104
|
+
.top { margin-top:0; padding-top:0; }
|
|
105
|
+
.bottom { margin-bottom:0; padding-bottom:0; }
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
.hll { background-color: #ffffcc }
|
|
2
|
+
.c { color: #228B22 } /* Comment */
|
|
3
|
+
.err { color: #a61717; background-color: #e3d2d2 } /* Error */
|
|
4
|
+
.k { color: #8B008B; font-weight: bold } /* Keyword */
|
|
5
|
+
.cm { color: #228B22 } /* Comment.Multiline */
|
|
6
|
+
.cp { color: #1e889b } /* Comment.Preproc */
|
|
7
|
+
.c1 { color: #228B22 } /* Comment.Single */
|
|
8
|
+
.cs { color: #8B008B; font-weight: bold } /* Comment.Special */
|
|
9
|
+
.gd { color: #aa0000 } /* Generic.Deleted */
|
|
10
|
+
.ge { font-style: italic } /* Generic.Emph */
|
|
11
|
+
.gr { color: #aa0000 } /* Generic.Error */
|
|
12
|
+
.gh { color: #000080; font-weight: bold } /* Generic.Heading */
|
|
13
|
+
.gi { color: #00aa00 } /* Generic.Inserted */
|
|
14
|
+
.go { color: #888888 } /* Generic.Output */
|
|
15
|
+
.gp { color: #555555 } /* Generic.Prompt */
|
|
16
|
+
.gs { font-weight: bold } /* Generic.Strong */
|
|
17
|
+
.gu { color: #800080; font-weight: bold } /* Generic.Subheading */
|
|
18
|
+
.gt { color: #aa0000 } /* Generic.Traceback */
|
|
19
|
+
.kc { color: #8B008B; font-weight: bold } /* Keyword.Constant */
|
|
20
|
+
.kd { color: #8B008B; font-weight: bold } /* Keyword.Declaration */
|
|
21
|
+
.kn { color: #8B008B; font-weight: bold } /* Keyword.Namespace */
|
|
22
|
+
.kp { color: #8B008B; font-weight: bold } /* Keyword.Pseudo */
|
|
23
|
+
.kr { color: #8B008B; font-weight: bold } /* Keyword.Reserved */
|
|
24
|
+
.kt { color: #a7a7a7; font-weight: bold } /* Keyword.Type */
|
|
25
|
+
.m { color: #B452CD } /* Literal.Number */
|
|
26
|
+
.s { color: #CD5555 } /* Literal.String */
|
|
27
|
+
.na { color: #658b00 } /* Name.Attribute */
|
|
28
|
+
.nb { color: #658b00 } /* Name.Builtin */
|
|
29
|
+
.nc { color: #008b45; font-weight: bold } /* Name.Class */
|
|
30
|
+
.no { color: #00688B } /* Name.Constant */
|
|
31
|
+
.nd { color: #707a7c } /* Name.Decorator */
|
|
32
|
+
.ne { color: #008b45; font-weight: bold } /* Name.Exception */
|
|
33
|
+
.nf { color: #008b45 } /* Name.Function */
|
|
34
|
+
.nn { color: #008b45; text-decoration: underline } /* Name.Namespace */
|
|
35
|
+
.nt { color: #8B008B; font-weight: bold } /* Name.Tag */
|
|
36
|
+
.nv { color: #00688B } /* Name.Variable */
|
|
37
|
+
.ow { color: #8B008B } /* Operator.Word */
|
|
38
|
+
.w { color: #bbbbbb } /* Text.Whitespace */
|
|
39
|
+
.mf { color: #B452CD } /* Literal.Number.Float */
|
|
40
|
+
.mh { color: #B452CD } /* Literal.Number.Hex */
|
|
41
|
+
.mi { color: #B452CD } /* Literal.Number.Integer */
|
|
42
|
+
.mo { color: #B452CD } /* Literal.Number.Oct */
|
|
43
|
+
.sb { color: #CD5555 } /* Literal.String.Backtick */
|
|
44
|
+
.sc { color: #CD5555 } /* Literal.String.Char */
|
|
45
|
+
.sd { color: #CD5555 } /* Literal.String.Doc */
|
|
46
|
+
.s2 { color: #CD5555 } /* Literal.String.Double */
|
|
47
|
+
.se { color: #CD5555 } /* Literal.String.Escape */
|
|
48
|
+
.sh { color: #1c7e71; font-style: italic } /* Literal.String.Heredoc */
|
|
49
|
+
.si { color: #CD5555 } /* Literal.String.Interpol */
|
|
50
|
+
.sx { color: #cb6c20 } /* Literal.String.Other */
|
|
51
|
+
.sr { color: #1c7e71 } /* Literal.String.Regex */
|
|
52
|
+
.s1 { color: #CD5555 } /* Literal.String.Single */
|
|
53
|
+
.ss { color: #CD5555 } /* Literal.String.Symbol */
|
|
54
|
+
.bp { color: #658b00 } /* Name.Builtin.Pseudo */
|
|
55
|
+
.vc { color: #00688B } /* Name.Variable.Class */
|
|
56
|
+
.vg { color: #00688B } /* Name.Variable.Global */
|
|
57
|
+
.vi { color: #00688B } /* Name.Variable.Instance */
|
|
58
|
+
.il { color: #B452CD } /* Literal.Number.Integer.Long */
|
|
59
|
+
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
|
|
2
|
+
body {
|
|
3
|
+
font-family: Verdana, "Bitstream Vera Sans", sans-serif;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
/* Headings
|
|
7
|
+
* --------------------------------------------------------------------- */
|
|
8
|
+
h1,h2,h3,h4,h5,h6 { color: #111; }
|
|
9
|
+
|
|
10
|
+
/* Text Elements
|
|
11
|
+
* --------------------------------------------------------------------- */
|
|
12
|
+
a { color: #125AA7; }
|
|
13
|
+
a:hover { color: #000; }
|
|
14
|
+
blockquote { color: #666; }
|
|
15
|
+
|
|
16
|
+
pre {
|
|
17
|
+
background: #eee;
|
|
18
|
+
border: 1px solid #ddd;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
hr {
|
|
22
|
+
background: #B2CCFF;
|
|
23
|
+
color: #B2CCFF;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/* Tables
|
|
27
|
+
* --------------------------------------------------------------------- */
|
|
28
|
+
table {
|
|
29
|
+
border-top: 1px solid #ddd;
|
|
30
|
+
border-left: 1px solid #ddd;
|
|
31
|
+
}
|
|
32
|
+
th,td {
|
|
33
|
+
border-bottom: 1px solid #ddd;
|
|
34
|
+
border-right: 1px solid #ddd;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/* Default Classes
|
|
38
|
+
* --------------------------------------------------------------------- */
|
|
39
|
+
p.quiet { color: #666; }
|
|
40
|
+
.alt { color: #666; }
|
|
41
|
+
|
|
42
|
+
p.title {
|
|
43
|
+
color: #111;
|
|
44
|
+
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
45
|
+
font-size: 2em;
|
|
46
|
+
margin-bottom: 0.75em;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
#header p.title { font-size: 3em; line-height: 1; margin-bottom: 0.5em; }
|
|
50
|
+
|
|
51
|
+
/* Fixes for Pygments */
|
|
52
|
+
pre {margin:0;}
|
|
53
|
+
pre, code, tt {line-height:1;}
|
|
54
|
+
table.highlighttable {
|
|
55
|
+
padding: 0;
|
|
56
|
+
margin: 0;
|
|
57
|
+
}
|
|
58
|
+
table.highlighttable td {
|
|
59
|
+
padding: 0;
|
|
60
|
+
margin: 0;
|
|
61
|
+
vertical-align: top;
|
|
62
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
\relax
|
|
2
|
+
\ifx\hyper@anchor\@undefined
|
|
3
|
+
\global \let \oldcontentsline\contentsline
|
|
4
|
+
\gdef \contentsline#1#2#3#4{\oldcontentsline{#1}{#2}{#3}}
|
|
5
|
+
\global \let \oldnewlabel\newlabel
|
|
6
|
+
\gdef \newlabel#1#2{\newlabelxx{#1}#2}
|
|
7
|
+
\gdef \newlabelxx#1#2#3#4#5#6{\oldnewlabel{#1}{{#2}{#3}}}
|
|
8
|
+
\AtEndDocument{\let \contentsline\oldcontentsline
|
|
9
|
+
\let \newlabel\oldnewlabel}
|
|
10
|
+
\else
|
|
11
|
+
\global \let \hyper@last\relax
|
|
12
|
+
\fi
|
|
13
|
+
|
|
14
|
+
\@writefile{toc}{\contentsline {section}{\numberline {1}Gorgyrella}{1}{section.1}}
|
|
15
|
+
\newlabel{sec:gorgyrella}{{1}{1}{Gorgyrella\relax }{section.1}{}}
|
|
16
|
+
\@writefile{toc}{\contentsline {section}{\numberline {2}Examples}{1}{section.2}}
|
|
17
|
+
\newlabel{sec:examples}{{2}{1}{Examples\relax }{section.2}{}}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
|
|
2
|
+
\section{Gorgyrella} % (fold)
|
|
3
|
+
\label{sec:gorgyrella}
|
|
4
|
+
|
|
5
|
+
Gorgyrella is a Ruby gem for creating literate documentation, which is a document which incorporates bits of live code taken directly from runnable, executable files. You can use Gorgyrella for writing tutorials, blog posts, software documentation, reports, articles, even your thesis. Gorgyrella integrates with syntax highlighters to make your code look beautiful, you can even write your own custom formatter.
|
|
6
|
+
|
|
7
|
+
% section gorgyrella (end)
|
|
8
|
+
|
|
9
|
+
To compile this documentation requires \LaTeX and the gems Gorgyrella and Webby.
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
Here is a file from the Gorgyrella source:
|
|
13
|
+
\begin{Verbatim}[commandchars=@\[\]]
|
|
14
|
+
@PYbc[import] @PYaV[sys]
|
|
15
|
+
@PYbc[from] @PYaV[pygments.lexers] @PYbc[import] guess_lexer_for_filename
|
|
16
|
+
|
|
17
|
+
@PYay[try]:
|
|
18
|
+
lexer_name @PYbe[=] guess_lexer_for_filename(sys@PYbe[.]argv@PYZlb[]@PYaw[1]@PYZrb[], @PYaB["]@PYaB["])@PYbe[.]aliases@PYZlb[]@PYaw[0]@PYZrb[]
|
|
19
|
+
@PYay[except]:
|
|
20
|
+
lexer_name @PYbe[=] @PYaB["]@PYaB["]
|
|
21
|
+
|
|
22
|
+
@PYay[print] lexer_name
|
|
23
|
+
\end{Verbatim}
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
Here is part of the Ragel parser:
|
|
27
|
+
\begin{Verbatim}[commandchars=@\[\]]
|
|
28
|
+
@PYay[def] @PYaO[self]@PYbe[.]@PYaL[run_machine](data, test_mode @PYbe[=] @PYaj[false])
|
|
29
|
+
@PYaf[# puts "Running the state machine with input #{data}..."]
|
|
30
|
+
data @PYbe[+=] @PYaW["]@PYao[\n]@PYao[\n]@PYaW["]
|
|
31
|
+
data @PYbe[=] data@PYbe[.]unpack(@PYaW["]@PYaW[c*]@PYaW["]) @PYay[if] data@PYbe[.]is_a?(@PYaX[String])
|
|
32
|
+
|
|
33
|
+
line_counter @PYbe[=] @PYag[0]
|
|
34
|
+
line_data @PYbe[=] @PYbe[@PYZlb[]]@PYbe[@PYZrb[]]
|
|
35
|
+
|
|
36
|
+
builder @PYbe[=] @PYaq[Builder]@PYbe[.]new
|
|
37
|
+
|
|
38
|
+
eof @PYbe[=] @PYbe[-]@PYag[1]
|
|
39
|
+
|
|
40
|
+
%%@PYaM[ ]@PYay[write]@PYaM[ ]@PYai[init];
|
|
41
|
+
%%@PYaM[ ]@PYay[write]@PYaM[ ]@PYai[exec];
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
@PYay[if] test_mode
|
|
45
|
+
@PYbe[@PYZlb[]]builder, line_data@PYbe[@PYZrb[]]
|
|
46
|
+
@PYay[else]
|
|
47
|
+
builder
|
|
48
|
+
@PYay[end]
|
|
49
|
+
@PYay[end]
|
|
50
|
+
\end{Verbatim}
|
|
51
|
+
|