survivalkit 0.2.1 → 0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (159) hide show
  1. data/lib/survivalkit.rb +2 -2
  2. data/stylesheets/survivalkit/extend/_helpers.sass +13 -9
  3. data/stylesheets/survivalkit/extend/_sticky-footer.sass +4 -4
  4. data/stylesheets/survivalkit/mixins/_all.sass +1 -0
  5. data/stylesheets/survivalkit/mixins/_breakpoint.sass +68 -0
  6. data/stylesheets/survivalkit/mixins/_helpers.sass +13 -0
  7. data/stylesheets/survivalkit/mixins/_pseudo.sass +0 -1
  8. data/stylesheets/survivalkit/mixins/_typography.sass +2 -2
  9. data/stylesheets/survivalkit/reset/_normalize.scss +506 -0
  10. data/stylesheets/survivalkit/style-tile/_all.sass +1 -0
  11. data/stylesheets/survivalkit/style-tile/_tile-layout.sass +143 -0
  12. data/stylesheets/survivalkit/survival_kit/_survival-kit.sass +35 -28
  13. data/stylesheets/survivalkit/variables/_color_names.sass +148 -148
  14. data/templates/project/files/html/survivalkit/elements-common.html +453 -453
  15. data/templates/project/files/html/survivalkit/elements-html5.html +2791 -2791
  16. data/templates/project/files/html/survivalkit/elements-typography.html +102 -102
  17. data/templates/project/files/html/survivalkit/elements-ui-patterns-drupal-css.html +1688 -1688
  18. data/templates/project/files/html/survivalkit/elements-ui-patterns-drupal.html +1688 -1688
  19. data/templates/project/files/html/survivalkit/elements-ui-patterns.html +57 -57
  20. data/templates/project/files/html/survivalkit/styletile/styletile.html +13 -5
  21. data/templates/project/ie.sass +1 -1
  22. data/templates/project/manifest.rb +13 -21
  23. data/templates/project/partials/01-variables/_all.sass +1 -2
  24. data/templates/project/partials/01-variables/_base.sass +124 -10
  25. data/templates/project/partials/01-variables/_fonts.sass +1 -1
  26. data/templates/project/partials/02-reset/_reset.sass +4 -5
  27. data/templates/project/partials/03-extend/_typography.sass +9 -9
  28. data/templates/project/partials/04-defaults/_all.sass +8 -9
  29. data/templates/project/partials/04-defaults/_common.sass +56 -3
  30. data/templates/project/partials/04-defaults/{markup/_edits.sass → _edits.sass} +0 -0
  31. data/templates/project/partials/04-defaults/{markup/_headers.sass → _headers.sass} +14 -14
  32. data/templates/project/partials/04-defaults/{markup/_images.sass → _images.sass} +1 -1
  33. data/templates/project/partials/04-defaults/{markup/_semantics.sass → _semantics.sass} +9 -9
  34. data/templates/project/partials/04-defaults/{markup/_tables.sass → _tables.sass} +1 -1
  35. data/templates/project/partials/04-defaults/{markup/forms → forms}/_form-defaults.sass +5 -5
  36. data/templates/project/partials/04-defaults/{markup/forms → forms}/_formalize.sass +0 -0
  37. data/templates/project/partials/05-grids/_grids-susy.sass +3 -13
  38. data/templates/project/partials/06-ui-patterns/{drupal/_ui-patterns.sass → _drupal-patterns.sass} +0 -0
  39. data/templates/project/partials/{08-layout-design → 08-your-design-here}/_design.sass +0 -0
  40. data/templates/project/partials/09-styletile/_tile-design.sass +22 -7
  41. data/templates/project/partials/{11-media → 10-media}/_print.sass +1 -1
  42. data/templates/project/partials/{12-browser-adjustments → 11-browser-adjustments}/_ie.sass +0 -0
  43. data/templates/project/partials/{12-browser-adjustments → 11-browser-adjustments}/_modernizr.sass +0 -0
  44. data/templates/project/partials/{12-browser-adjustments → 11-browser-adjustments}/_selectivizr.sass +0 -0
  45. data/templates/project/selectivizr.sass +1 -1
  46. data/templates/project/style.sass +7 -13
  47. data/templates/project/templates/old/survivalkit/partials/common/abbr.haml +2 -2
  48. data/templates/project/templates/old/survivalkit/partials/common/acronym.haml +2 -2
  49. data/templates/project/templates/old/survivalkit/partials/common/characters.haml +2 -2
  50. data/templates/project/templates/old/survivalkit/partials/common/cite.haml +2 -2
  51. data/templates/project/templates/old/survivalkit/partials/common/code.haml +2 -2
  52. data/templates/project/templates/old/survivalkit/partials/common/dfn.haml +2 -2
  53. data/templates/project/templates/old/survivalkit/partials/common/em.haml +3 -3
  54. data/templates/project/templates/old/survivalkit/partials/common/forms.haml +2 -2
  55. data/templates/project/templates/old/survivalkit/partials/common/headers.haml +2 -2
  56. data/templates/project/templates/old/survivalkit/partials/common/inline-images.haml +2 -2
  57. data/templates/project/templates/old/survivalkit/partials/common/kbd.haml +2 -2
  58. data/templates/project/templates/old/survivalkit/partials/common/links.haml +2 -2
  59. data/templates/project/templates/old/survivalkit/partials/common/lists.haml +2 -2
  60. data/templates/project/templates/old/survivalkit/partials/common/others.haml +2 -2
  61. data/templates/project/templates/old/survivalkit/partials/common/paragraphs.haml +2 -2
  62. data/templates/project/templates/old/survivalkit/partials/common/pre.haml +9 -9
  63. data/templates/project/templates/old/survivalkit/partials/common/q.haml +2 -2
  64. data/templates/project/templates/old/survivalkit/partials/common/samp.haml +2 -2
  65. data/templates/project/templates/old/survivalkit/partials/common/strong.haml +2 -2
  66. data/templates/project/templates/old/survivalkit/partials/common/tables.haml +2 -2
  67. data/templates/project/templates/old/survivalkit/partials/common/var.haml +2 -2
  68. data/templates/project/templates/old/survivalkit/partials/html5/a.haml +2 -2
  69. data/templates/project/templates/old/survivalkit/partials/html5/abbr.haml +2 -2
  70. data/templates/project/templates/old/survivalkit/partials/html5/address.haml +2 -2
  71. data/templates/project/templates/old/survivalkit/partials/html5/all-headings.haml +2 -2
  72. data/templates/project/templates/old/survivalkit/partials/html5/article.haml +2 -2
  73. data/templates/project/templates/old/survivalkit/partials/html5/aside.haml +2 -2
  74. data/templates/project/templates/old/survivalkit/partials/html5/b.haml +2 -2
  75. data/templates/project/templates/old/survivalkit/partials/html5/bdi.haml +2 -2
  76. data/templates/project/templates/old/survivalkit/partials/html5/blockquote.haml +2 -2
  77. data/templates/project/templates/old/survivalkit/partials/html5/cite.haml +2 -2
  78. data/templates/project/templates/old/survivalkit/partials/html5/code.haml +3 -3
  79. data/templates/project/templates/old/survivalkit/partials/html5/details.haml +2 -2
  80. data/templates/project/templates/old/survivalkit/partials/html5/dfn.haml +2 -2
  81. data/templates/project/templates/old/survivalkit/partials/html5/dl.haml +2 -2
  82. data/templates/project/templates/old/survivalkit/partials/html5/em.haml +2 -2
  83. data/templates/project/templates/old/survivalkit/partials/html5/fieldset.haml +2 -2
  84. data/templates/project/templates/old/survivalkit/partials/html5/figure.haml +2 -2
  85. data/templates/project/templates/old/survivalkit/partials/html5/footer.haml +2 -2
  86. data/templates/project/templates/old/survivalkit/partials/html5/header.haml +2 -2
  87. data/templates/project/templates/old/survivalkit/partials/html5/hgroup.haml +2 -2
  88. data/templates/project/templates/old/survivalkit/partials/html5/hr.haml +2 -2
  89. data/templates/project/templates/old/survivalkit/partials/html5/i.haml +2 -2
  90. data/templates/project/templates/old/survivalkit/partials/html5/kbd.haml +2 -2
  91. data/templates/project/templates/old/survivalkit/partials/html5/label.haml +2 -2
  92. data/templates/project/templates/old/survivalkit/partials/html5/li.haml +2 -2
  93. data/templates/project/templates/old/survivalkit/partials/html5/mark.haml +2 -2
  94. data/templates/project/templates/old/survivalkit/partials/html5/menu.haml +2 -2
  95. data/templates/project/templates/old/survivalkit/partials/html5/nav.haml +2 -2
  96. data/templates/project/templates/old/survivalkit/partials/html5/ol.haml +2 -2
  97. data/templates/project/templates/old/survivalkit/partials/html5/p.haml +2 -2
  98. data/templates/project/templates/old/survivalkit/partials/html5/pre.haml +11 -11
  99. data/templates/project/templates/old/survivalkit/partials/html5/q.haml +2 -2
  100. data/templates/project/templates/old/survivalkit/partials/html5/ruby.haml +2 -2
  101. data/templates/project/templates/old/survivalkit/partials/html5/s.haml +2 -2
  102. data/templates/project/templates/old/survivalkit/partials/html5/samp.haml +2 -2
  103. data/templates/project/templates/old/survivalkit/partials/html5/sample-forms.haml +2 -2
  104. data/templates/project/templates/old/survivalkit/partials/html5/sample-tables.haml +2 -2
  105. data/templates/project/templates/old/survivalkit/partials/html5/section.haml +2 -2
  106. data/templates/project/templates/old/survivalkit/partials/html5/small.haml +2 -2
  107. data/templates/project/templates/old/survivalkit/partials/html5/strong.haml +2 -2
  108. data/templates/project/templates/old/survivalkit/partials/html5/sub-sup.haml +2 -2
  109. data/templates/project/templates/old/survivalkit/partials/html5/table.haml +2 -2
  110. data/templates/project/templates/old/survivalkit/partials/html5/text-summary.haml +2 -2
  111. data/templates/project/templates/old/survivalkit/partials/html5/thead.haml +2 -2
  112. data/templates/project/templates/old/survivalkit/partials/html5/time.haml +2 -2
  113. data/templates/project/templates/old/survivalkit/partials/html5/ul.haml +2 -2
  114. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/block.haml +2 -2
  115. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/breadcrumbs.haml +2 -2
  116. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/comments.haml +2 -2
  117. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/field-image.haml +2 -2
  118. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/form-comment.haml +2 -2
  119. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/form-login.haml +2 -2
  120. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/form-new-account.haml +2 -2
  121. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/form-new-password.haml +2 -2
  122. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/links.haml +2 -2
  123. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/menu.haml +2 -2
  124. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/messages.haml +2 -2
  125. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/node.haml +2 -2
  126. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/pager.haml +2 -2
  127. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/rss-link.haml +1 -1
  128. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/search.haml +2 -2
  129. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/site-name.haml +2 -2
  130. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/tabs.haml +2 -2
  131. data/templates/project/templates/old/survivalkit/partials/patterns-drupal/taxonomy.haml +2 -2
  132. data/templates/project/templates/old/survivalkit/partials/patterns-general/block.haml +2 -2
  133. data/templates/project/templates/old/survivalkit/partials/patterns-general/breadcrumbs.haml +2 -2
  134. data/templates/project/templates/old/survivalkit/partials/patterns-general/comments.haml +2 -2
  135. data/templates/project/templates/old/survivalkit/partials/patterns-general/field-image.haml +2 -2
  136. data/templates/project/templates/old/survivalkit/partials/patterns-general/form-comment.haml +2 -2
  137. data/templates/project/templates/old/survivalkit/partials/patterns-general/form-login.haml +2 -2
  138. data/templates/project/templates/old/survivalkit/partials/patterns-general/form-new-account.haml +2 -2
  139. data/templates/project/templates/old/survivalkit/partials/patterns-general/form-new-password.haml +2 -2
  140. data/templates/project/templates/old/survivalkit/partials/patterns-general/links.haml +2 -2
  141. data/templates/project/templates/old/survivalkit/partials/patterns-general/menu.haml +2 -2
  142. data/templates/project/templates/old/survivalkit/partials/patterns-general/messages.haml +2 -2
  143. data/templates/project/templates/old/survivalkit/partials/patterns-general/node.haml +2 -2
  144. data/templates/project/templates/old/survivalkit/partials/patterns-general/pager.haml +2 -2
  145. data/templates/project/templates/old/survivalkit/partials/patterns-general/rss-link.haml +1 -1
  146. data/templates/project/templates/old/survivalkit/partials/patterns-general/search.haml +2 -2
  147. data/templates/project/templates/old/survivalkit/partials/patterns-general/site-name.haml +2 -2
  148. data/templates/project/templates/old/survivalkit/partials/patterns-general/tabs.haml +2 -2
  149. data/templates/project/templates/old/survivalkit/partials/patterns-general/taxonomy.haml +2 -2
  150. metadata +25 -31
  151. data/stylesheets/survivalkit/reset/_normalize.sass +0 -342
  152. data/templates/project/partials/01-variables/_grids-all.sass +0 -11
  153. data/templates/project/partials/04-defaults/markup/_grouping.sass +0 -52
  154. data/templates/project/partials/05-grids/_grids-blueprint.sass +0 -20
  155. data/templates/project/partials/08-layout-design/_layout.sass +0 -8
  156. data/templates/project/partials/09-styletile/_tile-layout.sass +0 -80
  157. data/templates/project/partials/10-responsive/_mixins.sass +0 -27
  158. data/templates/project/partials/10-responsive/_responsive-blueprint.sass +0 -139
  159. data/templates/project/partials/10-responsive/_responsive-susy.sass +0 -112
