Skip to content
This repository was archived by the owner on Sep 28, 2020. It is now read-only.

Commit d31f667

Browse files
committed
all the things again
1 parent 84a4533 commit d31f667

24 files changed

+574
-183
lines changed

.gitignore

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Ignore docs files
2+
_gh_pages
3+
_site
4+
.ruby-version
5+
6+
# Numerous always-ignore extensions
7+
*.diff
8+
*.err
9+
*.orig
10+
*.log
11+
*.rej
12+
*.swo
13+
*.swp
14+
*.zip
15+
*.vi
16+
*~
17+
18+
# OS or Editor folders
19+
.DS_Store
20+
._*
21+
Thumbs.db
22+
.cache
23+
.project
24+
.settings
25+
.tmproj
26+
*.esproj
27+
nbproject
28+
*.sublime-project
29+
*.sublime-workspace
30+
.idea
31+
32+
# Komodo
33+
*.komodoproject
34+
.komodotools
35+
36+
# grunt-html-validation
37+
validation-status.json
38+
validation-report.json
39+
40+
# Folders to ignore
41+
node_modules
42+
bower_components

CNAME

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
wtfforms.com

_config.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: "WTF, forms?"
2+
url: http://wtfforms.com
3+
repo: https://github.com/mdo/wtf-forms
4+
twitter: https://twitter.com/mdo
5+
6+
markdown: redcarpet
7+
permalink: pretty
8+
pygments: true

_includes/checkbox.html

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<label class="control checkbox">
2+
<input type="checkbox">
3+
<span class="control-indicator"></span>
4+
Check this custom checkbox
5+
</label>

_includes/file.html

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<label class="file">
2+
<input type="file">
3+
</label>

_includes/footer.html

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<footer class="footer">
2+
<p>&lt;3</p>
3+
<p>Made with all the love in the world by <a href="{{ site.twitter }}">@mdo</a>.</p>
4+
<p>Open sourced under MIT. Copyright {{ site.time | date: '%Y' }}.</p>
5+
6+
<ul class="quick-links">
7+
<li>
8+
<iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=mdo&amp;repo=wtf-forms&amp;type=watch&amp;count=true" allowtransparency="true" frameborder="0" scrolling="0" width="112" height="20"></iframe>
9+
</li>
10+
<li>
11+
<iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=mdo&amp;repo=wtf-forms&amp;type=fork&amp;count=true" allowtransparency="true" frameborder="0" scrolling="0" width="98" height="20"></iframe>
12+
</li>
13+
</ul>
14+
<ul class="quick-links">
15+
<li class="follow-btn">
16+
<a href="{{ site.twitter }}" class="twitter-follow-button" data-link-color="#0069D6" data-show-count="true">Follow @mdo</a>
17+
</li>
18+
<li class="tweet-btn">
19+
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://wtfforms.com/" data-count="horizontal" data-via="mdo">Tweet</a>
20+
</li>
21+
</ul>
22+
</footer>

_includes/header.html

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<header class="masthead">
2+
<div class="container">
3+
<span class="icon"></span>
4+
<h1>{{ site.name }}</h1>
5+
<p class="lead">Friendlier HTML form controls with a little CSS margic. Designed for IE9+, as well as the latest Chrome, Safari, and Firefox.</p>
6+
<p class="lead">Created by <a href="{{ site.twitter }}">@mdo</a>.</p>
7+
8+
<p class="masthead-links">
9+
<a href="{{ site.repo }}">
10+
<span class="icon icon-github-circled"></span>
11+
</a>
12+
<a href="{{ site.twitter }}">
13+
<span class="icon icon-twitter"></span>
14+
</a>
15+
</p>
16+
</div>
17+
</header>

_includes/js.html

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
2+
3+
<script type="text/javascript">
4+
var _gauges = _gauges || [];
5+
(function() {
6+
var t = document.createElement('script');
7+
t.type = 'text/javascript';
8+
t.async = true;
9+
t.id = 'gauges-tracker';
10+
t.setAttribute('data-site-id', '4f6ac530613f5d32c2000037');
11+
t.src = '//secure.gaug.es/track.js';
12+
var s = document.getElementsByTagName('script')[0];
13+
s.parentNode.insertBefore(t, s);
14+
})();
15+
</script>

_includes/radio.html

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<label class="control radio">
2+
<input type="radio" id="radio1" name="radio">
3+
<span class="control-indicator"></span>
4+
Toggle this custom radio
5+
</label>
6+
<label class="control radio">
7+
<input type="radio" id="radio2" name="radio">
8+
<span class="control-indicator"></span>
9+
Or toggle this other custom radio
10+
</label>

_includes/select.html

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<label class="select">
2+
<select>
3+
<option checked>Open this select menu</option>
4+
<option value="1">One</option>
5+
<option value="2">Two</option>
6+
<option value="3">Three</option>
7+
</select>
8+
</label>

