staple 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (141) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +8 -0
  3. data/Gemfile +13 -0
  4. data/LICENSE.md +23 -0
  5. data/README.md +51 -0
  6. data/Rakefile +0 -0
  7. data/config.rb +24 -0
  8. data/lib/snippet_helpers.rb +69 -0
  9. data/lib/staple/import_generator.rb +50 -0
  10. data/lib/staple/list_generator.rb +22 -0
  11. data/lib/staple.rb +2 -0
  12. data/source/CNAME +1 -0
  13. data/source/_accordion.html.erb +24 -0
  14. data/source/_accordion_tabs.html.erb +26 -0
  15. data/source/_accordion_tabs_minimal.html.erb +26 -0
  16. data/source/_badges.html.erb +7 -0
  17. data/source/_breadcrumbs.html.erb +7 -0
  18. data/source/_browser.html.erb +29 -0
  19. data/source/_button_group.html.erb +18 -0
  20. data/source/_cards.html.erb +59 -0
  21. data/source/_centered_navigation.html.erb +38 -0
  22. data/source/_code.html.erb +10 -0
  23. data/source/_comment.html.erb +21 -0
  24. data/source/_device.html.erb +10 -0
  25. data/source/_dropdown.html.erb +12 -0
  26. data/source/_expander.html.erb +6 -0
  27. data/source/_flashes.html.erb +15 -0
  28. data/source/_footer.html.erb +28 -0
  29. data/source/_footer_2.html.erb +33 -0
  30. data/source/_grid_items.html.erb +37 -0
  31. data/source/_grid_items_lines.html.erb +44 -0
  32. data/source/_hero.html.erb +11 -0
  33. data/source/_hover_tile_animation.html.erb +11 -0
  34. data/source/_icon_bullet_points.html.erb +30 -0
  35. data/source/_image_gradient_dynamic.html.erb +7 -0
  36. data/source/_intro_text.html.erb +6 -0
  37. data/source/_label_alerts.html.erb +5 -0
  38. data/source/_modal.html.erb +14 -0
  39. data/source/_navigation.html.erb +44 -0
  40. data/source/_pagination.html.erb +17 -0
  41. data/source/_progress_bar.html.erb +3 -0
  42. data/source/_progress_bar_indication.html.erb +5 -0
  43. data/source/_search_bar.html.erb +8 -0
  44. data/source/_search_tools.html.erb +58 -0
  45. data/source/_side_image.html.erb +10 -0
  46. data/source/_sliding_menu.html.erb +13 -0
  47. data/source/_snippet.html.erb +4 -0
  48. data/source/_switch.html.erb +4 -0
  49. data/source/_tables.html.erb +31 -0
  50. data/source/_tables_minimal.html.erb +31 -0
  51. data/source/_texture-legend.html.erb +24 -0
  52. data/source/_textures.html.erb +4 -0
  53. data/source/_tooltip.html.erb +6 -0
  54. data/source/_type_system_geometric.html.erb +18 -0
  55. data/source/_type_system_rounded.html.erb +18 -0
  56. data/source/_type_system_sans.html.erb +18 -0
  57. data/source/_type_system_serif.html.erb +19 -0
  58. data/source/_type_system_slab.html.erb +18 -0
  59. data/source/_type_system_traditional.html.erb +18 -0
  60. data/source/_vertical_tabs.html.erb +30 -0
  61. data/source/_video.html.erb +5 -0
  62. data/source/components.html.erb +174 -0
  63. data/source/index.html.erb +162 -0
  64. data/source/javascripts/all.js +11 -0
  65. data/source/javascripts/jquery.erToc.js +477 -0
  66. data/source/javascripts/jquery.glide.js +941 -0
  67. data/source/javascripts/staple/accordion.js +5 -0
  68. data/source/javascripts/staple/accordion_tabs.js +19 -0
  69. data/source/javascripts/staple/accordion_tabs_minimal.js +19 -0
  70. data/source/javascripts/staple/centered_navigation.js +14 -0
  71. data/source/javascripts/staple/dropdown.js +9 -0
  72. data/source/javascripts/staple/expander.js +53 -0
  73. data/source/javascripts/staple/navigation.js +23 -0
  74. data/source/javascripts/staple/search_tools.js +110 -0
  75. data/source/javascripts/staple/sliding_menu.js +13 -0
  76. data/source/javascripts/staple/vertical_tabs.js +32 -0
  77. data/source/layouts/layout.erb +1 -0
  78. data/source/refills-hero.html.erb +7 -0
  79. data/source/refills-menu.html.erb +5 -0
  80. data/source/refills-page-scripts.html.erb +66 -0
  81. data/source/stylesheets/_bourbon-nav.scss +86 -0
  82. data/source/stylesheets/_normalize.scss +425 -0
  83. data/source/stylesheets/_refills-nav.scss +102 -0
  84. data/source/stylesheets/_refills-styles.scss +543 -0
  85. data/source/stylesheets/all.scss +61 -0
  86. data/source/stylesheets/staple/_accordion-tabs-minimal.scss +60 -0
  87. data/source/stylesheets/staple/_accordion-tabs.scss +88 -0
  88. data/source/stylesheets/staple/_accordion.scss +55 -0
  89. data/source/stylesheets/staple/_badges.scss +44 -0
  90. data/source/stylesheets/staple/_breadcrumbs.scss +84 -0
  91. data/source/stylesheets/staple/_browser.scss +141 -0
  92. data/source/stylesheets/staple/_button-group.scss +81 -0
  93. data/source/stylesheets/staple/_cards.scss +132 -0
  94. data/source/stylesheets/staple/_centered-navigation.scss +251 -0
  95. data/source/stylesheets/staple/_comment.scss +60 -0
  96. data/source/stylesheets/staple/_device.scss +83 -0
  97. data/source/stylesheets/staple/_dropdown.scss +127 -0
  98. data/source/stylesheets/staple/_expander.scss +30 -0
  99. data/source/stylesheets/staple/_flashes.scss +29 -0
  100. data/source/stylesheets/staple/_footer-2.scss +117 -0
  101. data/source/stylesheets/staple/_footer.scss +76 -0
  102. data/source/stylesheets/staple/_grid-items-lines.scss +86 -0
  103. data/source/stylesheets/staple/_grid-items.scss +97 -0
  104. data/source/stylesheets/staple/_hero.scss +54 -0
  105. data/source/stylesheets/staple/_hover-tile-animation.scss +52 -0
  106. data/source/stylesheets/staple/_icon-bullet-points.scss +63 -0
  107. data/source/stylesheets/staple/_image-gradient-dynamic.scss +59 -0
  108. data/source/stylesheets/staple/_intro-text.scss +67 -0
  109. data/source/stylesheets/staple/_label-alerts.scss +11 -0
  110. data/source/stylesheets/staple/_modal.scss +147 -0
  111. data/source/stylesheets/staple/_navigation.scss +329 -0
  112. data/source/stylesheets/staple/_pagination.scss +51 -0
  113. data/source/stylesheets/staple/_progress-bar-indication.scss +39 -0
  114. data/source/stylesheets/staple/_progress-bar.scss +83 -0
  115. data/source/stylesheets/staple/_search-bar.scss +40 -0
  116. data/source/stylesheets/staple/_search-tools.scss +67 -0
  117. data/source/stylesheets/staple/_side-image.scss +59 -0
  118. data/source/stylesheets/staple/_sliding-menu.scss +63 -0
  119. data/source/stylesheets/staple/_switch.scss +77 -0
  120. data/source/stylesheets/staple/_tables-minimal.scss +60 -0
  121. data/source/stylesheets/staple/_tables.scss +88 -0
  122. data/source/stylesheets/staple/_texture-legend.scss +182 -0
  123. data/source/stylesheets/staple/_textures.scss +119 -0
  124. data/source/stylesheets/staple/_tooltip.scss +57 -0
  125. data/source/stylesheets/staple/_type-system-geometric.scss +103 -0
  126. data/source/stylesheets/staple/_type-system-rounded.scss +107 -0
  127. data/source/stylesheets/staple/_type-system-sans.scss +110 -0
  128. data/source/stylesheets/staple/_type-system-serif.scss +111 -0
  129. data/source/stylesheets/staple/_type-system-slab.scss +107 -0
  130. data/source/stylesheets/staple/_type-system-traditional.scss +114 -0
  131. data/source/stylesheets/staple/_vertical-tabs.scss +105 -0
  132. data/source/stylesheets/staple/_video.scss +21 -0
  133. data/source/type-systems.html.erb +67 -0
  134. data/source/vendor/javascripts/ZeroClipboard.min.js +9 -0
  135. data/source/vendor/javascripts/fixedsticky.js +185 -0
  136. data/source/vendor/javascripts/prism.js +13 -0
  137. data/source/vendor/javascripts/smooth-scroll.js +125 -0
  138. data/source/vendor/stylesheets/fixedsticky.css +22 -0
  139. data/source/vendor/stylesheets/prism.css +126 -0
  140. data/staple.gemspec +19 -0
  141. metadata +184 -0