@@ -4,10 +4,10 @@ small
4
4
  s
5
5
 
6
6
  cite
7
- @extend .italic
7
+ @extend %italic
8
8
 
9
9
  q
10
- @extend .italic
10
+ @extend %italic
11
11
  quotes: "“" "”"
12
12
  &:before
13
13
  content: open-quote
@@ -15,8 +15,8 @@ q
15
15
  content: close-quote
16
16
 
17
17
  dfn
18
- @extend .bold
19
- @extend .italic
18
+ @extend %bold
19
+ @extend %italic
20
20
 
21
21
  abbr, acronym
22
22
  border-bottom: 1px dotted
@@ -25,17 +25,17 @@ abbr, acronym
25
25
  time
26
26
 
27
27
  code
28
- @extend .mono
28
+ @extend %mono
29
29
 
30
30
  var
31
31
 
32
32
  samp
33
33
 
34
34
  kbd
35
- @extend .mono
35
+ @extend %mono
36
36
 
37
37
  tt
38
- @extend .mono
38
+ @extend %mono
39
39
 
40
40
  sup, sub
41
41
  font-size: 75%
@@ -50,10 +50,10 @@ sub
50
50
  bottom: -0.25em
51
51
 
52
52
  i
53
- @extend .italic
53
+ @extend %italic
54
54
 