_includes/syntax.css

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
.hll { background-color: #ffffcc }
2+
/*{ background: #f0f3f3; }*/
3+
.c { color: #999; } /* Comment */
4+
.err { color: #AA0000; background-color: #FFAAAA } /* Error */
5+
.k { color: #006699; } /* Keyword */
6+
.o { color: #555555 } /* Operator */
7+
.cm { color: #999; } /* Comment.Multiline */ /* Edited to remove italics and make into comment */
8+
.cp { color: #009999 } /* Comment.Preproc */
9+
.c1 { color: #999; } /* Comment.Single */
10+
.cs { color: #999; } /* Comment.Special */
11+
.gd { background-color: #FFCCCC; border: 1px solid #CC0000 } /* Generic.Deleted */
12+
.ge { font-style: italic } /* Generic.Emph */
13+
.gr { color: #FF0000 } /* Generic.Error */
14+
.gh { color: #003300; } /* Generic.Heading */
15+
.gi { background-color: #CCFFCC; border: 1px solid #00CC00 } /* Generic.Inserted */
16+
.go { color: #AAAAAA } /* Generic.Output */
17+
.gp { color: #000099; } /* Generic.Prompt */
18+
.gs { } /* Generic.Strong */
19+
.gu { color: #003300; } /* Generic.Subheading */
20+
.gt { color: #99CC66 } /* Generic.Traceback */
21+
.kc { color: #006699; } /* Keyword.Constant */
22+
.kd { color: #006699; } /* Keyword.Declaration */
23+
.kn { color: #006699; } /* Keyword.Namespace */
24+
.kp { color: #006699 } /* Keyword.Pseudo */
25+
.kr { color: #006699; } /* Keyword.Reserved */
26+
.kt { color: #007788; } /* Keyword.Type */
27+
.m { color: #FF6600 } /* Literal.Number */
28+
.s { color: #d44950 } /* Literal.String */
29+
.na { color: #4f9fcf } /* Name.Attribute */
30+
.nb { color: #336666 } /* Name.Builtin */
31+
.nc { color: #00AA88; } /* Name.Class */
32+
.no { color: #336600 } /* Name.Constant */
33+
.nd { color: #9999FF } /* Name.Decorator */
34+
.ni { color: #999999; } /* Name.Entity */
35+
.ne { color: #CC0000; } /* Name.Exception */
36+
.nf { color: #CC00FF } /* Name.Function */
37+
.nl { color: #9999FF } /* Name.Label */
38+
.nn { color: #00CCFF; } /* Name.Namespace */
39+
.nt { color: #2f6f9f; } /* Name.Tag */
40+
.nv { color: #003333 } /* Name.Variable */
41+
.ow { color: #000000; } /* Operator.Word */
42+
.w { color: #bbbbbb } /* Text.Whitespace */
43+
.mf { color: #FF6600 } /* Literal.Number.Float */
44+
.mh { color: #FF6600 } /* Literal.Number.Hex */
45+
.mi { color: #FF6600 } /* Literal.Number.Integer */
46+
.mo { color: #FF6600 } /* Literal.Number.Oct */
47+
.sb { color: #CC3300 } /* Literal.String.Backtick */
48+
.sc { color: #CC3300 } /* Literal.String.Char */
49+
.sd { color: #CC3300; font-style: italic } /* Literal.String.Doc */
50+
.s2 { color: #CC3300 } /* Literal.String.Double */
51+
.se { color: #CC3300; } /* Literal.String.Escape */
52+
.sh { color: #CC3300 } /* Literal.String.Heredoc */
53+
.si { color: #AA0000 } /* Literal.String.Interpol */
54+
.sx { color: #CC3300 } /* Literal.String.Other */
55+
.sr { color: #33AAAA } /* Literal.String.Regex */
56+
.s1 { color: #CC3300 } /* Literal.String.Single */
57+
.ss { color: #FFCC33 } /* Literal.String.Symbol */
58+
.bp { color: #336666 } /* Name.Builtin.Pseudo */
59+
.vc { color: #003333 } /* Name.Variable.Class */
60+
.vg { color: #003333 } /* Name.Variable.Global */
61+
.vi { color: #003333 } /* Name.Variable.Instance */
62+
.il { color: #FF6600 } /* Literal.Number.Integer.Long */
63+
64+
.css .o,
65+
.css .o + .nt,
66+
.css .nt + .nt { color: #999; }

_includes/tweet-button.html

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<div class="tweet-button">
2+
<a href="https://twitter.com/share" class="twitter-share-button" data-size="large" data-count="horizontal" data-via="mdo" data-url="{{ site.url }}" data-text="{{ site.name }}:">Tweet</a>
3+
</div>

_layouts/default.html

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<!DOCTYPE html>
2+
<html lang="en-us">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
7+
<link href="public/ico/favicon.ico" rel="shortcut icon" type="image/x-icon">
8+
9+
<title>
10+
{{ site.name }}
11+
</title>
12+
13+
<link rel="stylesheet" href="wtf-forms.css">
14+
<link rel="stylesheet" href="docs.css">
15+
16+
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic,700italic">
17+
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Mono&amp;subset=latin,cyrillic">
18+
19+
<script>
20+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
21+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
22+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
23+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
24+
ga('create', 'UA-146052-16', 'wtfhtmlcss.com');
25+
ga('send', 'pageview');
26+
</script>
27+
</head>
28+
<body>
29+
30+
{% include header.html %}
31+
32+
<div class="container">
33+
{{ content }}
34+
</div>
35+
36+
{% include footer.html %}
37+
38+
{% include js.html %}
39+
</body>
40+
</html>

css/fontello.css

-35
This file was deleted.

css/reset.css

-76
This file was deleted.

0 commit comments

Comments
 (0)