sp-tutorial 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +42 -0
- data/Rakefile +36 -0
- data/TODO +6 -0
- data/VERSION.yml +4 -0
- data/config.ru +15 -0
- data/lib/config.ru +15 -0
- data/lib/public/doc/Cyklop-otf-0_91.zip +0 -0
- data/lib/public/doc/ex/sp_lab01_zad.odt +0 -0
- data/lib/public/doc/ex/sp_lab02_zad.odt +0 -0
- data/lib/public/doc/ex/sp_lab03_zad.odt +0 -0
- data/lib/public/doc/ex/sp_lab04_zad.odt +0 -0
- data/lib/public/doc/latexsheet.pdf +0 -0
- data/lib/public/doc/survival.pdf +0 -0
- data/lib/public/images/Thatll_Flat_Git_It_Vol_20.jpg +0 -0
- data/lib/public/images/alan_kay.jpg +0 -0
- data/lib/public/images/alan_perlis.jpg +0 -0
- data/lib/public/images/albert_einstein.jpg +0 -0
- data/lib/public/images/algorithm.png +0 -0
- data/lib/public/images/biuletyn-snall.jpg +0 -0
- data/lib/public/images/bop.jpg +0 -0
- data/lib/public/images/borenstein.jpg +0 -0
- data/lib/public/images/commits.png +0 -0
- data/lib/public/images/gitk-branches.png +0 -0
- data/lib/public/images/jkew.jpg +0 -0
- data/lib/public/images/jwz.gif +0 -0
- data/lib/public/images/knuth.jpg +0 -0
- data/lib/public/images/marcin_wolinski.jpg +0 -0
- data/lib/public/images/objects-example.png +0 -0
- data/lib/public/images/perlis.gif +0 -0
- data/lib/public/images/real_programmers.png +0 -0
- data/lib/public/images/richard_stallman.jpg +0 -0
- data/lib/public/images/sp.png +0 -0
- data/lib/public/images/sp.svg +117 -0
- data/lib/public/images/spowrotem.jpg +0 -0
- data/lib/public/images/staging_area.png +0 -0
- data/lib/public/images/the_thinker.jpg +0 -0
- data/lib/public/images/tparr.jpg +0 -0
- data/lib/public/images/wide-gitk.gif +0 -0
- data/lib/public/javascripts/sp.js +1 -0
- data/lib/public/stylesheets/fonts/Cyklop-Italic.otf +0 -0
- data/lib/public/stylesheets/icons/doc.png +0 -0
- data/lib/public/stylesheets/icons/email.png +0 -0
- data/lib/public/stylesheets/icons/external.png +0 -0
- data/lib/public/stylesheets/icons/feed.png +0 -0
- data/lib/public/stylesheets/icons/im.png +0 -0
- data/lib/public/stylesheets/icons/pdf.png +0 -0
- data/lib/public/stylesheets/icons/visited.png +0 -0
- data/lib/public/stylesheets/icons/xls.png +0 -0
- data/lib/public/stylesheets/ie.css +27 -0
- data/lib/public/stylesheets/print.css +30 -0
- data/lib/public/stylesheets/screen.css +249 -0
- data/lib/public/stylesheets/sp.css +194 -0
- data/lib/public/stylesheets/src/grid.png +0 -0
- data/lib/public/stylesheets/uv.css +121 -0
- data/lib/sp-tutorial.rb +78 -0
- data/lib/views/answers.rdiscount +7 -0
- data/lib/views/exercises.rdiscount +154 -0
- data/lib/views/favicon.ico.rdiscount +0 -0
- data/lib/views/git.rdiscount +558 -0
- data/lib/views/labs01.rdiscount +54 -0
- data/lib/views/labs02.rdiscount +32 -0
- data/lib/views/labs03.rdiscount +28 -0
- data/lib/views/labs04.rdiscount +41 -0
- data/lib/views/latex.rdiscount +498 -0
- data/lib/views/layout.rdiscount +41 -0
- data/lib/views/ll.rdiscount +78 -0
- data/lib/views/main.rdiscount +67 -0
- data/lib/views/scripts.rdiscount +618 -0
- data/lib/views/unix-commands.rdiscount +604 -0
- data/lib/views/unix-guru.rdiscount +696 -0
- data/sp-tutorial.gemspec +125 -0
- metadata +186 -0
data/README.markdown
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
# Środowisko Programisty
|
2
|
+
|
3
|
+
Gem zawierający notatki do wykładu z „Środowiska Programisty”.
|
4
|
+
|
5
|
+
### Instalacja
|
6
|
+
|
7
|
+
Wykonać polecenie:
|
8
|
+
|
9
|
+
gem install wbzyl-sp-ii -s http://gems.github.com
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
### Zależności
|
14
|
+
|
15
|
+
*sp-tutorial* zależy od następujących gemów,
|
16
|
+
które należy zainstalować:
|
17
|
+
|
18
|
+
* rack
|
19
|
+
* sinatra
|
20
|
+
* rdiscount
|
21
|
+
* wbzyl-sinatra-rdiscount
|
22
|
+
* wbzyl-rack-codehighlighter
|
23
|
+
* ultraviolet
|
24
|
+
|
25
|
+
### Uruchamianie
|
26
|
+
|
27
|
+
Sprawdzamy gdzie w systemie został zainstalowany gem *sp-ii*:
|
28
|
+
|
29
|
+
gem which wbzyl-sp-ii
|
30
|
+
|
31
|
+
Przechodzimy do tego katalogu i uruchamiamy aplikację:
|
32
|
+
|
33
|
+
thin --rackup config.ru -p 3000 start
|
34
|
+
|
35
|
+
Po uruchomieniu aplikacja jest dostępna z URL:
|
36
|
+
|
37
|
+
http://localhost:3000/
|
38
|
+
|
39
|
+
## TODO
|
40
|
+
|
41
|
+
Dopisać kilka scenariuszy,
|
42
|
+
podobnych do [GitUsage](http://biopython.org/wiki/GitUsage).
|
data/Rakefile
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
require 'rake'
|
2
|
+
|
3
|
+
$LOAD_PATH.unshift('lib')
|
4
|
+
|
5
|
+
begin
|
6
|
+
require 'jeweler'
|
7
|
+
Jeweler::Tasks.new do |gemspec|
|
8
|
+
gemspec.name = "sp-tutorial"
|
9
|
+
gemspec.summary = "Notatki do wyklady z Srodowiska Programisty."
|
10
|
+
gemspec.email = "matwb@univ.gda.pl"
|
11
|
+
gemspec.authors = ["Wlodek Bzyl"]
|
12
|
+
gemspec.homepage = "http://github.com/wbzyl/sp-tutorial"
|
13
|
+
|
14
|
+
gemspec.description = <<-EOF
|
15
|
+
Notatki do frameworka Rails3
|
16
|
+
EOF
|
17
|
+
|
18
|
+
gemspec.files = FileList['lib/**/*', "TODO", "Rakefile",
|
19
|
+
"config.ru", "local.ru",
|
20
|
+
"VERSION.yml", "sp-tutorial.gemspec"]
|
21
|
+
|
22
|
+
gemspec.add_runtime_dependency 'rack'
|
23
|
+
gemspec.add_runtime_dependency 'sinatra'
|
24
|
+
gemspec.add_runtime_dependency 'rdiscount'
|
25
|
+
gemspec.add_runtime_dependency 'ultraviolet'
|
26
|
+
gemspec.add_runtime_dependency 'wbzyl-sinatra-rdiscount'
|
27
|
+
gemspec.add_runtime_dependency 'wbzyl-rack-codehighlighter'
|
28
|
+
|
29
|
+
gemspec.rubyforge_project = 'sp-tutorial'
|
30
|
+
end
|
31
|
+
Jeweler::GemcutterTasks.new
|
32
|
+
rescue LoadError
|
33
|
+
puts "Jeweler not available."
|
34
|
+
puts "Install it with:"
|
35
|
+
puts " sudo gem install technicalpickles-jeweler -s http://gems.github.com"
|
36
|
+
end
|
data/TODO
ADDED
data/VERSION.yml
ADDED
data/config.ru
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
$:.unshift('lib') unless $:.include?('lib')
|
2
|
+
|
3
|
+
gem 'sp-tutorial'
|
4
|
+
require 'sp-tutorial'
|
5
|
+
|
6
|
+
gem 'rack-codehighlighter'
|
7
|
+
require 'rack/codehighlighter'
|
8
|
+
|
9
|
+
gem 'ultraviolet'
|
10
|
+
require 'uv'
|
11
|
+
|
12
|
+
use Rack::ShowExceptions
|
13
|
+
use Rack::Lint
|
14
|
+
use Rack::Codehighlighter, :ultraviolet, :element => 'pre>code', :markdown => true
|
15
|
+
run WB::SPTutorial.new
|
data/lib/config.ru
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'sp-tutorial'
|
2
|
+
|
3
|
+
gem 'rack-codehighlighter'
|
4
|
+
require 'rack/codehighlighter'
|
5
|
+
|
6
|
+
gem 'ultraviolet'
|
7
|
+
require 'uv'
|
8
|
+
|
9
|
+
use Rack::ShowExceptions
|
10
|
+
use Rack::Lint
|
11
|
+
|
12
|
+
use Rack::Codehighlighter, :ultraviolet, :markdown => true,
|
13
|
+
:element => "pre>code", :pattern => /\A:::([-\w]+)\s*\n/
|
14
|
+
|
15
|
+
run WB::SPTutorial.new
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,117 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
3
|
+
<svg
|
4
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
5
|
+
xmlns:cc="http://creativecommons.org/ns#"
|
6
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
7
|
+
xmlns:svg="http://www.w3.org/2000/svg"
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
9
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
10
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
11
|
+
width="640px"
|
12
|
+
height="480px"
|
13
|
+
id="svg12"
|
14
|
+
sodipodi:version="0.32"
|
15
|
+
inkscape:version="0.46"
|
16
|
+
sodipodi:docname="sp.svg"
|
17
|
+
inkscape:output_extension="org.inkscape.output.svg.inkscape"
|
18
|
+
inkscape:export-filename="/home/wbzyl/public_git/tutorials/rails3-tutorial/lib/public/images/rails3.png"
|
19
|
+
inkscape:export-xdpi="60"
|
20
|
+
inkscape:export-ydpi="60">
|
21
|
+
<defs
|
22
|
+
id="defs14">
|
23
|
+
<inkscape:perspective
|
24
|
+
sodipodi:type="inkscape:persp3d"
|
25
|
+
inkscape:vp_x="0 : 240 : 1"
|
26
|
+
inkscape:vp_y="0 : 1000 : 0"
|
27
|
+
inkscape:vp_z="640 : 240 : 1"
|
28
|
+
inkscape:persp3d-origin="320 : 160 : 1"
|
29
|
+
id="perspective20" />
|
30
|
+
</defs>
|
31
|
+
<sodipodi:namedview
|
32
|
+
id="base"
|
33
|
+
pagecolor="#ffffff"
|
34
|
+
bordercolor="#666666"
|
35
|
+
borderopacity="1.0"
|
36
|
+
inkscape:pageopacity="0.0"
|
37
|
+
inkscape:pageshadow="2"
|
38
|
+
inkscape:zoom="1.4838726"
|
39
|
+
inkscape:cx="311.53406"
|
40
|
+
inkscape:cy="331.04089"
|
41
|
+
inkscape:current-layer="layer1"
|
42
|
+
inkscape:document-units="px"
|
43
|
+
showgrid="false"
|
44
|
+
inkscape:window-width="1274"
|
45
|
+
inkscape:window-height="724"
|
46
|
+
inkscape:window-x="0"
|
47
|
+
inkscape:window-y="25" />
|
48
|
+
<metadata
|
49
|
+
id="metadata17">
|
50
|
+
<rdf:RDF>
|
51
|
+
<cc:Work
|
52
|
+
rdf:about="">
|
53
|
+
<dc:format>image/svg+xml</dc:format>
|
54
|
+
<dc:type
|
55
|
+
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
56
|
+
<dc:title />
|
57
|
+
</cc:Work>
|
58
|
+
</rdf:RDF>
|
59
|
+
</metadata>
|
60
|
+
<g
|
61
|
+
id="layer1"
|
62
|
+
inkscape:label="Layer 1"
|
63
|
+
inkscape:groupmode="layer">
|
64
|
+
<rect
|
65
|
+
style="opacity:1;fill:#00a800;fill-opacity:1"
|
66
|
+
id="rect1128"
|
67
|
+
width="124.73831"
|
68
|
+
height="57.222939"
|
69
|
+
x="53.724297"
|
70
|
+
y="66.788307"
|
71
|
+
transform="matrix(0.9999972,2.3648638e-3,-0.1817384,0.9833469,0,0)"
|
72
|
+
inkscape:export-filename="/home/wbzyl/public_git/tutorials/sp2009/lib/public/images/sp.png"
|
73
|
+
inkscape:export-xdpi="90"
|
74
|
+
inkscape:export-ydpi="90" />
|
75
|
+
<text
|
76
|
+
xml:space="preserve"
|
77
|
+
style="font-size:48px;font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#300000;font-family:Cyklop;-inkscape-font-specification:Cyklop Italic;fill-opacity:1"
|
78
|
+
x="38.810169"
|
79
|
+
y="112.35313"
|
80
|
+
id="text2018"
|
81
|
+
sodipodi:linespacing="125%"
|
82
|
+
transform="scale(1.0043746,0.9956445)"
|
83
|
+
inkscape:export-filename="/home/wbzyl/public_git/tutorials/sp2009/lib/public/images/sp.png"
|
84
|
+
inkscape:export-xdpi="90"
|
85
|
+
inkscape:export-ydpi="90"><tspan
|
86
|
+
sodipodi:role="line"
|
87
|
+
id="tspan2020"
|
88
|
+
x="38.810169"
|
89
|
+
y="112.35313">WB</tspan></text>
|
90
|
+
<rect
|
91
|
+
transform="matrix(0.9999998,6.9232515e-4,-0.2264004,0.9740343,0,0)"
|
92
|
+
y="67.774132"
|
93
|
+
x="180.94753"
|
94
|
+
height="57.796818"
|
95
|
+
width="426.27826"
|
96
|
+
id="rect1130"
|
97
|
+
style="opacity:1;fill:#f0d800;fill-opacity:1"
|
98
|
+
inkscape:export-filename="/home/wbzyl/public_git/tutorials/sp2009/lib/public/images/sp.png"
|
99
|
+
inkscape:export-xdpi="90"
|
100
|
+
inkscape:export-ydpi="90" />
|
101
|
+
<text
|
102
|
+
xml:space="preserve"
|
103
|
+
style="font-size:48px;font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#300000;font-family:Cyklop;-inkscape-font-specification:Cyklop Italic;fill-opacity:1"
|
104
|
+
x="164.09065"
|
105
|
+
y="111.84612"
|
106
|
+
id="text2026"
|
107
|
+
sodipodi:linespacing="125%"
|
108
|
+
inkscape:export-filename="/home/wbzyl/public_git/tutorials/sp2009/lib/public/images/sp.png"
|
109
|
+
inkscape:export-xdpi="90"
|
110
|
+
inkscape:export-ydpi="90"><tspan
|
111
|
+
sodipodi:role="line"
|
112
|
+
id="tspan2028"
|
113
|
+
x="164.09065"
|
114
|
+
y="111.84612"
|
115
|
+
dx="0 0 0 -21.222042 0 0 0 -0.67391229 -1.3478246">SP 2009/10</tspan></text>
|
116
|
+
</g>
|
117
|
+
</svg>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
/* ruby3.js */
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,27 @@
|
|
1
|
+
/* -----------------------------------------------------------------------
|
2
|
+
|
3
|
+
|
4
|
+
Blueprint CSS Framework 0.8
|
5
|
+
http://blueprintcss.org
|
6
|
+
|
7
|
+
* Copyright (c) 2007-Present. See LICENSE for more info.
|
8
|
+
* See README for instructions on how to use Blueprint.
|
9
|
+
* For credits and origins, see AUTHORS.
|
10
|
+
* This is a compressed file. See the sources in the 'src' directory.
|
11
|
+
|
12
|
+
----------------------------------------------------------------------- */
|
13
|
+
|
14
|
+
/* ie.css */
|
15
|
+
body {text-align:center;}
|
16
|
+
.container {text-align:left;}
|
17
|
+
* html .column, * html div.span-1, * html div.span-2, * html div.span-3, * html div.span-4, * html div.span-5, * html div.span-6, * html div.span-7, * html div.span-8, * html div.span-9, * html div.span-10, * html div.span-11, * html div.span-12, * html div.span-13, * html div.span-14, * html div.span-15, * html div.span-16, * html div.span-17, * html div.span-18, * html div.span-19, * html div.span-20, * html div.span-21, * html div.span-22, * html div.span-23, * html div.span-24 {overflow-x:hidden;}
|
18
|
+
* html legend {margin:0px -8px 16px 0;padding:0;}
|
19
|
+
ol {margin-left:2em;}
|
20
|
+
sup {vertical-align:text-top;}
|
21
|
+
sub {vertical-align:text-bottom;}
|
22
|
+
html>body p code {*white-space:normal;}
|
23
|
+
hr {margin:-8px auto 11px;}
|
24
|
+
img {-ms-interpolation-mode:bicubic;}
|
25
|
+
.clearfix, .container {display:inline-block;}
|
26
|
+
* html .clearfix, * html .container {height:1%;}
|
27
|
+
fieldset {padding-top:0;}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
/* -----------------------------------------------------------------------
|
2
|
+
|
3
|
+
|
4
|
+
Blueprint CSS Framework 0.8
|
5
|
+
http://blueprintcss.org
|
6
|
+
|
7
|
+
* Copyright (c) 2007-Present. See LICENSE for more info.
|
8
|
+
* See README for instructions on how to use Blueprint.
|
9
|
+
* For credits and origins, see AUTHORS.
|
10
|
+
* This is a compressed file. See the sources in the 'src' directory.
|
11
|
+
|
12
|
+
----------------------------------------------------------------------- */
|
13
|
+
|
14
|
+
/* print.css */
|
15
|
+
body {line-height:1.5;font-family:"Helvetica Neue", Arial, Helvetica, sans-serif;color:#000;background:none;font-size:10pt;}
|
16
|
+
.container {background:none;}
|
17
|
+
hr {background:#ccc;color:#ccc;width:100%;height:2px;margin:2em 0;padding:0;border:none;}
|
18
|
+
hr.space {background:#fff;color:#fff;}
|
19
|
+
h1, h2, h3, h4, h5, h6 {font-family:"Helvetica Neue", Arial, "Lucida Grande", sans-serif;}
|
20
|
+
code {font:.9em "Courier New", Monaco, Courier, monospace;}
|
21
|
+
img {float:left;margin:1.5em 1.5em 1.5em 0;}
|
22
|
+
a img {border:none;}
|
23
|
+
p img.top {margin-top:0;}
|
24
|
+
blockquote {margin:1.5em;padding:1em;font-style:italic;font-size:.9em;}
|
25
|
+
.small {font-size:.9em;}
|
26
|
+
.large {font-size:1.1em;}
|
27
|
+
.quiet {color:#999;}
|
28
|
+
.hide {display:none;}
|
29
|
+
a:link, a:visited {background:transparent;font-weight:700;text-decoration:underline;}
|
30
|
+
a:link:after, a:visited:after {content:" (" attr(href) ")";font-size:90%;}
|
@@ -0,0 +1,249 @@
|
|
1
|
+
/* -----------------------------------------------------------------------
|
2
|
+
|
3
|
+
|
4
|
+
Blueprint CSS Framework 0.8
|
5
|
+
http://blueprintcss.org
|
6
|
+
|
7
|
+
* Copyright (c) 2007-Present. See LICENSE for more info.
|
8
|
+
* See README for instructions on how to use Blueprint.
|
9
|
+
* For credits and origins, see AUTHORS.
|
10
|
+
* This is a compressed file. See the sources in the 'src' directory.
|
11
|
+
|
12
|
+
----------------------------------------------------------------------- */
|
13
|
+
|
14
|
+
/* reset.css */
|
15
|
+
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin:0;padding:0;border:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;}
|
16
|
+
body {line-height:1.5;}
|
17
|
+
table {border-collapse:separate;border-spacing:0;}
|
18
|
+
caption, th, td {text-align:left;font-weight:normal;}
|
19
|
+
table, td, th {vertical-align:middle;}
|
20
|
+
blockquote:before, blockquote:after, q:before, q:after {content:"";}
|
21
|
+
blockquote, q {quotes:"" "";}
|
22
|
+
a img {border:none;}
|
23
|
+
|
24
|
+
/* typography.css */
|
25
|
+
body {font-size:75%;color:#222;background:#fff;font-family:"Helvetica Neue", Arial, Helvetica, sans-serif;}
|
26
|
+
h1, h2, h3, h4, h5, h6 {font-weight:normal;color:#111;}
|
27
|
+
h1 {font-size:3em;line-height:1;margin-bottom:0.5em;}
|
28
|
+
h2 {font-size:2em;margin-bottom:0.75em;}
|
29
|
+
h3 {font-size:1.5em;line-height:1;margin-bottom:1em;}
|
30
|
+
h4 {font-size:1.2em;line-height:1.25;margin-bottom:1.25em;}
|
31
|
+
h5 {font-size:1em;font-weight:bold;margin-bottom:1.5em;}
|
32
|
+
h6 {font-size:1em;font-weight:bold;}
|
33
|
+
h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {margin:0;}
|
34
|
+
p {margin:0 0 1.5em;}
|
35
|
+
p img.left {float:left;margin:1.5em 1.5em 1.5em 0;padding:0;}
|
36
|
+
p img.right {float:right;margin:1.5em 0 1.5em 1.5em;}
|
37
|
+
a:focus, a:hover {color:#000;}
|
38
|
+
a {color:#009;text-decoration:underline;}
|
39
|
+
blockquote {margin:1.5em;color:#666;font-style:italic;}
|
40
|
+
strong {font-weight:bold;}
|
41
|
+
em, dfn {font-style:italic;}
|
42
|
+
dfn {font-weight:bold;}
|
43
|
+
sup, sub {line-height:0;}
|
44
|
+
abbr, acronym {border-bottom:1px dotted #666;}
|
45
|
+
address {margin:0 0 1.5em;font-style:italic;}
|
46
|
+
del {color:#666;}
|
47
|
+
pre {margin:1.5em 0;white-space:pre;}
|
48
|
+
pre, code, tt {font:1em 'andale mono', 'lucida console', monospace;line-height:1.5;}
|
49
|
+
li ul, li ol {margin:0 1.5em;}
|
50
|
+
ul, ol {margin:0 1.5em 1.5em 1.5em;}
|
51
|
+
ul {list-style-type:disc;}
|
52
|
+
ol {list-style-type:decimal;}
|
53
|
+
dl {margin:0 0 1.5em 0;}
|
54
|
+
dl dt {font-weight:bold;}
|
55
|
+
dd {margin-left:1.5em;}
|
56
|
+
table {margin-bottom:1.4em;width:100%;}
|
57
|
+
th {font-weight:bold;}
|
58
|
+
thead th {background:#c3d9ff;}
|
59
|
+
th, td, caption {padding:4px 10px 4px 5px;}
|
60
|
+
tr.even td {background:#e5ecf9;}
|
61
|
+
tfoot {font-style:italic;}
|
62
|
+
caption {background:#eee;}
|
63
|
+
.small {font-size:.8em;margin-bottom:1.875em;line-height:1.875em;}
|
64
|
+
.large {font-size:1.2em;line-height:2.5em;margin-bottom:1.25em;}
|
65
|
+
.hide {display:none;}
|
66
|
+
.quiet {color:#666;}
|
67
|
+
.loud {color:#000;}
|
68
|
+
.highlight {background:#ff0;}
|
69
|
+
.added {background:#060;color:#fff;}
|
70
|
+
.removed {background:#900;color:#fff;}
|
71
|
+
.first {margin-left:0;padding-left:0;}
|
72
|
+
.last {margin-right:0;padding-right:0;}
|
73
|
+
.top {margin-top:0;padding-top:0;}
|
74
|
+
.bottom {margin-bottom:0;padding-bottom:0;}
|
75
|
+
|
76
|
+
/* forms.css */
|
77
|
+
label {font-weight:bold;}
|
78
|
+
fieldset {padding:1.4em;margin:0 0 1.5em 0;border:1px solid #ccc;}
|
79
|
+
legend {font-weight:bold;font-size:1.2em;}
|
80
|
+
input.text, input.title, textarea, select {margin:0.5em 0;border:1px solid #bbb;}
|
81
|
+
input.text:focus, input.title:focus, textarea:focus, select:focus {border:1px solid #666;}
|
82
|
+
input.text, input.title {width:300px;padding:5px;}
|
83
|
+
input.title {font-size:1.5em;}
|
84
|
+
textarea {width:390px;height:250px;padding:5px;}
|
85
|
+
.error, .notice, .success {padding:.8em;margin-bottom:1em;border:2px solid #ddd;}
|
86
|
+
.error {background:#FBE3E4;color:#8a1f11;border-color:#FBC2C4;}
|
87
|
+
.notice {background:#FFF6BF;color:#514721;border-color:#FFD324;}
|
88
|
+
.success {background:#E6EFC2;color:#264409;border-color:#C6D880;}
|
89
|
+
.error a {color:#8a1f11;}
|
90
|
+
.notice a {color:#514721;}
|
91
|
+
.success a {color:#264409;}
|
92
|
+
|
93
|
+
/* grid.css */
|
94
|
+
.container {width:913px;margin:0 auto;}
|
95
|
+
.showgrid {background:url(src/grid.png);}
|
96
|
+
.column, div.span-1, div.span-2, div.span-3, div.span-4, div.span-5, div.span-6, div.span-7, div.span-8, div.span-9, div.span-10, div.span-11, div.span-12, div.span-13, div.span-14, div.span-15, div.span-16, div.span-17, div.span-18, div.span-19, div.span-20, div.span-21 {float:left;margin-right:11px;}
|
97
|
+
.last, div.last {margin-right:0;}
|
98
|
+
.span-1 {width:33px;}
|
99
|
+
.span-2 {width:77px;}
|
100
|
+
.span-3 {width:121px;}
|
101
|
+
.span-4 {width:165px;}
|
102
|
+
.span-5 {width:209px;}
|
103
|
+
.span-6 {width:253px;}
|
104
|
+
.span-7 {width:297px;}
|
105
|
+
.span-8 {width:341px;}
|
106
|
+
.span-9 {width:385px;}
|
107
|
+
.span-10 {width:429px;}
|
108
|
+
.span-11 {width:473px;}
|
109
|
+
.span-12 {width:517px;}
|
110
|
+
.span-13 {width:561px;}
|
111
|
+
.span-14 {width:605px;}
|
112
|
+
.span-15 {width:649px;}
|
113
|
+
.span-16 {width:693px;}
|
114
|
+
.span-17 {width:737px;}
|
115
|
+
.span-18 {width:781px;}
|
116
|
+
.span-19 {width:825px;}
|
117
|
+
.span-20 {width:869px;}
|
118
|
+
.span-21, div.span-21 {width:913px;margin:0;}
|
119
|
+
input.span-1, textarea.span-1, input.span-2, textarea.span-2, input.span-3, textarea.span-3, input.span-4, textarea.span-4, input.span-5, textarea.span-5, input.span-6, textarea.span-6, input.span-7, textarea.span-7, input.span-8, textarea.span-8, input.span-9, textarea.span-9, input.span-10, textarea.span-10, input.span-11, textarea.span-11, input.span-12, textarea.span-12, input.span-13, textarea.span-13, input.span-14, textarea.span-14, input.span-15, textarea.span-15, input.span-16, textarea.span-16, input.span-17, textarea.span-17, input.span-18, textarea.span-18, input.span-19, textarea.span-19, input.span-20, textarea.span-20, input.span-21, textarea.span-21 {border-left-width:1px!important;border-right-width:1px!important;padding-left:5px!important;padding-right:5px!important;}
|
120
|
+
input.span-1, textarea.span-1 {width:21px!important;}
|
121
|
+
input.span-2, textarea.span-2 {width:65px!important;}
|
122
|
+
input.span-3, textarea.span-3 {width:109px!important;}
|
123
|
+
input.span-4, textarea.span-4 {width:153px!important;}
|
124
|
+
input.span-5, textarea.span-5 {width:197px!important;}
|
125
|
+
input.span-6, textarea.span-6 {width:241px!important;}
|
126
|
+
input.span-7, textarea.span-7 {width:285px!important;}
|
127
|
+
input.span-8, textarea.span-8 {width:329px!important;}
|
128
|
+
input.span-9, textarea.span-9 {width:373px!important;}
|
129
|
+
input.span-10, textarea.span-10 {width:417px!important;}
|
130
|
+
input.span-11, textarea.span-11 {width:461px!important;}
|
131
|
+
input.span-12, textarea.span-12 {width:505px!important;}
|
132
|
+
input.span-13, textarea.span-13 {width:549px!important;}
|
133
|
+
input.span-14, textarea.span-14 {width:593px!important;}
|
134
|
+
input.span-15, textarea.span-15 {width:637px!important;}
|
135
|
+
input.span-16, textarea.span-16 {width:681px!important;}
|
136
|
+
input.span-17, textarea.span-17 {width:725px!important;}
|
137
|
+
input.span-18, textarea.span-18 {width:769px!important;}
|
138
|
+
input.span-19, textarea.span-19 {width:813px!important;}
|
139
|
+
input.span-20, textarea.span-20 {width:857px!important;}
|
140
|
+
input.span-21, textarea.span-21 {width:901px!important;}
|
141
|
+
.append-1 {padding-right:44px;}
|
142
|
+
.append-2 {padding-right:88px;}
|
143
|
+
.append-3 {padding-right:132px;}
|
144
|
+
.append-4 {padding-right:176px;}
|
145
|
+
.append-5 {padding-right:220px;}
|
146
|
+
.append-6 {padding-right:264px;}
|
147
|
+
.append-7 {padding-right:308px;}
|
148
|
+
.append-8 {padding-right:352px;}
|
149
|
+
.append-9 {padding-right:396px;}
|
150
|
+
.append-10 {padding-right:440px;}
|
151
|
+
.append-11 {padding-right:484px;}
|
152
|
+
.append-12 {padding-right:528px;}
|
153
|
+
.append-13 {padding-right:572px;}
|
154
|
+
.append-14 {padding-right:616px;}
|
155
|
+
.append-15 {padding-right:660px;}
|
156
|
+
.append-16 {padding-right:704px;}
|
157
|
+
.append-17 {padding-right:748px;}
|
158
|
+
.append-18 {padding-right:792px;}
|
159
|
+
.append-19 {padding-right:836px;}
|
160
|
+
.append-20 {padding-right:880px;}
|
161
|
+
.prepend-1 {padding-left:44px;}
|
162
|
+
.prepend-2 {padding-left:88px;}
|
163
|
+
.prepend-3 {padding-left:132px;}
|
164
|
+
.prepend-4 {padding-left:176px;}
|
165
|
+
.prepend-5 {padding-left:220px;}
|
166
|
+
.prepend-6 {padding-left:264px;}
|
167
|
+
.prepend-7 {padding-left:308px;}
|
168
|
+
.prepend-8 {padding-left:352px;}
|
169
|
+
.prepend-9 {padding-left:396px;}
|
170
|
+
.prepend-10 {padding-left:440px;}
|
171
|
+
.prepend-11 {padding-left:484px;}
|
172
|
+
.prepend-12 {padding-left:528px;}
|
173
|
+
.prepend-13 {padding-left:572px;}
|
174
|
+
.prepend-14 {padding-left:616px;}
|
175
|
+
.prepend-15 {padding-left:660px;}
|
176
|
+
.prepend-16 {padding-left:704px;}
|
177
|
+
.prepend-17 {padding-left:748px;}
|
178
|
+
.prepend-18 {padding-left:792px;}
|
179
|
+
.prepend-19 {padding-left:836px;}
|
180
|
+
.prepend-20 {padding-left:880px;}
|
181
|
+
div.border {padding-right:4px;margin-right:5px;border-right:1px solid #eee;}
|
182
|
+
div.colborder {padding-right:27px;margin-right:27px;border-right:1px solid #eee;}
|
183
|
+
.pull-1 {margin-left:-44px;}
|
184
|
+
.pull-2 {margin-left:-88px;}
|
185
|
+
.pull-3 {margin-left:-132px;}
|
186
|
+
.pull-4 {margin-left:-176px;}
|
187
|
+
.pull-5 {margin-left:-220px;}
|
188
|
+
.pull-6 {margin-left:-264px;}
|
189
|
+
.pull-7 {margin-left:-308px;}
|
190
|
+
.pull-8 {margin-left:-352px;}
|
191
|
+
.pull-9 {margin-left:-396px;}
|
192
|
+
.pull-10 {margin-left:-440px;}
|
193
|
+
.pull-11 {margin-left:-484px;}
|
194
|
+
.pull-12 {margin-left:-528px;}
|
195
|
+
.pull-13 {margin-left:-572px;}
|
196
|
+
.pull-14 {margin-left:-616px;}
|
197
|
+
.pull-15 {margin-left:-660px;}
|
198
|
+
.pull-16 {margin-left:-704px;}
|
199
|
+
.pull-17 {margin-left:-748px;}
|
200
|
+
.pull-18 {margin-left:-792px;}
|
201
|
+
.pull-19 {margin-left:-836px;}
|
202
|
+
.pull-20 {margin-left:-880px;}
|
203
|
+
.pull-21 {margin-left:-924px;}
|
204
|
+
.pull-1, .pull-2, .pull-3, .pull-4, .pull-5, .pull-6, .pull-7, .pull-8, .pull-9, .pull-10, .pull-11, .pull-12, .pull-13, .pull-14, .pull-15, .pull-16, .pull-17, .pull-18, .pull-19, .pull-20, .pull-21 {float:left;position:relative;}
|
205
|
+
.push-1 {margin:0 -44px 1.5em 44px;}
|
206
|
+
.push-2 {margin:0 -88px 1.5em 88px;}
|
207
|
+
.push-3 {margin:0 -132px 1.5em 132px;}
|
208
|
+
.push-4 {margin:0 -176px 1.5em 176px;}
|
209
|
+
.push-5 {margin:0 -220px 1.5em 220px;}
|
210
|
+
.push-6 {margin:0 -264px 1.5em 264px;}
|
211
|
+
.push-7 {margin:0 -308px 1.5em 308px;}
|
212
|
+
.push-8 {margin:0 -352px 1.5em 352px;}
|
213
|
+
.push-9 {margin:0 -396px 1.5em 396px;}
|
214
|
+
.push-10 {margin:0 -440px 1.5em 440px;}
|
215
|
+
.push-11 {margin:0 -484px 1.5em 484px;}
|
216
|
+
.push-12 {margin:0 -528px 1.5em 528px;}
|
217
|
+
.push-13 {margin:0 -572px 1.5em 572px;}
|
218
|
+
.push-14 {margin:0 -616px 1.5em 616px;}
|
219
|
+
.push-15 {margin:0 -660px 1.5em 660px;}
|
220
|
+
.push-16 {margin:0 -704px 1.5em 704px;}
|
221
|
+
.push-17 {margin:0 -748px 1.5em 748px;}
|
222
|
+
.push-18 {margin:0 -792px 1.5em 792px;}
|
223
|
+
.push-19 {margin:0 -836px 1.5em 836px;}
|
224
|
+
.push-20 {margin:0 -880px 1.5em 880px;}
|
225
|
+
.push-21 {margin:0 -924px 1.5em 924px;}
|
226
|
+
.push-1, .push-2, .push-3, .push-4, .push-5, .push-6, .push-7, .push-8, .push-9, .push-10, .push-11, .push-12, .push-13, .push-14, .push-15, .push-16, .push-17, .push-18, .push-19, .push-20, .push-21 {float:right;position:relative;}
|
227
|
+
.prepend-top {margin-top:1.5em;}
|
228
|
+
.append-bottom {margin-bottom:1.5em;}
|
229
|
+
.box {padding:1.5em;margin-bottom:1.5em;background:#E5ECF9;}
|
230
|
+
hr {background:#ddd;color:#ddd;clear:both;float:none;width:100%;height:.1em;margin:0 0 1.45em;border:none;}
|
231
|
+
hr.space {background:#fff;color:#fff;}
|
232
|
+
.clearfix:after, .container:after {content:"\0020";display:block;height:0;clear:both;visibility:hidden;overflow:hidden;}
|
233
|
+
.clearfix, .container {display:block;}
|
234
|
+
.clear {clear:both;}
|
235
|
+
|
236
|
+
/* link-icons */
|
237
|
+
body a.noicon {background:transparent none !important;padding:0 !important;margin:0 !important;}
|
238
|
+
a[href^="http:"], a[href^="mailto:"], a[href^="http:"]:visited, a[href$=".pdf"], a[href$=".doc"], a[href$=".xls"], a[href$=".rss"], a[href$=".rdf"], a[href^="aim:"] {padding:2px 22px 2px 0;margin:-2px 0;background-repeat:no-repeat;background-position:right center;}
|
239
|
+
a[href^="http:"] {background-image:url(icons/external.png);}
|
240
|
+
a[href^="mailto:"] {background-image:url(icons/email.png);}
|
241
|
+
a[href^="http:"]:visited {background-image:url(icons/visited.png);}
|
242
|
+
a[href$=".pdf"] {background-image:url(icons/pdf.png);}
|
243
|
+
a[href$=".doc"] {background-image:url(icons/doc.png);}
|
244
|
+
a[href$=".xls"] {background-image:url(icons/xls.png);}
|
245
|
+
a[href$=".rss"], a[href$=".rdf"] {background-image:url(icons/feed.png);}
|
246
|
+
a[href^="aim:"] {background-image:url(icons/im.png);}
|
247
|
+
|
248
|
+
/* tutorials */
|
249
|
+
body {font-size:16px;font-family:"Helvetica Neue", Arial, Helvetica, sans-serif;}
|