55
55
  b
56
- @extend .bold
56
+ @extend %bold
57
57
 
58
58
  u
59
59
 
@@ -2,7 +2,7 @@
2
2
  /* tables still need 'cellspacing="0"' in the markup
3
3
 
4
4
  table
5
- @extend .constrain-to-parent
5
+ @extend %constrain-to-parent
6
6
  // +trailer
7
7
  // width: 100%
8
8
 
@@ -21,8 +21,8 @@ label
21
21
  font-weight: bold
22
22
  margin-right: 0.5em
23
23
 
24
- .textinput
25
- @extend .constrain-to-parent
24
+ %textinput
25
+ @extend %constrain-to-parent
26
26
  +adjust-font-size-to($base-font-size, 1)
27
27
  +rhythm-borders(1px, 0.25, $base-font-size)
28
28
  border-width: 1px
@@ -33,14 +33,14 @@ label
33
33
  height: $base-line-height / $base-font-size * 1.5em
34
34
 
35
35
  textarea
36
- @extend .textinput
36
+ @extend %textinput
37
37
  height: $base-line-height / $base-font-size * 6.5
38
38
 
39
39
  input
40
40
  &[type=text], &[type=password], &[type=email], &[type=url], &[type=tel],
41
41
  &[type=date], &[type=datetime], &[type=datetime-local], &[type=month], &[type=week], &[type=time],
42
42
  &[type=number], &[type=range], &[type=search], &[type=color]
43
- @extend .textinput
43
+ @extend %textinput
44
44
  // reset webkit search styles
45
45
  &[type=search]
46
46
  -webkit-appearance: none
@@ -56,4 +56,4 @@ input
56
56
  margin-right: 0.25em
57
57
 
58
58
  textarea, input:not([type="radio"])
59
- @extend .constrain-to-parent
59
+ @extend %constrain-to-parent
@@ -5,9 +5,6 @@
5
5
  // Site: susy.oddbird.net
6
6
  //**
7
7
 
8
- // Font Sizes --------------------------------------------------------------
9
- $base-font-size: 14px !default
10
- $base-line-height: $kit-baseline
11
8
  // Grid Variables --------------------------------------------------------------
12
9
  $total-cols: $kit-total-cols
13
10
  $col-width: $kit-col-width
@@ -21,19 +18,12 @@ $side-gutter-width: $kit-side-gutter-width
21
18
 
22
19
  /* DEFINE THE GRID CONTAINER --------------------------------------------------------------
23
20
  // BUILD THE GRID FOR YOUR SITE
24
- // HELPER CLASSES INTENDED FOR USE IN @EXTEND
25
- .container
26
- +container
27
- // uncomment to show grid background
28
- // @if $show-grid == true
29
- // +susy-grid-background
30
21
 
31
22
  // BUILD THE GRID BY CALLING SUSY MIXINS ON DOM ELEMENTS
32
23
  // example:
33
24
  body
34
25
  #container
35
- @extend .container
36
- >
37
- header, #main, footer
38
- +full
26
+ +container
27
+ @if $show-grid == true
28
+ +susy-grid-background
39
29
 
@@ -1,8 +1,6 @@
1
1
  // Create the design for your site below
2
2
  /* SITE-WIDE DESIGN --------------------------------------------------------------
3
3
 
4
-
5
-
6
4
  header
7
5
  +pie-clearfix
8
6
  +trailer
@@ -16,10 +14,11 @@ header
16
14
  +pie-clearfix
17
15
  +trailer(2)
18
16
 
19
- h5.label
17
+ .label
20
18
  color: $gray
21
19
  +adjust-font-size-to(ms(0))
22
20
  text-transform: uppercase
21
+ font-family: $font-sans
23
22
 
24
23
  .colors
25
24
  ul
@@ -33,7 +32,7 @@ h5.label
33
32
  li
34
33
  position: relative
35
34
  overflow: visible
36
- +scatter($child: img)
35
+ // +scatter($child: img)
37
36
  &:after
38
37
  position: relative
39
38
  top: 102%
@@ -59,6 +58,21 @@ header
59
58
  .styletile-1
60
59
  // color: $color-tile1-6
61
60
  .text-examples
61
+ .logos
62
+ counter-reset: logos
63
+ h1
64
+ counter-increment: logos
65
+ &:before
66
+ @extend .label
67
+ display: block
68
+ font-weight: normal
69
+ line-height: 1
70
+ &.opt-1
71
+ // font-family:
72
+ // font-weight:
73
+ // color:
74
+ &:before
75
+ content: counter(logos) " - #{$font-sans}"
62
76
  .headers
63
77
  h1
64
78
  // font-family:
@@ -71,6 +85,8 @@ header
71
85
  a
72
86
  .serif
73
87
  font-family: $font-serifs
88
+ .label:after
89
+ content: " - #{$font-serifs}"
74
90
  p
75
91
  //
76
92
  .quotes
@@ -83,6 +99,8 @@ header
83
99
  //
84
100
  .sans
85
101
  font-family: $font-sans
102
+ .label:after
103
+ content: " - #{$font-sans}"
86
104
  p
87
105
  //
88
106
 
@@ -133,6 +151,3 @@ header
133
151
  //
134
152
  &.image-6
135
153
  //
136
-
137
-
138
-
@@ -8,7 +8,7 @@
8
8
  @media print
9
9
  *
10
10
  background: transparent !important
11
- color: black !important
11
+ color: $black !important
12
12
  text-shadow: none !important
13
13
  filter: none !important
14
14
  -ms-filter: none !important
@@ -5,4 +5,4 @@
5
5
 
6
6
  // work on your styles in the same directories as your other files
7
7
 
8
- @import partials/12-browser-adjustments/selectivizr
8
+ @import partials/11-browser-adjustments/selectivizr
@@ -84,7 +84,6 @@
84
84
 
85
85
 
86
86
  // ✔ 4. CHOOSE A GRID SYSTEM
87
- // @import partials/05-grids/grids-blueprint.sass
88
87
  // Susy: Install the Susy Gem (https://rubygems.org/gems/compass-susy-plugin)
89
88
  // and uncomment the Susy line in /config.rb (# require 'susy')
90
89
  // @import partials/05-grids/grids-susy.sass
@@ -92,7 +91,7 @@
92
91
 
93
92
  // ✔ 5. STYLE COMMON UI PATTERNS / DRUPAL UI PATTERNS
94
93
  // @import partials/06-ui-patterns/common
95
- // @import partials/06-ui-patterns/drupal/ui-patterns
94
+ // @import partials/06-ui-patterns/drupal-patterns
96
95
 
97
96
 
98
97
  // ✔ 6. PROCESS SPRITES WITH COMPASS
@@ -104,28 +103,23 @@
104
103
  // ✔ 7. YOUR CUSTOM LAYOUT AND DESIGN SASS
105
104
  // THIS IS WHERE MOST CUSTOM WORK WILL GO
106
105
  // -- PRIMARY DESIGN --
107
- @import partials/08-layout-design/layout
108
- @import partials/08-layout-design/design
106
+ @import partials/08-your-design-here/design
109
107
  // ------ OR ------
110
108
  // -- STYLE TILE DESIGN --
111
109
  // enable these partials for styletile layout and design
112
110
  // work with styletile.html
113
111
  // see: http://badassideas.com/style-tiles-as-a-web-design-process-tool/
114
- // @import partials/08-styletile/tile-layout
115
- // @import partials/08-styletile/tile-design
112
+ // (requires susy)
113
+ @import survivalkit/style-tile/all
114
+ @import partials/09-styletile/tile-design
116
115
  // --------------------------------------------------------------------------------------
117
116
 
118
117
 
119
- // ✔ 8. CHOOSE A RESPONSIVE STARTER
120
- // @import partials/10-responsive/responsive-blueprint
121
- // @import partials/10-responsive/responsive-susy
122
-
123
-
124
118
  // ✔ 9. ENABLE PRINT STYLES
125
- // @import partials/11-media/print
119
+ // @import partials/10-media/print
126
120
 
127
121
 
128
122
  // ✔ 10 ADJUST FOR LESSER/GREATER SYSTEMS
129
- // @import partials/12-browser_adjustments/modernizr
123
+ // @import partials/11-browser_adjustments/modernizr
130
124
  // IE STYLES - aren't needed by other browsers, so compile them as a separate file and load via conditionals
131
125
  // SELECTIVIZR is nice, but the fallback css should really be compiled to a separate file
@@ -1,8 +1,8 @@
1
- %article#abbr.element
1
+ %div#abbr.element
2
2
  %h2.element-title abbr
3
3
  .markup
4
4
  %p
5
5
  Abbreviation / a shortened form of a word or phrase.
6
6
  %br
7
7
  Sample:
8
- %abbr{:title => "doctor"} dr
8
+ %abbr{:title => "doctor"} dr
@@ -1,8 +1,8 @@
1
- %article#acronym.element
1
+ %div#acronym.element
2
2
  %h2.element-title acronym
3
3
  .markup
4
4
  %p
5
5
  Acronym / a word formed from the initial letters of other words.
6
6
  %br
7
7
  Sample acronyms:
8
- %acronym{:title => "eXtensible HyperText Markup Language"} XHTML
8
+ %acronym{:title => "eXtensible HyperText Markup Language"} XHTML
@@ -1,4 +1,4 @@
1
- %article#characters.element
1
+ %div#characters.element
2
2
  %h2.element-title Characters
3
3
  .markup
4
4
  %p 0 1 2 3 4 5 6 7 8 9
@@ -8,4 +8,4 @@
8
8
  %h3 UTF-8 test
9
9
  %p Ä, ä, Ö, ö, Ü, ü, ß
10
10
  %p Š Ť Ž Ľ Č Ě Ď Ň Ř Ů Ĺ
11
- %p ХЦЧШЩЬЫЪЭЮЯ
11
+ %p ХЦЧШЩЬЫЪЭЮЯ
@@ -1,4 +1,4 @@
1
- %article#cite.element
1
+ %div#cite.element
2
2
  %h2.element-title cite
3
3
  .markup
4
4
  %p
@@ -9,4 +9,4 @@
9
9
  element to define source of a quotation or reference.
10
10
  %br
11
11
  Sample:
12
- %cite This is quotation source
12
+ %cite This is quotation source
@@ -1,8 +1,8 @@
1
- %article#code.element
1
+ %div#code.element
2
2
  %h2.element-title code
3
3
  .markup
4
4
  %p
5
5
  This element informs the browser that it contains a computer code, such as XHTML markup.
6
6
  %br
7
7
  Sample:
8
- %code document.write("Hello world");
8
+ %code document.write("Hello world");
@@ -1,8 +1,8 @@
1
- %article#dfn.element
1
+ %div#dfn.element
2
2
  %h2.element-title dfn
3
3
  .markup
4
4
  %p
5
5
  Element used to markup inline definition of a single term.
6
6
  %br
7
7
  Sample:
8
- %dfn This is definition
8
+ %dfn This is definition
@@ -1,10 +1,10 @@
1
- %article#em.element
1
+ %div#em.element
2
2
  %h2.element-title em
3
3
  .markup
4
4
  %p
5
- Element used to
5
+ Element used to
6
6
  %em put emphasis on certain information
7
7
  Most browsers display emphases text in italics by default.
8
8
  %br
9
9
  Sample:
10
- %em This is emphasized text
10
+ %em This is emphasized text
@@ -1,4 +1,4 @@
1
- %article#forms.element
1
+ %div#forms.element
2
2
  %h2.element-title Forms
3
3
  .markup
4
4
  %form#form{"accept-charset" => "UTF-8", :action => "/action", :method => "post"}
@@ -24,4 +24,4 @@
24
24
  %label label for Filefield
25
25
  %input{:name => "files", :size => "50", :type => "file"}/
26
26
  %div
27
- %input{:name => "button", :type => "button", :value => "Button"}/
27
+ %input{:name => "button", :type => "button", :value => "Button"}/
@@ -1,4 +1,4 @@
1
- %article#headers.element
1
+ %div#headers.element
2
2
  %h2.element-title Headers
3
3
  .markup
4
4
  %h1 Header 1
@@ -20,4 +20,4 @@
20
20
  %h5 Header 5
21
21
  %p "The unforeseen does not exist," quietly replied Phileas Fogg.
22
22
  %h6 Header 6
23
- %p Another man now joined the group, and, after making his formal greetings to his ruler, said:
23
+ %p Another man now joined the group, and, after making his formal greetings to his ruler, said:
@@ -1,4 +1,4 @@
1
- %article#inline-images.element
1
+ %div#inline-images.element
2
2
  %h2.element-title Inline Images
3
3
  .markup
4
4
  %p
@@ -6,4 +6,4 @@
6
6
  Who would think, then, that such fine ladies and gentlemen should regale themselves with an essence found in the inglorious bowels of a sick whale! Yet so it is. By some, ambergris is supposed to be the cause, and by others the effect, of the dyspepsia in the whale. How to cure such a dyspepsia it were hard to say, unless by administering three or four boat loads of Brandreth's pills, and then running out of harm's way, as laborers do in blasting rocks.
7
7
  %p
8
8
  %img.right{:alt => "image floated right", :src => "http://dummyimage.com/240x320/000/fff&text=Right+Image"}>/
9
- I have forgotten to say that there were found in this ambergris, certain hard, round, bony plates, which at first Stubb thought might be sailors' trowsers buttons; but it afterwards turned out that they were nothing more than pieces of small squid bones embalmed in that manner.
9
+ I have forgotten to say that there were found in this ambergris, certain hard, round, bony plates, which at first Stubb thought might be sailors' trowsers buttons; but it afterwards turned out that they were nothing more than pieces of small squid bones embalmed in that manner.
@@ -1,4 +1,4 @@
1
- %article#kbd.element
1
+ %div#kbd.element
2
2
  %h2.element-title kbd
3
3
  .markup
4
4
  %p
@@ -7,4 +7,4 @@
7
7
  Sample: press
8
8
  %kbd Alt + F4
9
9
  to close this window.
10
- %kbd ESC
10
+ %kbd ESC
@@ -1,4 +1,4 @@
1
- %article#links.element
1
+ %div#links.element
2
2
  %h2.element-title Links
3
3
  .markup
4
4
  %a{:href => "#"} Local link
@@ -7,4 +7,4 @@
7
7
  %br
8
8
  %a{:href => "https://www.google.com"} External link with encrypted connection
9
9
  %br
10
- %a{:href => "mailto:test@kiwi-themes.com"} E-mail link
10
+ %a{:href => "mailto:test@kiwi-themes.com"} E-mail link
@@ -1,4 +1,4 @@
1
- %article#lists.element
1
+ %div#lists.element
2
2
  %h2.element-title Lists
3
3
  .markup
4
4
  %h3 Unordered List
@@ -52,4 +52,4 @@
52
52
  %li Thirteen, fourteen, maids a’courting
53
53
  %li Fifteen, sixteen, maids in the kitchen
54
54
  %li Seventeen, eighteen, maids a’waiting
55
- %li Nineteen, twenty, my platter’s empty …
55
+ %li Nineteen, twenty, my platter’s empty …
@@ -1,4 +1,4 @@
1
- %article#others.element
1
+ %div#others.element
2
2
  %h2.element-title Other Elements
3
3
  .markup
4
4
  %h3 Subscript and superscript samples
@@ -32,4 +32,4 @@
32
32
  %small Small
33
33
  %br
34
34
  Horizontal rule:
35
- %hr
35
+ %hr
@@ -1,4 +1,4 @@
1
- %article#paragraphs.element
1
+ %div#paragraphs.element
2
2
  %h2.element-title Paragraphs
3
3
  .markup
4
4
  %p
@@ -12,4 +12,4 @@
12
12
  = succeed "." do
13
13
  %a{:href => ""} dazzlingly confounds
14
14
  'Tis iron—that I know—not gold. 'Tis split, too—that I feel; the jagged edge galls me so, my brain seems to beat against the solid metal; aye, steel skull, mine; the sort that needs no helmet in the most brain-battering fight!
15
- %p Dry heat upon my brow? Oh! time was, when as the sunrise nobly spurred me, so the sunset soothed. No more. This lovely light, it lights not me; all loveliness is anguish to me, since I can ne'er enjoy. Gifted with the high perception, I lack the low, enjoying power; damned, most subtly and most malignantly! damned in the midst of Paradise! Good night—good night! (WAVING HIS HAND, HE MOVES FROM THE WINDOW.)
15
+ %p Dry heat upon my brow? Oh! time was, when as the sunrise nobly spurred me, so the sunset soothed. No more. This lovely light, it lights not me; all loveliness is anguish to me, since I can ne'er enjoy. Gifted with the high perception, I lack the low, enjoying power; damned, most subtly and most malignantly! damned in the midst of Paradise! Good night—good night! (WAVING HIS HAND, HE MOVES FROM THE WINDOW.)
@@ -1,4 +1,4 @@
1
- %article#pre.element
1
+ %div#pre.element
2
2
  %h2.element-title
3
3
  %a{:href => "http://developers.whatwg.org/grouping-content.html#the-pre-element"} pre
4
4
  .markup
@@ -16,12 +16,12 @@
16
16
  } .markup
17
17
  %pre
18
18
  :preserve
19
- ,, ,, ,,
20
- .M"""bgd db `7MM `7MMF' `YMM' db mm
21
- ,MI "Y MM MM .M' MM
22
- `MMb. `7MM `7MM `7Mb,od8 `7M' `MF'`7MM `7M' `MF',6"Yb. MM MM .d" `7MM mmMMmm
23
- `YMMNq. MM MM MM' "' VA ,V MM VA ,V 8) MM MM MMMMM. MM MM
24
- . `MM MM MM MM VA ,V MM VA ,V ,pm9MM MM MM VMA MM MM
25
- Mb dM MM MM MM VVV MM VVV 8M MM MM MM `MM. MM MM
19
+ ,, ,, ,,
20
+ .M"""bgd db `7MM `7MMF' `YMM' db mm
21
+ ,MI "Y MM MM .M' MM
22
+ `MMb. `7MM `7MM `7Mb,od8 `7M' `MF'`7MM `7M' `MF',6"Yb. MM MM .d" `7MM mmMMmm
23
+ `YMMNq. MM MM MM' "' VA ,V MM VA ,V 8) MM MM MMMMM. MM MM
24
+ . `MM MM MM MM VA ,V MM VA ,V ,pm9MM MM MM VMA MM MM
25
+ Mb dM MM MM MM VVV MM VVV 8M MM MM MM `MM. MM MM
26
26
  P"Ybmmd" `Mbod"YML..JMML. W .JMML. W `Moo9^Yo..JMML. .JMML. MMb..JMML. `Mbmo
27
-
27
+
@@ -1,8 +1,8 @@
1
- %article#q.element
1
+ %div#q.element
2
2
  %h2.element-title q
3
3
  .markup
4
4
  %p
5
5
  Inline quotation.
6
6
  %br
7
7
  Sample:
8
- %q This is sample quotation
8
+ %q This is sample quotation
@@ -1,8 +1,8 @@
1
- %article#samp.element
1
+ %div#samp.element
2
2
  %h2.element-title samp
3
3
  .markup
4
4
  %p
5
5
  Defines computer output data, for example we can use it to markup error messages.
6
6
  %br
7
7
  Sample:
8
- %samp Error: no such file or directory
8
+ %samp Error: no such file or directory
@@ -1,8 +1,8 @@
1
- %article#strong.element
1
+ %div#strong.element
2
2
  %h2.element-title strong
3
3
  .markup
4
4
  %p
5
5
  This element stands for "stronger emphasis" and is used for marking more important text.
6
6
  %br
7
7
  Sample:
8
- %strong This is text with stronger emphasis
8
+ %strong This is text with stronger emphasis
@@ -1,4 +1,4 @@
1
- %article#tables.element
1
+ %div#tables.element
2
2
  %h2.element-title Tables
3
3
  .markup
4
4
  %table
@@ -40,4 +40,4 @@
40
40
  %td Id Neque
41
41
  %td 600.000
42
42
  %td Etiam sodales orci nec
43
- %td No
43
+ %td No
@@ -1,8 +1,8 @@
1
- %article#var.element
1
+ %div#var.element
2
2
  %h2.element-title var
3
3
  .markup
4
4
  %p
5
5
  Means variables used in computer programs or scripts.
6
6
  %br
7
7
  Sample:
8
- %var counter
8
+ %var counter
@@ -1,4 +1,4 @@
1
- %article#a.element
1
+ %div#a.element
2
2
  %h2.element-title
3
3
  %a{:href => "http://developers.whatwg.org/text-level-semantics.html#the-a-element"} a
4
4
  .markup
@@ -33,4 +33,4 @@
33
33
  %section
34
34
  %h1 The Mellblom Browser
35
35
  %p Web browsing at the speed of light.
36
- %p No other browser goes faster!
36
+ %p No other browser goes faster!
@@ -1,4 +1,4 @@
1
- %article#abbr.element
1
+ %div#abbr.element
2
2
  %h2.element-title
3
3
  %a{:href => "http://developers.whatwg.org/text-level-semantics.html#the-abbr-element"} abbr
4
4
  %p
@@ -23,4 +23,4 @@
23
23
  is a loose unofficial collaboration of Web browser manufacturers and
24
24
  interested parties who wish to develop new technologies designed to
25
25
  allow authors to write and deploy Applications over the World Wide
26
- Web.
26
+ Web.
@@ -1,4 +1,4 @@
1
- %article#address.element
1
+ %div#address.element
2
2
  %h2.element-title
3
3
  %a{:href => "http://developers.whatwg.org/sections.html#the-address-element"} Address
4
4
  %p
@@ -24,4 +24,4 @@
24
24
  = succeed "," do
25
25
  %a{:href => ""} Arnaud Le Hors
26
26
  contact persons for the
27
- %a{:href => ""} W3C HTML Activity
27
+ %a{:href => ""} W3C HTML Activity
@@ -1,4 +1,4 @@
1
- %article#all-headings.element
1
+ %div#all-headings.element
2
2
  %h2.element-title
3
3
  %a{:href => "http://developers.whatwg.org/sections.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements"} The h1, h2, h3, h4, h5, and h6 elements
4
4
  %p
@@ -28,4 +28,4 @@
28
28
  %section
29
29
  %h1 Canvas coordinates diagram
30
30
  %section
31
- %h1 Paths
31
+ %h1 Paths
@@ -1,4 +1,4 @@
1
- %article#article.element
1
+ %div#article.element
2
2
  %h2.element-title
3
3
  %a{:href => "http://developers.whatwg.org/sections.html#the-article-element"} Article
4
4
  %p
@@ -19,4 +19,4 @@
19
19
  sending whatever you're saying to the world. Seriously.
20
20
  %p …
21
21
  %footer
22
- %a{:href => "?comments=1"} Show comments...
22
+ %a{:href => "?comments=1"} Show comments...
@@ -1,4 +1,4 @@
1
- %article#aside.element
1
+ %div#aside.element
2
2
  %h2.element-title
3
3
  %a{:href => "http://developers.whatwg.org/sections.html#the-aside-element"} Aside
4
4
  %p
@@ -17,4 +17,4 @@
17
17
  %p
18
18
  Switzerland, a land-locked country in the middle of geographic
19
19
  Europe, has not joined the geopolitical European Union, though it is
20
- a signatory to a number of European treaties.
20
+ a signatory to a number of European treaties.