-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
195 lines (190 loc) · 4.31 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
<!DOCTYPE html>
<html>
<head>
<title>SassyPGH – Sass color functions</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width" />
<link href='http://fonts.googleapis.com/css?family=Rokkitt:400,700' rel='stylesheet' type='text/css'>
<link href="css/screen.css" media="screen, projection" rel="stylesheet" type="text/css" />
</head>
<body>
<section class="section-lightgreen">
<div class="cucumber">
<div class="seed-group">
<div class="seed"></div>
</div>
<div class="seed-group">
<div class="seed"></div>
</div>
<div class="seed-group">
<div class="seed"></div>
</div>
<div class="seed-group">
<div class="seed"></div>
</div>
<div class="seed-group">
<div class="seed"></div>
</div>
<div class="seed-group">
<div class="seed"></div>
</div>
</div>
<h1>Cucumbers & Color Functions</h1>
<h2>Kurt Emch</h2>
<p class="center">Designer / Front-end Developer<br />
@kurtemch / kurtemch.com</p>
<h3>Referenced Links</h3>
<ul>
<li><a href="http://robots.thoughtbot.com/post/12974565313/controlling-color-with-sass-color-functions">Controlling Color with Sass Color Functions by Thoughtbot</a></li>
<li><a href="http://sass-lang.com/docs/yardoc/Sass/Script/Functions.html">Sass Function Reference</a></li>
<li><a href="http://sassmeister.com/">Sassmesiter</a></li>
<li><a href="http://sassme.arc90.com/">SassMe</a></li>
</ul>
<hr>
</section>
<section>
<h2>With Anchors Tags</h2>
<a href="http://sass-lang.com/docs/yardoc/Sass/Script/Functions.html">Sass's color functions reference.</a>
</section>
<hr>
<section>
<h2>Color Function Examples</h2>
<div class="swatches darken">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
<div class="swatches shade">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
<div class="swatches lighten">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
<div class="swatches tint">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
<div class="swatches opacify">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
<div class="swatches transparentize">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
<div class="swatches adjust-hue">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
<div class="swatches saturate">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
<div class="swatches desaturate">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
</section>
<hr>
<section>
<h2>With Gradients</h2>
<div class="gradient blue"></div>
<div class="gradient red"></div>
<div class="gradient green"></div>
</section>
<hr>
<section>
<h2>With CSS3 Buttons</h2>
<a class="btn btn-green">Click This Button</a>
<a class="btn btn-blue">Click This Button</a>
<a class="btn btn-red">Click This Button</a>
</section>
<hr>
<section class="section-green">
<h2>Coloring blocks</h2>
<hr>
<p><strong>Lorem ipsum dolor sit amet, consectetur</strong> adipisicing elit. Dolore culpa voluptates pariatur sed recusandae deserunt ea accusamus nam omnis in sequi molestias corrupti ut iste cupiditate aliquam blanditiis ipsam beatae.</p>
<a href="#">A link.</a>
</section>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script>
// $(document).ready(function () {
// var windowHeight = $(window).height();
// $('section').css('height', windowHeight);
// });
</script>
</body>
</html>