html5-starter 0.1.4b → 0.1.8b
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/README.md +11 -113
- data/stylesheets/html5-boilerplate/_fonts.scss +4 -4
- data/stylesheets/html5-boilerplate/_handheld.scss +3 -3
- data/stylesheets/html5-boilerplate/_helpers.scss +14 -7
- data/stylesheets/html5-boilerplate/_print.scss +2 -2
- data/stylesheets/html5-boilerplate/_reset.scss +8 -8
- data/stylesheets/html5-boilerplate/_styles.scss +16 -31
- data/templates/project/files/404.html +37 -21
- data/templates/project/files/apple-touch-icon-114x114-precomposed.png +0 -0
- data/templates/project/files/apple-touch-icon-57x57-precomposed.png +0 -0
- data/templates/project/files/apple-touch-icon-72x72-precomposed.png +0 -0
- data/templates/project/files/apple-touch-icon-precomposed.png +0 -0
- data/templates/project/files/apple-touch-icon.png +0 -0
- data/templates/project/files/build/build.xml +813 -628
- data/templates/project/files/build/config/buildinfo.properties +5 -0
- data/templates/project/files/build/config/default.properties +22 -21
- data/templates/project/files/build/config/project.properties +9 -8
- data/templates/project/files/build/createproject.sh +29 -52
- data/templates/project/files/build/runbuildscript.bat +5 -0
- data/templates/project/files/build/tools/htmlcompressor-1.1.jar +0 -0
- data/templates/project/files/build/tools/{yuicompressor-2.4.2.jar → yuicompressor-2.4.5.jar} +0 -0
- data/templates/project/files/gitignore.txt +6 -0
- data/templates/project/files/htaccess +71 -8
- data/templates/project/index.html +30 -31
- data/templates/project/javascripts/libs/dd_belatedpng.js +1 -1
- data/templates/project/javascripts/libs/{jquery-1.5.0.js → jquery-1.5.1.js} +549 -409
- data/templates/project/javascripts/libs/jquery-1.5.1.min.js +16 -0
- data/templates/project/javascripts/libs/modernizr-1.7.min.js +2 -0
- data/templates/project/javascripts/plugins.js +3 -1
- data/templates/project/manifest.rb +22 -59
- data/templates/project/style.scss +17 -0
- metadata +15 -44
- data/templates/project/files/build/config/build.properties +0 -3
- data/templates/project/files/build/tools/css-compressor/CSSCompression.php +0 -465
- data/templates/project/files/build/tools/css-compressor/changelog.txt +0 -22
- data/templates/project/files/build/tools/css-compressor/cli.php +0 -101
- data/templates/project/files/build/tools/css-compressor/helpers/hex2short-colors.json +0 -39
- data/templates/project/files/build/tools/css-compressor/helpers/hex2short-safe.json +0 -16
- data/templates/project/files/build/tools/css-compressor/helpers/long2hex-colors.json +0 -127
- data/templates/project/files/build/tools/css-compressor/lib/Cleanup.php +0 -218
- data/templates/project/files/build/tools/css-compressor/lib/Color.php +0 -199
- data/templates/project/files/build/tools/css-compressor/lib/Combine/Aural.php +0 -109
- data/templates/project/files/build/tools/css-compressor/lib/Combine/Background.php +0 -107
- data/templates/project/files/build/tools/css-compressor/lib/Combine/Border.php +0 -98
- data/templates/project/files/build/tools/css-compressor/lib/Combine/BorderOutline.php +0 -109
- data/templates/project/files/build/tools/css-compressor/lib/Combine/BorderRadius.php +0 -262
- data/templates/project/files/build/tools/css-compressor/lib/Combine/Font.php +0 -125
- data/templates/project/files/build/tools/css-compressor/lib/Combine/List.php +0 -104
- data/templates/project/files/build/tools/css-compressor/lib/Combine/MarginPadding.php +0 -190
- data/templates/project/files/build/tools/css-compressor/lib/Combine.php +0 -191
- data/templates/project/files/build/tools/css-compressor/lib/Compress.php +0 -212
- data/templates/project/files/build/tools/css-compressor/lib/Control.php +0 -236
- data/templates/project/files/build/tools/css-compressor/lib/Exception.php +0 -32
- data/templates/project/files/build/tools/css-compressor/lib/Format.php +0 -187
- data/templates/project/files/build/tools/css-compressor/lib/Individuals.php +0 -307
- data/templates/project/files/build/tools/css-compressor/lib/Numeric.php +0 -103
- data/templates/project/files/build/tools/css-compressor/lib/Option.php +0 -133
- data/templates/project/files/build/tools/css-compressor/lib/Organize.php +0 -149
- data/templates/project/files/build/tools/css-compressor/lib/Selectors.php +0 -245
- data/templates/project/files/build/tools/css-compressor/lib/Setup.php +0 -292
- data/templates/project/files/build/tools/css-compressor/lib/Trim.php +0 -213
- data/templates/project/files/build/tools/css-compressor/license.txt +0 -21
- data/templates/project/files/build/tools/htmlcompressor-0.9.8.jar +0 -0
- data/templates/project/files/google.yml +0 -22
- data/templates/project/files/lighttpd.conf +0 -149
- data/templates/project/files/mime.types +0 -80
- data/templates/project/files/nginx.conf +0 -108
- data/templates/project/files/web.config +0 -207
- data/templates/project/javascripts/libs/jquery-1.5.0.min.js +0 -16
- data/templates/project/javascripts/libs/modernizr-1.6.min.js +0 -30
data/README.md
CHANGED
@@ -1,129 +1,27 @@
|
|
1
|
-
Compass
|
1
|
+
Compass HTML5 Starter
|
2
2
|
=========================
|
3
3
|
|
4
|
-
HTML5
|
5
|
-
You can use it to kick-start fully compliant HTML5 applications.
|
6
|
-
stand-alone HTML5 projects, or Rails applications with fully integrated HTML5
|
7
|
-
Haml and Sass (Scss) templates.
|
4
|
+
HTML5 Starter is a Compass extension based on [HTML5 Starter](https://github.com/rizkysyazuli/html5-starter), a fork of HTML5 Boilerplate by Paul Irish.
|
5
|
+
You can use it to kick-start a fully compliant HTML5 applications. Generating a set of starter files for your HTML5 projects with integrated Sass (Scss) templates.
|
8
6
|
|
9
7
|
Browse [html5boilerplate.com](http://html5boilerplate.com) for the full workup.
|
10
8
|
|
11
|
-
Rails Installation
|
12
|
-
==================
|
13
9
|
|
14
|
-
|
15
|
-
cd my_rails_project
|
16
|
-
compass init rails -r html5-boilerplate -u html5-boilerplate --force
|
17
|
-
|
18
|
-
**This will install the following files in your rails project:**
|
19
|
-
(Using `--force` flag will overwrite any files that may already exist. In most cases this is probably what you want.)
|
20
|
-
|
21
|
-
app/views/layouts/application.html.haml
|
22
|
-
app/views/layouts/_flashes.html.haml
|
23
|
-
app/views/layouts/_footer.html.haml
|
24
|
-
app/views/layouts/_head.html.haml
|
25
|
-
app/views/layouts/_header.html.haml
|
26
|
-
app/views/layouts/_javascripts.html.haml
|
27
|
-
app/views/layouts/_stylesheets.html.haml
|
28
|
-
|
29
|
-
app/stylesheets/style.scss
|
30
|
-
app/stylesheets/handheld.scss
|
31
|
-
app/stylesheets/partials/_base.scss
|
32
|
-
app/stylesheets/partials/_example.scss
|
33
|
-
app/stylesheets/partials/_page.scss
|
34
|
-
|
35
|
-
public/404.html
|
36
|
-
public/.htaccess
|
37
|
-
public/crossdomain.xml
|
38
|
-
public/robots.txt
|
39
|
-
public/apple-touch-icon.png
|
40
|
-
public/favicon.ico
|
41
|
-
|
42
|
-
public/javascripts/dd_belatedpng.js
|
43
|
-
public/javascripts/jquery-1.4.4.min.js
|
44
|
-
public/javascripts/modernizr-1.6.min.js
|
45
|
-
public/javascripts/plugins.js
|
46
|
-
public/javascripts/rails.js
|
47
|
-
public/javascripts/profiling/charts.swf
|
48
|
-
public/javascripts/profiling/config.js
|
49
|
-
public/javascripts/profiling/yahoo-profiling.css
|
50
|
-
public/javascripts/profiling/yahoo-profiling.min.js
|
51
|
-
|
52
|
-
config/compass.rb
|
53
|
-
config/initializers/compass.rb
|
54
|
-
config/google.yml
|
55
|
-
config/nginx.conf
|
56
|
-
config/mime.types
|
57
|
-
|
58
|
-
The Scss files above will automatically get compiled to your Sass compilation directory:
|
59
|
-
|
60
|
-
public/stylesheets/style.css
|
61
|
-
public/stylesheets/handheld.css
|
62
|
-
|
63
|
-
**Note:** If you already have a config/compass.rb file in your project, you may need to
|
64
|
-
manually add the following line to the top:
|
65
|
-
|
66
|
-
require 'html5-boilerplate'
|
67
|
-
|
68
|
-
### A few more minor points to store into your brainpan...
|
69
|
-
|
70
|
-
If you still have an application.html.erb in your layouts, you will need to loose
|
71
|
-
it now so that Rails will use your shiny new application.html.haml layout instead.
|
72
|
-
|
73
|
-
The haml will compile to the equivalent of html5-boilerplate's index.html,
|
74
|
-
but with all comments stripped out, and some additional rails stuff
|
75
|
-
like csrf_meta_tags, flashes and the Rails jQuery driver.
|
76
|
-
|
77
|
-
You can set your own Google Analytics Account ID and your Google API Key
|
78
|
-
either as ENV variables, or inside config/google.yml.
|
79
|
-
|
80
|
-
This extension has only been tested on Rails3.
|
81
|
-
|
82
|
-
|
83
|
-
Stand Alone Installation
|
10
|
+
Installation
|
84
11
|
========================
|
85
12
|
|
86
|
-
gem install html5-
|
87
|
-
compass create my_project -r html5-boilerplate -u html5-boilerplate --javascripts-dir js --css-dir css
|
13
|
+
gem install html5-starter
|
14
|
+
compass create my_project -r html5-boilerplate -u html5-boilerplate --javascripts-dir assets/js --css-dir assets/css --images-dir assets/img --sass-dir assets/css/src
|
88
15
|
|
89
|
-
The `--javascripts-dir` and `--
|
90
|
-
If you omit them, be sure to edit your javascript and style tags accordingly in index.html.
|
16
|
+
The `--javascripts-dir`, `--css-dir`, `--images-dir` and `--sass-dir` flags are required to keep consistent with the original html5-starter project layout. If you omit them, be sure to edit your javascript and style tags accordingly in index.html.
|
91
17
|
|
92
|
-
|
18
|
+
Run `compass watch my_project` and the SCSS files will automatically get compiled to your Sass compilation directory whenever a change is made:
|
93
19
|
|
94
|
-
|
95
|
-
|
96
|
-
crossdomain.xml
|
97
|
-
robots.txt
|
98
|
-
apple-touch-icon.png
|
99
|
-
favicon.ico
|
100
|
-
|
101
|
-
src/style.scss
|
102
|
-
src/handheld.scss
|
103
|
-
src/partials/_base.scss
|
104
|
-
src/partials/_example.scss
|
105
|
-
src/partials/_page.scss
|
106
|
-
|
107
|
-
js/dd_belatedpng.js
|
108
|
-
js/jquery-1.4.4.min.js
|
109
|
-
js/modernizr-1.6.min.js
|
110
|
-
js/plugins.js
|
111
|
-
js/profiling/charts.swf
|
112
|
-
js/profiling/config.js
|
113
|
-
js/profiling/yahoo-profiling.css
|
114
|
-
js/profiling/yahoo-profiling.min.js
|
115
|
-
|
116
|
-
.htaccess
|
117
|
-
config.rb
|
118
|
-
nginx.conf
|
119
|
-
mime.types
|
120
|
-
web.config
|
20
|
+
assets/css/style.css
|
21
|
+
assets/css/handheld.css
|
121
22
|
|
122
|
-
|
123
|
-
get compiled to your Sass compilation directory whenever a change is made:
|
23
|
+
To see the complete list of files generated by this extension, see the [HTML5 Starter](https://github.com/rizkysyazuli/html5-starter) project repo.
|
124
24
|
|
125
|
-
css/style.css
|
126
|
-
css/handheld.css
|
127
25
|
|
128
26
|
License
|
129
27
|
=======
|
@@ -6,14 +6,14 @@ $base-line-height: 1.231 !default;
|
|
6
6
|
/**
|
7
7
|
* Font normalization inspired by YUI Library's fonts.css: developer.yahoo.com/yui/
|
8
8
|
*/
|
9
|
-
|
10
|
-
body {
|
9
|
+
|
10
|
+
body {
|
11
11
|
font-size: $size;
|
12
12
|
font-family: $family;
|
13
13
|
line-height: $line-height;
|
14
14
|
*font-size: small;
|
15
|
-
} /*
|
16
|
-
select, input, textarea, button { font:
|
15
|
+
} /* Hack retained to preserve specificity */
|
16
|
+
select, input, textarea, button { font:99% $family; }
|
17
17
|
|
18
18
|
/* Normalize monospace sizing:
|
19
19
|
en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Teletype_style_fix_for_Chrome */
|
@@ -1,8 +1,8 @@
|
|
1
1
|
* {
|
2
|
-
float: none;
|
3
|
-
background: #fff;
|
2
|
+
float: none; /* Screens are not big enough to account for floats */
|
3
|
+
background: #fff; /* As much contrast as possible */
|
4
4
|
color: #000;
|
5
5
|
}
|
6
6
|
|
7
|
-
|
7
|
+
/* Slightly reducing font size to reduce need to scroll */
|
8
8
|
body { font-size: 80%; }
|
@@ -1,9 +1,16 @@
|
|
1
|
+
@mixin clearfix {
|
2
|
+
zoom: 1;
|
3
|
+
|
4
|
+
&:before, &:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
|
5
|
+
&:after { clear: both; }
|
6
|
+
}
|
7
|
+
|
1
8
|
@mixin html5-boilerplate-helpers {
|
2
9
|
/**
|
3
10
|
* Non-semantic helper classes: please define your styles before this section.
|
4
11
|
*/
|
5
|
-
|
6
|
-
/* For image replacement
|
12
|
+
|
13
|
+
/* For image replacement */
|
7
14
|
.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
|
8
15
|
|
9
16
|
/* Hide for both screenreaders and browsers:
|
@@ -13,14 +20,14 @@
|
|
13
20
|
/* Hide only visually, but have it available for screenreaders: by Jon Neal.
|
14
21
|
www.webaim.org/techniques/css/invisiblecontent/ & j.mp/visuallyhidden */
|
15
22
|
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
|
23
|
+
/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: drupal.org/node/897638 */
|
24
|
+
.visuallyhidden.focusable:active,
|
25
|
+
.visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
|
16
26
|
|
17
|
-
/* Hide visually and from screenreaders, but maintain layout
|
27
|
+
/* Hide visually and from screenreaders, but maintain layout */
|
18
28
|
.invisible { visibility: hidden; }
|
19
29
|
|
20
30
|
/* The Magnificent Clearfix: Updated to prevent margin-collapsing on child elements.
|
21
31
|
j.mp/bestclearfix */
|
22
|
-
.clearfix
|
23
|
-
.clearfix:after { clear: both; }
|
24
|
-
/* Fix clearfix: blueprintcss.lighthouseapp.com/projects/15318/tickets/5-extra-margin-padding-bottom-of-page */
|
25
|
-
.clearfix { zoom: 1; }
|
32
|
+
.clearfix { @include clearfix; }
|
26
33
|
}
|
@@ -7,10 +7,10 @@
|
|
7
7
|
@media print {
|
8
8
|
* { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important;
|
9
9
|
-ms-filter: none !important; } /* Black prints faster: sanbeiji.com/archives/953 */
|
10
|
-
a, a:visited { color:
|
10
|
+
a, a:visited { color: $font-color !important; text-decoration: underline; }
|
11
11
|
a[href]:after { content: " (" attr(href) ")"; }
|
12
12
|
abbr[title]:after { content: " (" attr(title) ")"; }
|
13
|
-
.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } /* Don't show links for images, or javascript/internal links
|
13
|
+
.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } /* Don't show links for images, or javascript/internal links */
|
14
14
|
pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
|
15
15
|
thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
|
16
16
|
tr, img { page-break-inside: avoid; }
|
@@ -14,23 +14,23 @@
|
|
14
14
|
article, aside, canvas, details, figcaption, figure,
|
15
15
|
footer, header, hgroup, menu, nav, section, summary,
|
16
16
|
time, mark, audio, video {
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
17
|
+
margin: 0;
|
18
|
+
padding: 0;
|
19
|
+
border: 0;
|
20
|
+
font-size: 100%;
|
21
|
+
font: inherit;
|
22
|
+
vertical-align: baseline;
|
23
23
|
}
|
24
24
|
|
25
25
|
article, aside, details, figcaption, figure,
|
26
26
|
footer, header, hgroup, menu, nav, section {
|
27
|
-
|
27
|
+
display: block;
|
28
28
|
}
|
29
29
|
|
30
30
|
blockquote, q { quotes: none; }
|
31
31
|
|
32
32
|
blockquote:before, blockquote:after,
|
33
|
-
q:before, q:after { content:
|
33
|
+
q:before, q:after { content: ""; content: none; }
|
34
34
|
|
35
35
|
ins { background-color: #ff9; color: #000; text-decoration: none; }
|
36
36
|
|
@@ -12,32 +12,17 @@ $list-left-margin: 2em !default;
|
|
12
12
|
/**
|
13
13
|
* Minimal base styles.
|
14
14
|
*/
|
15
|
-
|
16
|
-
body, select, input, textarea {
|
17
|
-
/* #444 looks better than black: twitter.com/H_FJ/statuses/11800719859 */
|
18
|
-
color: $font-color;
|
19
|
-
/* Set your base font here, to apply evenly. */
|
20
|
-
font-family: $base-font-family;
|
21
|
-
}
|
22
|
-
|
23
|
-
/* Headers (h1, h2, etc) have no default font-size or margin. Define those yourself. */
|
24
|
-
h1,h2,h3,h4,h5,h6 { font-weight: bold; }
|
25
15
|
|
26
|
-
/* Always force a scrollbar in non-IE
|
16
|
+
/* Always force a scrollbar in non-IE */
|
27
17
|
html { overflow-y: scroll; }
|
28
18
|
|
29
|
-
|
30
19
|
/* Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */
|
31
20
|
a:hover, a:active { outline: none; }
|
32
21
|
|
33
|
-
|
34
|
-
a:hover { color: $link-hover-color; }
|
35
|
-
|
36
|
-
|
37
|
-
ul, ol { margin-left: $list-left-margin; }
|
22
|
+
ul, ol { margin-left: 2em; }
|
38
23
|
ol { list-style-type: decimal; }
|
39
24
|
|
40
|
-
/* Remove margins for navigation lists
|
25
|
+
/* Remove margins for navigation lists */
|
41
26
|
nav ul, nav li { margin: 0; list-style:none; list-style-image: none; }
|
42
27
|
|
43
28
|
small { font-size: 85%; }
|
@@ -52,13 +37,13 @@ $list-left-margin: 2em !default;
|
|
52
37
|
|
53
38
|
pre {
|
54
39
|
/* www.pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap/ */
|
55
|
-
white-space: pre; white-space: pre-wrap;
|
40
|
+
white-space: pre; white-space: pre-wrap; word-wrap: break-word;
|
56
41
|
padding: 15px;
|
57
42
|
}
|
58
43
|
|
59
44
|
textarea { overflow: auto; } /* www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/ */
|
60
45
|
|
61
|
-
.ie6 legend, .ie7 legend { margin-left: -7px; }
|
46
|
+
.ie6 legend, .ie7 legend { margin-left: -7px; }
|
62
47
|
|
63
48
|
/* Align checkboxes, radios, text inputs with their label by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css */
|
64
49
|
input[type="radio"] { vertical-align: text-bottom; }
|
@@ -66,28 +51,28 @@ $list-left-margin: 2em !default;
|
|
66
51
|
.ie7 input[type="checkbox"] { vertical-align: baseline; }
|
67
52
|
.ie6 input { vertical-align: text-bottom; }
|
68
53
|
|
69
|
-
/* Hand cursor on clickable input elements
|
54
|
+
/* Hand cursor on clickable input elements */
|
70
55
|
label, input[type="button"], input[type="submit"], input[type="image"], button { cursor: pointer; }
|
71
56
|
|
72
|
-
/* Webkit browsers add a 2px margin outside the chrome of form elements
|
57
|
+
/* Webkit browsers add a 2px margin outside the chrome of form elements */
|
73
58
|
button, input, select, textarea { margin: 0; }
|
74
59
|
|
75
|
-
/* Colors for form validity
|
60
|
+
/* Colors for form validity */
|
61
|
+
input:valid, textarea:valid { }
|
76
62
|
input:invalid, textarea:invalid {
|
77
|
-
|
78
|
-
@include box-shadow(red, 0, 0, 5px, 0);
|
63
|
+
border-radius: 1px; -moz-box-shadow: 0px 0px 5px red; -webkit-box-shadow: 0px 0px 5px red; box-shadow: 0px 0px 5px red;
|
79
64
|
}
|
80
65
|
.no-boxshadow input:invalid, .no-boxshadow textarea:invalid { background-color: #f0dddd; }
|
81
66
|
|
82
67
|
|
83
|
-
/* These selection declarations have to be separate
|
68
|
+
/* These selection declarations have to be separate
|
84
69
|
No text-shadow: twitter.com/miketaylr/status/12228805301
|
85
|
-
Also: hot pink
|
86
|
-
::-moz-selection{ background:
|
87
|
-
::selection { background
|
70
|
+
Also: hot pink! */
|
71
|
+
::-moz-selection{ background: #FF5E99; color:#fff; text-shadow: none; }
|
72
|
+
::selection { background:#FF5E99; color:#fff; text-shadow: none; }
|
88
73
|
|
89
|
-
/*
|
90
|
-
a:link { -webkit-tap-highlight-color:
|
74
|
+
/* j.mp/webkit-tap-highlight-color */
|
75
|
+
a:link { -webkit-tap-highlight-color: #FF5E99; }
|
91
76
|
|
92
77
|
/* Make buttons play nice in IE:
|
93
78
|
www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
|
@@ -1,22 +1,38 @@
|
|
1
1
|
<!doctype html>
|
2
|
-
<
|
3
|
-
|
4
|
-
<
|
5
|
-
|
6
|
-
|
7
|
-
body {
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
<
|
20
|
-
|
21
|
-
|
22
|
-
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>Page Not Found :(</title>
|
6
|
+
<style>
|
7
|
+
body { text-align: center;}
|
8
|
+
h1 { font-size: 50px; text-align: center }
|
9
|
+
span[frown] { transform: rotate(90deg); display:inline-block; color: #bbb; }
|
10
|
+
body { font: 20px Constantia, 'Hoefler Text', "Adobe Caslon Pro", Baskerville, Georgia, Times, serif; color: #999; text-shadow: 2px 2px 2px rgba(200, 200, 200, 0.5); }
|
11
|
+
::-moz-selection{ background:#FF5E99; color:#fff; }
|
12
|
+
::selection { background:#FF5E99; color:#fff; }
|
13
|
+
article {display:block; text-align: left; width: 500px; margin: 0 auto; }
|
14
|
+
|
15
|
+
a { color: rgb(36, 109, 56); text-decoration:none; }
|
16
|
+
a:hover { color: rgb(96, 73, 141) ; text-shadow: 2px 2px 2px rgba(36, 109, 56, 0.5); }
|
17
|
+
</style>
|
18
|
+
</head>
|
19
|
+
<body>
|
20
|
+
<article>
|
21
|
+
<h1>Not found <span frown>:(</span></h1>
|
22
|
+
<div>
|
23
|
+
<p>Sorry, but the page you were trying to view does not exist.</p>
|
24
|
+
<p>It looks like this was the result of either:</p>
|
25
|
+
<ul>
|
26
|
+
<li>a mistyped address</li>
|
27
|
+
<li>an out-of-date link</li>
|
28
|
+
</ul>
|
29
|
+
</div>
|
30
|
+
|
31
|
+
<script>
|
32
|
+
var GOOG_FIXURL_LANG = (navigator.language || '').slice(0,2),
|
33
|
+
GOOG_FIXURL_SITE = location.host;
|
34
|
+
</script>
|
35
|
+
<script src="http://linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js"></script>
|
36
|
+
</article>
|
37
|
+
</body>
|
38
|
+
</html>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|