stipe 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +13 -0
- data/lib/stipe.rb +4 -0
- data/stylesheets/stipe/_buttons.scss +0 -0
- data/stylesheets/stipe/_color.scss +7 -0
- data/stylesheets/stipe/_forms.scss +24 -0
- data/stylesheets/stipe/_gradients.scss +11 -0
- data/stylesheets/stipe/_grid.scss +59 -0
- data/stylesheets/stipe/_media.scss +14 -0
- data/stylesheets/stipe/_stipe.scss +13 -0
- data/stylesheets/stipe/_typography.scss +44 -0
- data/stylesheets/stipe/buttons/_extends.scss +13 -0
- data/stylesheets/stipe/buttons/doc-src/buttons.md +3 -0
- data/stylesheets/stipe/buttons/lib/_cupid-green.scss +54 -0
- data/stylesheets/stipe/buttons/lib/_minimal.scss +36 -0
- data/stylesheets/stipe/color/_color_math.scss +61 -0
- data/stylesheets/stipe/color/_default_color_pallet.scss +56 -0
- data/stylesheets/stipe/color/_extends.scss +222 -0
- data/stylesheets/stipe/color/_grayscale_math.scss +10 -0
- data/stylesheets/stipe/forms/_default.scss +11 -0
- data/stylesheets/stipe/forms/_extends.scss +103 -0
- data/stylesheets/stipe/forms/_mixins.scss +32 -0
- data/stylesheets/stipe/gradients/_extends.scss +48 -0
- data/stylesheets/stipe/gradients/mixins/_area_51.scss +53 -0
- data/stylesheets/stipe/gradients/mixins/_linear_gradient_bkgimage.scss +43 -0
- data/stylesheets/stipe/grid/_extends.scss +221 -0
- data/stylesheets/stipe/grid/_mixins.scss +66 -0
- data/stylesheets/stipe/grid/lib/_grid_background.scss +10 -0
- data/stylesheets/stipe/grid/lib/_grid_margin.scss +23 -0
- data/stylesheets/stipe/grid/lib/_grid_placement.scss +66 -0
- data/stylesheets/stipe/grid/lib/_push_logic.scss +52 -0
- data/stylesheets/stipe/grid/lib/_the_grid.scss +98 -0
- data/stylesheets/stipe/resets/_eric_meyer.scss +48 -0
- data/stylesheets/stipe/resets/_toadstool.scss +212 -0
- data/stylesheets/stipe/stipe/_extends.scss +42 -0
- data/stylesheets/stipe/stipe/_mixins.scss +291 -0
- data/stylesheets/stipe/toadstool/_buttons.scss +29 -0
- data/stylesheets/stipe/toadstool/_config.scss +228 -0
- data/stylesheets/stipe/toadstool/_design.scss +52 -0
- data/stylesheets/stipe/toadstool/_forms.scss +19 -0
- data/stylesheets/stipe/toadstool/_grids.scss +93 -0
- data/stylesheets/stipe/toadstool/_modules.scss +3 -0
- data/stylesheets/stipe/toadstool/_typography.scss +109 -0
- data/stylesheets/stipe/toadstool/_ui_manifest.scss +39 -0
- data/stylesheets/stipe/toadstool/_ui_patterns.scss +2 -0
- data/stylesheets/stipe/toadstool/_web_fonts.scss +32 -0
- data/stylesheets/stipe/toadstool/modules/_footer.scss +6 -0
- data/stylesheets/stipe/toadstool/modules/_header.scss +41 -0
- data/stylesheets/stipe/toadstool/modules/_main_nav.scss +46 -0
- data/stylesheets/stipe/toadstool/ui_patterns/_emBox.scss +16 -0
- data/stylesheets/stipe/toadstool/ui_patterns/_prettify.scss +118 -0
- data/stylesheets/stipe/typography/_default.scss +66 -0
- data/stylesheets/stipe/typography/_extends.scss +86 -0
- data/stylesheets/stipe/typography/_functions.scss +22 -0
- data/stylesheets/stipe/typography/_mixins.scss +105 -0
- data/stylesheets/stipe/typography/web_fonts/_font_awesome.scss +4 -0
- data/stylesheets/stipe/typography/web_fonts/_font_awesome_pua.scss +231 -0
- data/stylesheets/stipe/typography/web_fonts/_zocial.scss +3 -0
- data/stylesheets/stipe/typography/web_fonts/_zocial_characters.scss +54 -0
- metadata +135 -0
@@ -0,0 +1,66 @@
|
|
1
|
+
///////// 12/16 col 960 grid system ///////////
|
2
|
+
// ----------------------------------------
|
3
|
+
// use example for a 12 col layout, 4 col width, conversion to %, add left/right padding and 1px border
|
4
|
+
// @include grid(12, 4, $grid_padding: 36, $grid_border: 1);
|
5
|
+
//
|
6
|
+
// All values are entered as integers and conversion math is done in the mixin.
|
7
|
+
// Do not enter combination values such as '36em'
|
8
|
+
|
9
|
+
@mixin grid($col_count, $grid_child, $grid_padding_lr, $grid_padding_tb, $grid_border, $grid_uom, $col_gutter, $grid_type, $grid_align, $grid_context) {
|
10
|
+
|
11
|
+
@if $grid_type == 12 {
|
12
|
+
$col_width: 80 - $col_gutter;
|
13
|
+
@include the_grid($col_count, $col_width, $grid_uom, $grid_padding_lr, $grid_padding_tb, $grid_border, $grid_child, $col_gutter, $grid_align, $grid_context);
|
14
|
+
}
|
15
|
+
@else if $grid_type == 16 {
|
16
|
+
$col_width: 60 - $col_gutter;
|
17
|
+
@include the_grid($col_count, $col_width, $grid_uom, $grid_padding_lr, $grid_padding_tb, $grid_border, $grid_child, $col_gutter, $grid_align);
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
/////////// main content dusplay box //////////////
|
22
|
+
// -----------------------------------------------
|
23
|
+
@mixin full_width_block($main_col_count, $main_grid_align: center, $main_grid_uom: percent) {
|
24
|
+
$col_count: $main_col_count + 0.25; // additional value compensates for not having 10px margin
|
25
|
+
@include grid($col_count, $grid_align: $main_grid_align, $grid_uom: $main_grid_uom);
|
26
|
+
}
|
27
|
+
|
28
|
+
|
29
|
+
///////// prefix value accounts for a full column in the grid ////////////
|
30
|
+
// -----------------------------------------------------------------------
|
31
|
+
@mixin prefix($grid_type, $col_count, $grid_uom: $grid_uom, $move: prefix) {
|
32
|
+
@include ppps ($grid_type, $col_count, $grid_uom, $move);
|
33
|
+
}
|
34
|
+
|
35
|
+
///////// suffix value accounts for a full column in the grid ////////////
|
36
|
+
// -----------------------------------------------------------------------
|
37
|
+
|
38
|
+
@mixin suffix($grid_type, $col_count, $grid_uom: $grid_uom, $move: suffix) {
|
39
|
+
@include ppps ($grid_type, $col_count, $grid_uom, $move);
|
40
|
+
}
|
41
|
+
|
42
|
+
///////// push value accounts for a full column in the grid ////////////
|
43
|
+
// -----------------------------------------------------------------------
|
44
|
+
|
45
|
+
@mixin push($grid_type, $col_count, $grid_uom: $grid_uom, $move: push) {
|
46
|
+
@include ppps ($grid_type, $col_count, $grid_uom, $move);
|
47
|
+
position: relative;
|
48
|
+
}
|
49
|
+
|
50
|
+
///////// pull value accounts for a full column in the grid ////////////
|
51
|
+
// -----------------------------------------------------------------------
|
52
|
+
|
53
|
+
@mixin pull($grid_type, $col_count, $grid_uom: $grid_uom, $move: pull) {
|
54
|
+
@include ppps ($grid_type, $col_count, $grid_uom, $move);
|
55
|
+
position: relative;
|
56
|
+
}
|
57
|
+
|
58
|
+
/////////// `Grid >> Children (Alpha ~ First, Omega ~ Last) ///////////
|
59
|
+
// --------------------------------------------------------------------
|
60
|
+
@mixin alpha() {
|
61
|
+
margin-left: 0;
|
62
|
+
}
|
63
|
+
|
64
|
+
@mixin omega() {
|
65
|
+
margin-right: 0;
|
66
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
// this mixin is called into 'the_grid'
|
2
|
+
// supporting mixins for @mixin grid_placement
|
3
|
+
@mixin grid_margin ($child, $margin_calc) {
|
4
|
+
float: left;
|
5
|
+
@if $child == alpha {
|
6
|
+
margin: {
|
7
|
+
left: 0;
|
8
|
+
right: $margin_calc;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
@else if $child == omega {
|
12
|
+
margin: {
|
13
|
+
left: $margin_calc;
|
14
|
+
right: 0;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
@else if $child == none {
|
18
|
+
margin: {
|
19
|
+
left: $margin_calc;
|
20
|
+
right: $margin_calc;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
@@ -0,0 +1,66 @@
|
|
1
|
+
// supporting mixin for @mixin the_grid
|
2
|
+
// 'grid_placement' sets display, float and margin for the block
|
3
|
+
@mixin grid_placement($grid_align, $grid_uom, $grid_child, $grid_context_width, $margin) {
|
4
|
+
|
5
|
+
@include box_sizing;
|
6
|
+
|
7
|
+
@if $grid_align == center {
|
8
|
+
margin: 0 auto;
|
9
|
+
}
|
10
|
+
@else if $grid_align == left {
|
11
|
+
margin: 0;
|
12
|
+
}
|
13
|
+
|
14
|
+
@else {
|
15
|
+
@if $grid_child == alpha {
|
16
|
+
@if $grid_uom == em {
|
17
|
+
$margin_calc: #{$margin / $em}em;
|
18
|
+
@include grid_margin($grid_child, $margin_calc);
|
19
|
+
}
|
20
|
+
@else if $grid_uom == combo {
|
21
|
+
$margin_calc: #{$margin / $em}em;
|
22
|
+
@include grid_margin($grid_child, $margin_calc);
|
23
|
+
}
|
24
|
+
@else if $grid_uom == percent {
|
25
|
+
$margin_calc: $margin / $grid_context_width * 100%;
|
26
|
+
@include grid_margin($grid_child, $margin_calc);
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
@else if $grid_child == omega {
|
31
|
+
@if $grid_uom == em {
|
32
|
+
$margin_calc: #{$margin / $em}em;
|
33
|
+
@include grid_margin($grid_child, $margin_calc);
|
34
|
+
}
|
35
|
+
@else if $grid_uom == combo {
|
36
|
+
$margin_calc: #{$margin / $em}em;
|
37
|
+
@include grid_margin($grid_child, $margin_calc);
|
38
|
+
}
|
39
|
+
@else if $grid_uom == percent {
|
40
|
+
$margin_calc: $margin / $grid_context_width * 100%;
|
41
|
+
@include grid_margin($grid_child, $margin_calc);
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
@else if $grid_child == none {
|
46
|
+
@if $grid_uom == em {
|
47
|
+
$margin_calc: #{$margin / $em}em;
|
48
|
+
@include grid_margin($grid_child, $margin_calc);
|
49
|
+
}
|
50
|
+
@else if $grid_uom == combo {
|
51
|
+
$margin_calc: #{$margin / $em}em;
|
52
|
+
@include grid_margin($grid_child, $margin_calc);
|
53
|
+
}
|
54
|
+
@else if $grid_uom == percent {
|
55
|
+
$margin_calc: $margin / $grid_context_width * 100%;
|
56
|
+
@include grid_margin($grid_child, $margin_calc);
|
57
|
+
}
|
58
|
+
}
|
59
|
+
|
60
|
+
@else if $grid_child == alphaomega {
|
61
|
+
margin-left: 0;
|
62
|
+
margin-right: 0;
|
63
|
+
}
|
64
|
+
|
65
|
+
}
|
66
|
+
}
|
@@ -0,0 +1,52 @@
|
|
1
|
+
// Sass math that will determine the width of the push, pull, prefix and suffix and write appropiate CSS
|
2
|
+
// ---------------------------- //
|
3
|
+
@mixin push_logic ($col_count, $grid_uom, $move, $width_gutter) {
|
4
|
+
@if $grid_uom == em {
|
5
|
+
$padding_width: #{($width_gutter * $col_count) / $em}em;
|
6
|
+
@if $move == suffix {
|
7
|
+
padding-right: $padding_width;
|
8
|
+
}
|
9
|
+
@else if $move == prefix {
|
10
|
+
padding-left: $padding_width;
|
11
|
+
}
|
12
|
+
@else if $move == push {
|
13
|
+
left: #{($width_gutter * $col_count) / $em}em;
|
14
|
+
}
|
15
|
+
@else if $move == pull {
|
16
|
+
right: #{($width_gutter * $col_count) / $em}em;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
@else if $grid_uom == percent {
|
20
|
+
$grid_width: ($width_gutter * $col_count) / $grid_960;
|
21
|
+
$padding_width: #{($width_gutter * $col_count) / $grid_960};
|
22
|
+
@if $move == suffix {
|
23
|
+
padding-right: $padding_width;
|
24
|
+
}
|
25
|
+
@else if $move == prefix {
|
26
|
+
padding-left: $padding_width;
|
27
|
+
}
|
28
|
+
@else if $move == push {
|
29
|
+
left: ($width_gutter * $col_count) / $grid_960;
|
30
|
+
}
|
31
|
+
@else if $move == pull {
|
32
|
+
right: ($width_gutter * $col_count) / $grid_960;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
@include box_sizing(content-box);
|
36
|
+
}
|
37
|
+
|
38
|
+
|
39
|
+
// Push, Pull, Prefix, Suffix logic
|
40
|
+
// Paired down reusable logic, based on $type will determine width + gutter and
|
41
|
+
// send values to the push_logic mixin to determine the value of the Push, Pull, Prefix or Suffix
|
42
|
+
// ------------------------------------------------------------------ //
|
43
|
+
@mixin ppps ($type, $col_count, $grid_uom, $move) {
|
44
|
+
@if $type == 12 {
|
45
|
+
$width_gutter: 80;
|
46
|
+
@include push_logic ($col_count, $grid_uom, $move, $width_gutter);
|
47
|
+
}
|
48
|
+
@else if $type == 16 {
|
49
|
+
$width_gutter: 60;
|
50
|
+
@include push_logic ($col_count, $grid_uom, $move, $width_gutter);
|
51
|
+
}
|
52
|
+
}
|
@@ -0,0 +1,98 @@
|
|
1
|
+
// 'the_grid' determines width by taking column count, calculates gutter count
|
2
|
+
// default setting for grid is ``em`` this is specified in ``_config.scss``
|
3
|
+
|
4
|
+
@mixin the_grid($col_count, $col_width, $grid_uom, $grid_padding_lr, $grid_padding_tb, $grid_border, $grid_child, $col_gutter, $grid_align, $grid_context) {
|
5
|
+
|
6
|
+
$col_gutter_width: ($col_count - 1) * $col_gutter + ($col_count * $col_width); //determines full col width with gutters
|
7
|
+
|
8
|
+
$grid_context_width: $grid_context * 80; // determines width of contextual grid block for calculating percentages
|
9
|
+
|
10
|
+
@include grid_placement($grid_align, $grid_uom, $grid_child, $grid_context_width, $margin: $col_gutter / 2);
|
11
|
+
|
12
|
+
@if $grid_uom == em {
|
13
|
+
@if $grid_border > 0 {
|
14
|
+
border: #{$grid_border}px $standard_border_style $border_color;
|
15
|
+
}
|
16
|
+
|
17
|
+
@if $grid_padding_lr > 0 {
|
18
|
+
padding: {
|
19
|
+
left: em($grid_padding_lr);
|
20
|
+
right: em($grid_padding_lr);
|
21
|
+
}
|
22
|
+
}
|
23
|
+
@if $grid_padding_tb > 0 {
|
24
|
+
padding: {
|
25
|
+
top: em($grid_padding_tb);
|
26
|
+
bottom: em($grid_padding_tb);
|
27
|
+
}
|
28
|
+
}
|
29
|
+
$grid_width: em($col_gutter_width);
|
30
|
+
width: $grid_width;
|
31
|
+
|
32
|
+
|
33
|
+
// fallback for unsupported browsers
|
34
|
+
$grid_width_fallback: $col_gutter_width - (($grid_padding_lr * 2) + ($grid_border * 2));
|
35
|
+
|
36
|
+
@if $grid_width_fallback < $col_gutter_width {
|
37
|
+
.ie7 & {
|
38
|
+
width: #{$grid_width_fallback}px;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
@else if $grid_uom == percent {
|
44
|
+
@if $grid_border > 0 {
|
45
|
+
border: #{$grid_border}px $standard_border_style $border_color;
|
46
|
+
}
|
47
|
+
|
48
|
+
$grid_width: $col_gutter_width / $grid_context_width * 100%;
|
49
|
+
@if $grid_padding_lr > 0 {
|
50
|
+
padding: {
|
51
|
+
//left: $grid_padding_lr / $grid_960;
|
52
|
+
left: $grid_padding_lr / $grid_context_width * 100%;
|
53
|
+
right: $grid_padding_lr / $grid_context_width * 100%;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
@if $grid_padding_tb > 0 {
|
57
|
+
padding: {
|
58
|
+
top: $grid_padding_tb / $grid_context_width * 100%;
|
59
|
+
bottom: $grid_padding_tb / $grid_context_width * 100%;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
width: $grid_width;
|
63
|
+
|
64
|
+
// fallback for unsupported browsers
|
65
|
+
$grid_width_fallback: $col_gutter_width - (($grid_padding_lr * 2) + ($grid_border * 2));
|
66
|
+
|
67
|
+
@if $grid_width_fallback < $col_gutter_width {
|
68
|
+
.ie7 & {
|
69
|
+
width: $grid_width_fallback / $grid_context_width * 100%;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
@else if $grid_uom == combo {
|
74
|
+
$grid_width: $col_gutter_width / $grid_context_width * 100%;
|
75
|
+
@if $grid_padding_lr > 0 {
|
76
|
+
padding: {
|
77
|
+
left: em($grid_padding_lr);
|
78
|
+
right: em($grid_padding_lr);
|
79
|
+
}
|
80
|
+
}
|
81
|
+
@if $grid_padding_tb > 0 {
|
82
|
+
padding: {
|
83
|
+
top: em($grid_padding_tb);
|
84
|
+
bottom: em($grid_padding_tb);
|
85
|
+
}
|
86
|
+
}
|
87
|
+
width: $grid_width;
|
88
|
+
|
89
|
+
// fallback for unsupported browsers
|
90
|
+
$grid_width_fallback: $col_gutter_width - (($grid_padding_lr * 2) + ($grid_border * 2));
|
91
|
+
|
92
|
+
@if $grid_width_fallback < $col_gutter_width {
|
93
|
+
.ie7 & {
|
94
|
+
width: $grid_width_fallback / $grid_context_width * 100%;
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
@@ -0,0 +1,48 @@
|
|
1
|
+
/* http://meyerweb.com/eric/tools/css/reset/
|
2
|
+
v2.0 | 20110126
|
3
|
+
License: none (public domain)
|
4
|
+
*/
|
5
|
+
|
6
|
+
html, body, div, span, applet, object, iframe,
|
7
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
8
|
+
a, abbr, acronym, address, big, cite, code,
|
9
|
+
del, dfn, em, img, ins, kbd, q, s, samp,
|
10
|
+
small, strike, strong, sub, sup, tt, var,
|
11
|
+
b, u, i, center,
|
12
|
+
dl, dt, dd, ol, ul, li,
|
13
|
+
fieldset, form, label, legend,
|
14
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
15
|
+
article, aside, canvas, details, embed,
|
16
|
+
figure, figcaption, footer, header, hgroup,
|
17
|
+
menu, nav, output, ruby, section, summary,
|
18
|
+
time, mark, audio, video {
|
19
|
+
margin: 0;
|
20
|
+
padding: 0;
|
21
|
+
border: 0;
|
22
|
+
font-size: 100%;
|
23
|
+
font: inherit;
|
24
|
+
vertical-align: baseline;
|
25
|
+
}
|
26
|
+
/* HTML5 display-role reset for older browsers */
|
27
|
+
article, aside, details, figcaption, figure,
|
28
|
+
footer, header, hgroup, menu, nav, section {
|
29
|
+
display: block;
|
30
|
+
}
|
31
|
+
body {
|
32
|
+
line-height: 1;
|
33
|
+
}
|
34
|
+
ol, ul {
|
35
|
+
list-style: none;
|
36
|
+
}
|
37
|
+
blockquote, q {
|
38
|
+
quotes: none;
|
39
|
+
}
|
40
|
+
blockquote:before, blockquote:after,
|
41
|
+
q:before, q:after {
|
42
|
+
content: '';
|
43
|
+
content: none;
|
44
|
+
}
|
45
|
+
table {
|
46
|
+
border-collapse: collapse;
|
47
|
+
border-spacing: 0;
|
48
|
+
}
|
@@ -0,0 +1,212 @@
|
|
1
|
+
// Toadstool core v0.0.0.1
|
2
|
+
// This document is not to be edited as it will be versioned
|
3
|
+
// -----------------------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
|
7
|
+
|
8
|
+
// *-------------------------------------------------------------------------------
|
9
|
+
// *
|
10
|
+
// * HTML5 Reset :: style.css
|
11
|
+
// * ----------------------------------------------------------
|
12
|
+
// * We have learned much from/been inspired by/taken code where offered from:
|
13
|
+
// *
|
14
|
+
// * Eric Meyer :: http://ericmeyer.com
|
15
|
+
// * HTML5 Doctor :: http://html5doctor.com
|
16
|
+
// * and the HTML5 Boilerplate :: http://html5boilerplate.com
|
17
|
+
// *
|
18
|
+
// * Mods by Dale Sande :: toadstool awesome
|
19
|
+
// *
|
20
|
+
// *-------------------------------------------------------------------------------
|
21
|
+
|
22
|
+
|
23
|
+
// * Let's default this puppy out
|
24
|
+
// *-------------------------------------------------------------------------------
|
25
|
+
|
26
|
+
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, menu, time, mark, audio, video {
|
27
|
+
margin: 0;
|
28
|
+
padding: 0;
|
29
|
+
border: 0;
|
30
|
+
//outline: 0;
|
31
|
+
vertical-align: baseline;
|
32
|
+
background: transparent;
|
33
|
+
}
|
34
|
+
|
35
|
+
body {
|
36
|
+
//line-height: 1;
|
37
|
+
font-size: 100%;
|
38
|
+
-webkit-font-smoothing: antialiased;
|
39
|
+
}
|
40
|
+
|
41
|
+
article, aside, figure, footer, header, hgroup, nav, section {
|
42
|
+
display: block;
|
43
|
+
}
|
44
|
+
|
45
|
+
// * Responsive images and other embedded objects
|
46
|
+
// * Note: keeping IMG here will cause problems if you're using foreground images as sprites, like, say for Google Maps custom placemarkers.
|
47
|
+
// * There has been a report of problems with standard Google maps as well, but we haven't been able to duplicate or diagnose the issue.
|
48
|
+
|
49
|
+
img, object, embed {
|
50
|
+
max-width: 100%;
|
51
|
+
}
|
52
|
+
|
53
|
+
img {
|
54
|
+
border-style: none;
|
55
|
+
border-color: transparent;
|
56
|
+
border-width: 0;
|
57
|
+
}
|
58
|
+
|
59
|
+
// * we use a lot of ULs that aren't bulleted.
|
60
|
+
// * don't forget to restore the bullets within content.
|
61
|
+
|
62
|
+
ol,ul {
|
63
|
+
list-style: none;
|
64
|
+
}
|
65
|
+
|
66
|
+
blockquote, q {
|
67
|
+
quotes: none;
|
68
|
+
}
|
69
|
+
|
70
|
+
blockquote {
|
71
|
+
&:before, &:after {
|
72
|
+
content: '';
|
73
|
+
content: none;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
|
77
|
+
q {
|
78
|
+
&:before, &:after {
|
79
|
+
content: '';
|
80
|
+
content: none;
|
81
|
+
}
|
82
|
+
}
|
83
|
+
|
84
|
+
a {
|
85
|
+
margin: 0;
|
86
|
+
padding: 0;
|
87
|
+
font-size: 100%;
|
88
|
+
vertical-align: baseline;
|
89
|
+
background: transparent;
|
90
|
+
&:focus {
|
91
|
+
text-decoration: underline ;
|
92
|
+
outline: none;
|
93
|
+
}
|
94
|
+
}
|
95
|
+
|
96
|
+
del {
|
97
|
+
text-decoration: line-through;
|
98
|
+
}
|
99
|
+
|
100
|
+
|
101
|
+
pre {
|
102
|
+
//white-space: pre
|
103
|
+
// * CSS2
|
104
|
+
white-space: pre-wrap;
|
105
|
+
// * CSS 2.1
|
106
|
+
//white-space: pre-line
|
107
|
+
// * CSS 3 (and 2.1 as well, actually)
|
108
|
+
word-wrap: break-word;
|
109
|
+
// * IE
|
110
|
+
}
|
111
|
+
|
112
|
+
input {
|
113
|
+
&[type="radio"] {
|
114
|
+
vertical-align: text-bottom;
|
115
|
+
}
|
116
|
+
}
|
117
|
+
|
118
|
+
input, textarea, select, button {
|
119
|
+
font-family: inherit;
|
120
|
+
font-weight: inherit;
|
121
|
+
background-color: #fff;
|
122
|
+
border: 0;
|
123
|
+
padding: 0;
|
124
|
+
margin: 0;
|
125
|
+
}
|
126
|
+
|
127
|
+
table {
|
128
|
+
font-size: inherit;
|
129
|
+
font: 100%;
|
130
|
+
}
|
131
|
+
|
132
|
+
sub {
|
133
|
+
font-size: 75%;
|
134
|
+
line-height: 0;
|
135
|
+
position: relative;
|
136
|
+
}
|
137
|
+
|
138
|
+
sup {
|
139
|
+
font-size: 75%;
|
140
|
+
line-height: 0;
|
141
|
+
position: relative;
|
142
|
+
top: -0.5em;
|
143
|
+
}
|
144
|
+
|
145
|
+
sub {
|
146
|
+
bottom: -0.25em;
|
147
|
+
}
|
148
|
+
|
149
|
+
// * standardize any monospaced elements
|
150
|
+
|
151
|
+
pre, code, kbd, samp {
|
152
|
+
font-family: monospace, sans-serif;
|
153
|
+
}
|
154
|
+
|
155
|
+
// * hand cursor on clickable elements
|
156
|
+
|
157
|
+
.clickable, label {
|
158
|
+
cursor: pointer;
|
159
|
+
}
|
160
|
+
|
161
|
+
input {
|
162
|
+
&[type=button], &[type=submit] {
|
163
|
+
cursor: pointer;
|
164
|
+
}
|
165
|
+
}
|
166
|
+
|
167
|
+
button {
|
168
|
+
cursor: pointer;
|
169
|
+
margin: 0;
|
170
|
+
width: auto;
|
171
|
+
overflow: visible;
|
172
|
+
}
|
173
|
+
|
174
|
+
a.button {
|
175
|
+
display: inline-block;
|
176
|
+
}
|
177
|
+
|
178
|
+
// * scale images in IE7 more attractively
|
179
|
+
|
180
|
+
.ie7 img {
|
181
|
+
-ms-interpolation-mode: bicubic;
|
182
|
+
}
|
183
|
+
|
184
|
+
// * Ok, this is where the fun starts.
|
185
|
+
// *-------------------------------------------------------------------------------
|
186
|
+
|
187
|
+
a:link {
|
188
|
+
-webkit-tap-highlight-color: $webkit_tap_hightlight;
|
189
|
+
}
|
190
|
+
|
191
|
+
ins {
|
192
|
+
background-color: $ins_color;
|
193
|
+
color: black;
|
194
|
+
text-decoration: none;
|
195
|
+
}
|
196
|
+
|
197
|
+
mark {
|
198
|
+
background-color: $mark_color;
|
199
|
+
color: $primary_text;
|
200
|
+
font-style: italic;
|
201
|
+
font-weight: bold;
|
202
|
+
}
|
203
|
+
|
204
|
+
::selection {
|
205
|
+
background: $selection_color;
|
206
|
+
color: $selection_text_color;
|
207
|
+
}
|
208
|
+
|
209
|
+
::-moz-selection {
|
210
|
+
background: $selection_color;
|
211
|
+
color: $selection_text_color;
|
212
|
+
}
|