@@ -0,0 +1,103 @@
1
+ article.type-system-geometric {
2
+ $sans-serif: 'Questrial', sans-serif;
3
+ $serif: 'Sanchez', serif;
4
+
5
+ @include clearfix;
6
+ text-align: left;
7
+
8
+ .type {
9
+ border-bottom: 1px solid;
10
+ display: inline-block;
11
+ font-family: $sans-serif;
12
+ font-size: .7em;
13
+ font-weight: 800;
14
+ margin-bottom: 2em;
15
+ padding: .3em 0;
16
+ text-align: left;
17
+ text-transform: uppercase;
18
+ }
19
+
20
+ h1 {
21
+ font-family: $serif;
22
+ font-size: 1.8em;
23
+ font-weight: 700;
24
+ margin-bottom: .5em;
25
+
26
+ @include media($medium-screen) {
27
+ font-size: 2.6em;
28
+ }
29
+ }
30
+
31
+ h2 {
32
+ font-family: $serif;
33
+ font-style: italic;
34
+ font-size: 1.2em;
35
+ font-weight: 400;
36
+ line-height: 1.4em;
37
+ margin-bottom: 1.1em;
38
+
39
+ @include media($medium-screen) {
40
+ font-size: 1.3em;
41
+ }
42
+ }
43
+
44
+ code {
45
+ white-space: nowrap;
46
+ background: #F7F7F7;
47
+ border: 1px solid #E0E0E0;
48
+ border-radius: $base-border-radius * 1.5;
49
+ padding: .1em .4em;
50
+ font-size: .7em;
51
+ font-style: normal;
52
+ }
53
+
54
+ h3 {
55
+ font-family: $serif;
56
+ font-size: 1.4em;
57
+ font-weight: 400;
58
+ line-height: 1.3em;
59
+ margin-bottom: .4em;
60
+ }
61
+
62
+ p.date {
63
+ color: transparentize($base-font-color, .6);
64
+ font-family: $serif;
65
+ font-style: italic;
66
+ font-size: .9em;
67
+ margin-bottom: .3em;
68
+ }
69
+
70
+ p {
71
+ font-family: $sans-serif;
72
+ line-height: 1.5em;
73
+ font-size: 1.05em;
74
+ margin-bottom: 1.5em;
75
+ }
76
+
77
+ a.read-more {
78
+ display: inline-block;
79
+ font-family: $sans-serif;
80
+ font-weight: 700;
81
+ font-size: .8em;
82
+ text-transform: uppercase;
83
+ margin-left: .2em;
84
+ position: relative;
85
+
86
+ span {
87
+ font-family: $sans-serif;
88
+ font-style: normal;
89
+ position: absolute;
90
+ font-size: 1.5em;
91
+ top: -1px;
92
+ right: -12px;
93
+ }
94
+ }
95
+
96
+ hr {
97
+ width: 3em;
98
+ }
99
+
100
+ p.author {
101
+ font-family: $sans-serif;
102
+ }
103
+ }
@@ -0,0 +1,107 @@
1
+ article.type-system-rounded {
2
+ $sans-serif: 'Nunito', sans-serif;
3
+ $sans-serif-2: 'Varela Round', sans-serif;
4
+
5
+ @include clearfix;
6
+ text-align: left;
7
+
8
+ .type {
9
+ border-bottom: 1px solid;
10
+ display: inline-block;
11
+ font-family: $sans-serif;
12
+ font-size: .7em;
13
+ font-weight: 800;
14
+ margin-bottom: 2em;
15
+ padding: .3em 0;
16
+ text-align: left;
17
+ text-transform: uppercase;
18
+ }
19
+
20
+ h1 {
21
+ font-family: $sans-serif-2;
22
+ font-size: 1.8em;
23
+ margin-bottom: .5em;
24
+
25
+ @include media($medium-screen) {
26
+ font-size: 2.4em;
27
+ }
28
+ }
29
+
30
+ h2 {
31
+ font-family: $sans-serif-2;
32
+ font-size: 1.2em;
33
+ font-weight: 400;
34
+ line-height: 1.4em;
35
+ margin-bottom: .9em;
36
+
37
+ @include media($medium-screen) {
38
+ font-size: 1.4em;
39
+ }
40
+ }
41
+
42
+ code {
43
+ white-space: nowrap;
44
+ font-family: monaco;
45
+ background: #F7F7F7;
46
+ border: 1px solid #E0E0E0;
47
+ border-radius: $base-border-radius * 1.5;
48
+ padding: .1em .4em;
49
+ font-size: .7em;
50
+ font-style: normal;
51
+ }
52
+
53
+
54
+ h3 {
55
+ font-family: $sans-serif-2;
56
+ font-size: 1.2em;
57
+ font-weight: 400;
58
+ line-height: 1.3em;
59
+ margin-bottom: .4em;
60
+ }
61
+
62
+ p.date {
63
+ color: transparentize($base-font-color, .6);
64
+ font-family: $sans-serif;
65
+ font-size: .9em;
66
+ margin-bottom: .3em;
67
+ }
68
+
69
+ p {
70
+ font-family: $sans-serif;
71
+ line-height: 1.4em;
72
+ font-size: 1.05em;
73
+ font-weight: 300;
74
+ margin-bottom: 1.5em;
75
+
76
+ span {
77
+ font-family: $sans-serif-2;
78
+ text-transform: uppercase;
79
+ font-size: 0.8em;
80
+ }
81
+ }
82
+
83
+ a.read-more {
84
+ display: inline-block;
85
+ font-family: $sans-serif-2;
86
+ font-weight: 700;
87
+ font-size: .8em;
88
+ text-transform: uppercase;
89
+ margin-left: .2em;
90
+ position: relative;
91
+
92
+ span {
93
+ position: absolute;
94
+ font-size: 1.5em;
95
+ top: -1px;
96
+ right: -12px;
97
+ }
98
+ }
99
+
100
+ hr {
101
+ width: 3em;
102
+ }
103
+
104
+ p.author {
105
+ font-family: $sans-serif;
106
+ }
107
+ }
@@ -0,0 +1,110 @@
1
+ article.type-system-sans {
2
+ $sans-serif: 'PT Sans', sans-serif;
3
+ $sans-serif-2: 'Titillium Web', sans-serif;
4
+
5
+ @include clearfix;
6
+ text-align: left;
7
+
8
+ .type {
9
+ border-bottom: 1px solid;
10
+ display: inline-block;
11
+ font-family: $sans-serif-2;
12
+ font-size: .7em;
13
+ font-weight: 900;
14
+ letter-spacing: 1px;
15
+ margin-bottom: 2em;
16
+ padding: .1em 0;
17
+ text-align: left;
18
+ text-transform: uppercase;
19
+ }
20
+
21
+ h1 {
22
+ font-family: $sans-serif-2;
23
+ font-size: 2em;
24
+ font-weight: 600;
25
+ margin-bottom: .6em;
26
+
27
+ @include media($medium-screen) {
28
+ font-size: 2.4em;
29
+ }
30
+ }
31
+
32
+ h2 {
33
+ font-family: $sans-serif;
34
+ font-size: 1.2em;
35
+ font-weight: 400;
36
+ line-height: 1.4em;
37
+ margin-bottom: 1.2em;
38
+
39
+ @include media($medium-screen) {
40
+ font-size: 1.4em;
41
+ }
42
+ }
43
+
44
+ code {
45
+ white-space: nowrap;
46
+ font-family: monaco;
47
+ background: #F7F7F7;
48
+ border: 1px solid #E0E0E0;
49
+ border-radius: $base-border-radius * 1.5;
50
+ padding: .1em .4em;
51
+ font-size: .65em;
52
+ font-style: normal;
53
+ }
54
+
55
+ h3 {
56
+ font-family: $sans-serif-2;
57
+ font-size: 1em;
58
+ font-weight: 700;
59
+ text-transform: uppercase;
60
+ line-height: 1.4em;
61
+ margin-bottom: .5em;
62
+ }
63
+
64
+ p.date {
65
+ color: transparentize($base-font-color, .6);
66
+ font-family: $sans-serif;
67
+ font-size: .8em;
68
+ margin-bottom: .5em;
69
+ }
70
+
71
+ p {
72
+ font-family: $sans-serif;
73
+ font-weight: 300;
74
+ letter-spacing: 1;
75
+ margin-bottom: 1.5em;
76
+
77
+ span {
78
+ font-family: $sans-serif;
79
+ font-weight: 600;
80
+ font-size: .8em;
81
+ text-transform: uppercase;
82
+ }
83
+ }
84
+
85
+ hr {
86
+ width: 3em;
87
+ }
88
+
89
+ a.read-more {
90
+ display: inline-block;
91
+ font-family: $sans-serif;
92
+ font-weight: 700;
93
+ font-size: .8em;
94
+ text-transform: uppercase;
95
+ margin-left: .2em;
96
+ position: relative;
97
+
98
+ span {
99
+ position: absolute;
100
+ font-size: 1.7em;
101
+ top: -2px;
102
+ right: -10px;
103
+ }
104
+ }
105
+
106
+ p.author {
107
+ font-family: $sans-serif;
108
+ font-style: italic;
109
+ }
110
+ }
@@ -0,0 +1,111 @@
1
+ article.type-system-serif {
2
+ $serif: 'Lusitana', serif;
3
+ $serif-2: 'Merriweather', serif;
4
+ $sans-serif: 'Merriweather Sans', sans-serif;
5
+
6
+ @include clearfix;
7
+ text-align: left;
8
+
9
+ .type {
10
+ border-bottom: 1px solid;
11
+ display: inline-block;
12
+ font-family: $sans-serif;
13
+ font-size: .7em;
14
+ font-weight: 700;
15
+ margin-bottom: 2em;
16
+ padding: .3em 0;
17
+ text-align: left;
18
+ text-transform: uppercase;
19
+ }
20
+
21
+ h1 {
22
+ font-family: $serif;
23
+ font-size: 2em;
24
+ font-weight: 700;
25
+ margin-bottom: .5em;
26
+
27
+ @include media($medium-screen) {
28
+ font-size: 2.6em;
29
+ }
30
+ }
31
+
32
+ h2 {
33
+ font-family: $serif-2;
34
+ font-style: italic;
35
+ font-size: 1em;
36
+ font-weight: 400;
37
+ line-height: 1.6em;
38
+ margin-bottom: .9em;
39
+
40
+ @include media($medium-screen) {
41
+ font-size: 1.2em;
42
+ }
43
+ }
44
+
45
+ code {
46
+ white-space: nowrap;
47
+ font-family: monaco;
48
+ background: #F7F7F7;
49
+ border: 1px solid #E0E0E0;
50
+ border-radius: $base-border-radius * 1.5;
51
+ padding: .1em .4em;
52
+ font-size: .75em;
53
+ font-style: normal;
54
+ }
55
+
56
+ h3 {
57
+ font-family: $serif;
58
+ font-size: 1.4em;
59
+ font-weight: 400;
60
+ line-height: 1.3em;
61
+ margin-bottom: .4em;
62
+ }
63
+
64
+ p.date {
65
+ color: transparentize($base-font-color, .6);
66
+ font-family: $serif-2;
67
+ font-style: italic;
68
+ font-size: .9em;
69
+ margin-bottom: .3em;
70
+ }
71
+
72
+ p {
73
+ font-family: $serif-2;
74
+ line-height: 1.6em;
75
+ font-size: .9em;
76
+ margin-bottom: 1.5em;
77
+
78
+ span {
79
+ font-family: $sans-serif;
80
+ font-weight: 700;
81
+ }
82
+ }
83
+
84
+ a.read-more {
85
+ display: inline-block;
86
+ font-family: $sans-serif;
87
+ font-weight: 700;
88
+ font-size: .8em;
89
+ text-transform: uppercase;
90
+ margin-left: .2em;
91
+ position: relative;
92
+
93
+ span {
94
+ font-family: $serif;
95
+ font-style: normal;
96
+ position: absolute;
97
+ font-size: 1.5em;
98
+ top: -1px;
99
+ right: -12px;
100
+ }
101
+ }
102
+
103
+ hr {
104
+ width: 3em;
105
+ }
106
+
107
+ p.author {
108
+ font-family: $serif-2;
109
+ font-style: italic;
110
+ }
111
+ }
@@ -0,0 +1,107 @@
1
+ article.type-system-slab {
2
+ $sans-serif: 'Open Sans', sans-serif;
3
+ $serif: 'Roboto Slab', serif;
4
+
5
+ @include clearfix;
6
+ text-align: left;
7
+
8
+ .type {
9
+ border-bottom: 1px solid;
10
+ display: inline-block;
11
+ font-family: $sans-serif;
12
+ font-size: .7em;
13
+ font-weight: 600;
14
+ margin-bottom: 2em;
15
+ padding: .1em 0;
16
+ text-align: left;
17
+ text-transform: uppercase;
18
+ }
19
+
20
+ h1 {
21
+ font-family: $serif;
22
+ font-size: 1.6em;
23
+ font-weight: 400;
24
+ margin-bottom: .6em;
25
+
26
+ @include media($medium-screen) {
27
+ font-size: 2.4em;
28
+ }
29
+ }
30
+
31
+ h2 {
32
+ font-family: $sans-serif;
33
+ font-size: 1.1em;
34
+ font-weight: 400;
35
+ line-height: 1.5em;
36
+ margin-bottom: 1.2em;
37
+
38
+ @include media($medium-screen) {
39
+ font-size: 1.3em;
40
+ }
41
+ }
42
+
43
+ code {
44
+ white-space: nowrap;
45
+ background: #F7F7F7;
46
+ border: 1px solid #E0E0E0;
47
+ border-radius: $base-border-radius * 1.5;
48
+ padding: .1em .4em;
49
+ font-size: .8em;
50
+ font-style: normal;
51
+ }
52
+
53
+ h3 {
54
+ font-family: $serif;
55
+ font-size: 1em;
56
+ font-weight: 600;
57
+ text-transform: uppercase;
58
+ line-height: 1.4em;
59
+ margin-bottom: .5em;
60
+ }
61
+
62
+ p.date {
63
+ color: transparentize($base-font-color, .6);
64
+ font-family: $serif;
65
+ font-size: .8em;
66
+ margin-bottom: .5em;
67
+ }
68
+
69
+ p {
70
+ font-family: $serif;
71
+ font-weight: 300;
72
+ letter-spacing: 1;
73
+ margin-bottom: 1.5em;
74
+
75
+ span {
76
+ font-family: $sans-serif;
77
+ font-weight: 600;
78
+ font-size: .8em;
79
+ text-transform: uppercase;
80
+ }
81
+ }
82
+
83
+ a.read-more {
84
+ display: inline-block;
85
+ font-family: $serif;
86
+ font-weight: 700;
87
+ font-size: .8em;
88
+ text-transform: uppercase;
89
+ margin-left: .2em;
90
+ position: relative;
91
+
92
+ span {
93
+ position: absolute;
94
+ font-size: 1.8em;
95
+ top: -2px;
96
+ right: -12px;
97
+ }
98
+ }
99
+
100
+ hr {
101
+ width: 3em;
102
+ }
103
+
104
+ p.author {
105
+ font-family: $serif;
106
+ }
107
+ }
@@ -0,0 +1,114 @@
1
+ article.type-system-traditional {
2
+ $sans-serif: 'Noto Sans', sans-serif;
3
+ $serif: 'Radley', serif;
4
+
5
+ @include clearfix;
6
+ text-align: left;
7
+
8
+ .type {
9
+ border-bottom: 2px solid;
10
+ display: inline-block;
11
+ font-family: $sans-serif;
12
+ font-size: .7em;
13
+ font-weight: 800;
14
+ margin-bottom: 2em;
15
+ padding: .1em 0;
16
+ text-align: left;
17
+ text-transform: uppercase;
18
+ }
19
+
20
+ h1 {
21
+ font-family: $serif;
22
+ font-size: 1.9em;
23
+ font-weight: 700;
24
+ margin-bottom: .3em;
25
+
26
+ @include media($medium-screen) {
27
+ font-size: 2.6em;
28
+ }
29
+ }
30
+
31
+ h2 {
32
+ font-family: $serif;
33
+ font-size: 1.3em;
34
+ font-weight: 400;
35
+ line-height: 1.25em;
36
+ margin-bottom: .9em;
37
+
38
+ @include media($medium-screen) {
39
+ font-size: 1.5em;
40
+ }
41
+ }
42
+
43
+ code {
44
+ white-space: nowrap;
45
+ background: #F7F7F7;
46
+ border: 1px solid #E0E0E0;
47
+ border-radius: $base-border-radius * 1.5;
48
+ padding: .1em .4em;
49
+ font-size: .75em;
50
+ font-style: normal;
51
+ }
52
+
53
+ h2 code {
54
+ font-size: .65em;
55
+ }
56
+
57
+ h3 {
58
+ font-family: $serif;
59
+ font-size: 1.4em;
60
+ font-style: italic;
61
+ font-weight: 400;
62
+ line-height: 1.3em;
63
+ margin-bottom: .4em;
64
+ }
65
+
66
+ p.date {
67
+ color: transparentize($base-font-color, .6);
68
+ font-family: $serif;
69
+ font-style: italic;
70
+ margin-bottom: .3em;
71
+ }
72
+
73
+ p {
74
+ font-family: $sans-serif;
75
+ letter-spacing: 1;
76
+ margin-bottom: 1.5em;
77
+ line-height: 1.55em;
78
+
79
+ span {
80
+ font-family: $serif;
81
+ font-size: 1.2em;
82
+ font-style: italic;
83
+ }
84
+ }
85
+
86
+ a.read-more {
87
+ display: inline-block;
88
+ font-family: $sans-serif;
89
+ font-weight: 700;
90
+ font-size: .8em;
91
+ text-transform: uppercase;
92
+ margin-left: .2em;
93
+ position: relative;
94
+
95
+ span {
96
+ font-family: $sans-serif;
97
+ font-style: normal;
98
+ position: absolute;
99
+ font-size: 1.5em;
100
+ top: -1px;
101
+ right: -12px;
102
+ }
103
+ }
104
+
105
+ hr {
106
+ width: 3em;
107
+ }
108
+
109
+ p.author {
110
+ font-family: $serif;
111
+ font-size: 1.2em;
112
+ font-style: italic;
113
+ }
114
+ }