solar-flair 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +86 -0
  4. data/_includes/ad.html +5 -0
  5. data/_includes/contact.html +68 -0
  6. data/_includes/footer.html +155 -0
  7. data/_includes/head.html +92 -0
  8. data/_includes/header.html +47 -0
  9. data/_includes/resources.html +16 -0
  10. data/_layouts/blog.html +54 -0
  11. data/_layouts/default.html +22 -0
  12. data/_layouts/home.html +128 -0
  13. data/_layouts/page.html +55 -0
  14. data/_layouts/post.html +53 -0
  15. data/_sass/solar-flair.scss +200 -0
  16. data/_sass/solar-flair/_base.scss +164 -0
  17. data/_sass/solar-flair/_gradients.scss +47 -0
  18. data/_sass/solar-flair/_home.scss +161 -0
  19. data/_sass/solar-flair/_hr.scss +49 -0
  20. data/_sass/solar-flair/_layout.scss +250 -0
  21. data/_sass/solar-flair/_links.scss +111 -0
  22. data/_sass/solar-flair/_lists.scss +7 -0
  23. data/_sass/solar-flair/_promo.scss +0 -0
  24. data/_sass/solar-flair/_syntax-highlighting.scss +71 -0
  25. data/_sass/solar-flair/_typeography.scss +115 -0
  26. data/assets/fonts/Montserrat/Montserrat-Black.ttf +0 -0
  27. data/assets/fonts/Montserrat/Montserrat-BlackItalic.ttf +0 -0
  28. data/assets/fonts/Montserrat/Montserrat-Bold.ttf +0 -0
  29. data/assets/fonts/Montserrat/Montserrat-BoldItalic.ttf +0 -0
  30. data/assets/fonts/Montserrat/Montserrat-ExtraBold.ttf +0 -0
  31. data/assets/fonts/Montserrat/Montserrat-ExtraBoldItalic.ttf +0 -0
  32. data/assets/fonts/Montserrat/Montserrat-ExtraLight.ttf +0 -0
  33. data/assets/fonts/Montserrat/Montserrat-ExtraLightItalic.ttf +0 -0
  34. data/assets/fonts/Montserrat/Montserrat-Italic.ttf +0 -0
  35. data/assets/fonts/Montserrat/Montserrat-Light.ttf +0 -0
  36. data/assets/fonts/Montserrat/Montserrat-LightItalic.ttf +0 -0
  37. data/assets/fonts/Montserrat/Montserrat-Medium.ttf +0 -0
  38. data/assets/fonts/Montserrat/Montserrat-MediumItalic.ttf +0 -0
  39. data/assets/fonts/Montserrat/Montserrat-Regular.ttf +0 -0
  40. data/assets/fonts/Montserrat/Montserrat-SemiBold.ttf +0 -0
  41. data/assets/fonts/Montserrat/Montserrat-SemiBoldItalic.ttf +0 -0
  42. data/assets/fonts/Montserrat/Montserrat-Thin.ttf +0 -0
  43. data/assets/fonts/Montserrat/Montserrat-ThinItalic.ttf +0 -0
  44. data/assets/fonts/Montserrat/OFL.txt +93 -0
  45. data/assets/fonts/Open_Sans/LICENSE.txt +202 -0
  46. data/assets/fonts/Open_Sans/OpenSans-Bold.ttf +0 -0
  47. data/assets/fonts/Open_Sans/OpenSans-BoldItalic.ttf +0 -0
  48. data/assets/fonts/Open_Sans/OpenSans-ExtraBold.ttf +0 -0
  49. data/assets/fonts/Open_Sans/OpenSans-ExtraBoldItalic.ttf +0 -0
  50. data/assets/fonts/Open_Sans/OpenSans-Italic.ttf +0 -0
  51. data/assets/fonts/Open_Sans/OpenSans-Light.ttf +0 -0
  52. data/assets/fonts/Open_Sans/OpenSans-LightItalic.ttf +0 -0
  53. data/assets/fonts/Open_Sans/OpenSans-Regular.ttf +0 -0
  54. data/assets/fonts/Open_Sans/OpenSans-SemiBold.ttf +0 -0
  55. data/assets/fonts/Open_Sans/OpenSans-SemiBoldItalic.ttf +0 -0
  56. data/assets/images/canvas.jpg +0 -0
  57. data/assets/images/paisley.jpg +0 -0
  58. data/assets/images/pattern.svg +5715 -0
  59. data/assets/images/squares.jpg +0 -0
  60. data/assets/images/white-horizontal.svg +102 -0
  61. data/assets/main.scss +6 -0
  62. data/assets/solar-flair.js +100 -0
  63. data/assets/solar-flair.min.js +1 -0
  64. metadata +151 -0
@@ -0,0 +1,164 @@
1
+ /**
2
+ * Reset some basic elements
3
+ */
4
+ body, h1, h2, h3, h4, h5, h6,
5
+ p, blockquote, pre, hr,
6
+ dl, dd, ol, ul, figure {
7
+ margin: 0;
8
+ padding: 0;
9
+ }
10
+
11
+
12
+
13
+ /**
14
+ * Basic styling
15
+ */
16
+ body {
17
+ font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
18
+ color: $text-color;
19
+ background-color: $background-color;
20
+ -webkit-text-size-adjust: 100%;
21
+ -webkit-font-feature-settings: "kern" 1;
22
+ -moz-font-feature-settings: "kern" 1;
23
+ -o-font-feature-settings: "kern" 1;
24
+ font-feature-settings: "kern" 1;
25
+ font-kerning: normal;
26
+ }
27
+
28
+
29
+
30
+ /**
31
+ * Set `margin-bottom` to maintain vertical rhythm
32
+ */
33
+ h1, h2, h3, h4, h5, h6,
34
+ p, blockquote, pre,
35
+ ul, ol, dl, figure,
36
+ %vertical-rhythm {
37
+ margin-bottom: $spacing-unit / 2;
38
+ }
39
+
40
+
41
+
42
+ /**
43
+ * Images
44
+ */
45
+ img {
46
+ max-width: 100%;
47
+ vertical-align: middle;
48
+ }
49
+
50
+
51
+
52
+ /**
53
+ * Figures
54
+ */
55
+ figure > img {
56
+ display: block;
57
+ }
58
+
59
+ figcaption {
60
+ font-size: $small-font-size;
61
+ }
62
+
63
+
64
+
65
+ /**
66
+ * Lists
67
+ */
68
+ ul, ol {
69
+ margin-left: $spacing-unit;
70
+ }
71
+
72
+ li {
73
+ > ul,
74
+ > ol {
75
+ margin-bottom: 0;
76
+ }
77
+ }
78
+
79
+
80
+
81
+ /**
82
+ * Headings
83
+ */
84
+ h1, h2, h3, h4, h5, h6 {
85
+ font-weight: $base-font-weight;
86
+ }
87
+
88
+
89
+
90
+
91
+
92
+ .greenLink{
93
+ color: $green-color!important;
94
+ }
95
+ .orangeLink{
96
+ color: $orange-color!important;
97
+ }
98
+ .greyLink{
99
+ color:#7F7F7F;
100
+ }
101
+
102
+
103
+
104
+ div.promo{
105
+ h3{
106
+ font-size: 3.5rem;
107
+ }
108
+ }
109
+
110
+ a.quote{
111
+ color: $green-color;
112
+ &:hover{
113
+ color: darken($green-color, 25%);
114
+ text-decoration: underline;
115
+ }
116
+ }
117
+ /**
118
+ * Blockquotes
119
+ */
120
+ blockquote {
121
+ color: $grey-color;
122
+ border-left: 4px solid $grey-color-light;
123
+ padding-left: $spacing-unit / 2;
124
+ @include relative-font-size(1.125);
125
+ letter-spacing: -1px;
126
+ font-style: italic;
127
+
128
+ > :last-child {
129
+ margin-bottom: 0;
130
+ }
131
+ }
132
+
133
+
134
+
135
+ /**
136
+ * Code formatting
137
+ */
138
+ pre,
139
+ code {
140
+ @include relative-font-size(0.9375);
141
+ border: 1px solid $grey-color-light;
142
+ border-radius: 3px;
143
+ background-color: #eef;
144
+ }
145
+
146
+ code {
147
+ padding: 1px 5px;
148
+ }
149
+
150
+ pre {
151
+ padding: 8px 12px;
152
+ overflow-x: auto;
153
+
154
+ > code {
155
+ border: 0;
156
+ padding-right: 0;
157
+ padding-left: 0;
158
+ }
159
+ }
160
+
161
+
162
+
163
+
164
+
@@ -0,0 +1,47 @@
1
+
2
+ .grad-orange{
3
+ background:
4
+ linear-gradient(
5
+ to bottom right,
6
+ rgba(245, 136,61, .85),
7
+ rgba(244, 123, 40, 1)
8
+ );
9
+ color: white;
10
+ }
11
+ .grad-green{
12
+ background:
13
+ linear-gradient(
14
+ to bottom right,
15
+ rgba(66, 142, 66, .85),
16
+ rgba(66, 142, 66, 1)
17
+ );
18
+ color: white;
19
+ }
20
+ .grad-purple{
21
+ background:
22
+ linear-gradient(
23
+ to bottom right,
24
+ rgba(142,26,79, .85),
25
+ rgba(158,29,88, 1)
26
+ );
27
+ color: white;
28
+ }
29
+ .grad-blue{
30
+ background:
31
+ linear-gradient(
32
+ to bottom right,
33
+ rgba(41,155,166, .85),
34
+ rgba(20,161,175, 1)
35
+ );
36
+ color: white;
37
+ }
38
+ .grad-grey{
39
+ background:
40
+ linear-gradient(
41
+ to bottom right,
42
+ rgba(105,105,105, .85),
43
+ rgba(130,130,130, 1)
44
+ );
45
+ color: white;
46
+ }
47
+
@@ -0,0 +1,161 @@
1
+ .vh100{
2
+ height: 100vh;
3
+ }
4
+ .vh50{
5
+ height: 50vh;
6
+ }
7
+ .vh25{
8
+ height: 25vh;
9
+ }
10
+
11
+ .green-home{
12
+ color:white;
13
+ background-repeat: repeat;
14
+ background-size: 12%;
15
+ background-position:center;
16
+
17
+ background:
18
+ linear-gradient(
19
+ to bottom right,
20
+ rgba(66, 142, 66, .7),
21
+ rgba(66, 142, 66, 1)
22
+ ),
23
+ url('/assets/images/paisley.jpg');
24
+ }
25
+
26
+ .orange-home{
27
+ color:white;
28
+ background-repeat: repeat;
29
+ background-size: 12%;
30
+ background-position:center;
31
+
32
+ background:
33
+ linear-gradient(
34
+ to bottom right,
35
+ rgba(245, 136,61, .7),
36
+ rgba(244, 123, 40, 1)
37
+ ),
38
+ url('/assets/images/paisley.jpg');
39
+ }
40
+
41
+ .blue-home{
42
+ color:white;
43
+ background-repeat: repeat;
44
+ background-size: 12%;
45
+ background-position:center;
46
+
47
+ background:
48
+ linear-gradient(
49
+ to bottom right,
50
+ rgba(41,155,166, .7),
51
+ rgba(20,161,175, 1)
52
+ ),
53
+ url('/assets/images/paisley.jpg');
54
+ }
55
+
56
+ .purple-home{
57
+ color:white;
58
+ background-repeat: repeat;
59
+ background-size: 12%;
60
+ background-position:center;
61
+
62
+ background:
63
+ linear-gradient(
64
+ to bottom right,
65
+ rgba(142,26,79, .7),
66
+ rgba(158,29,88, 1)
67
+ ),
68
+ url('/assets/images/paisley.jpg');
69
+ }
70
+ .grey-home{
71
+ color:white;
72
+ background-repeat: repeat;
73
+ background-size: 12%;
74
+ background-position:center;
75
+
76
+ background:
77
+ linear-gradient(
78
+ to bottom right,
79
+ rgba(105,105,105, .7),
80
+ rgba(130,130,130, 1)
81
+ ),
82
+ url('/assets/images/paisley.jpg');
83
+ }
84
+
85
+ .bottom{
86
+ position: absolute;
87
+ bottom: 0;
88
+ margin-right: 0;
89
+
90
+ background:rgba(0,0,0,.7);
91
+ width:100%;
92
+ max-width:none;
93
+ text-shadow: rgb(0, 0, 0) 1px 2px;
94
+ }
95
+
96
+ .blue-text{
97
+ color: $blue-color;
98
+ }
99
+ .green-text{
100
+ color: $green-color;
101
+ }
102
+ .orange-text{
103
+ color: $orange-color;
104
+ }
105
+ .purple-text{
106
+ color: $purple-color;
107
+ }
108
+ .grey-text{
109
+ color: $purple-color;
110
+ }
111
+
112
+ .blue-text-d10{
113
+ color: darken($blue-color, 10%);
114
+ }
115
+ .green-text-d10{
116
+ color: darken($green-color, 10%);
117
+ }
118
+ .orange-text-d10{
119
+ color: darken($orange-color, 10%);
120
+ }
121
+ .purple-text-d10{
122
+ color: darken($purple-color, 10%);
123
+ }
124
+ .blue-text-l10{
125
+ color: lighten($blue-color, 10%);
126
+ }
127
+ .green-text-l10{
128
+ color: lighten($green-color, 10%);
129
+ }
130
+ .orange-text-l10{
131
+ color: lighten($orange-color, 10%);
132
+ }
133
+ .purple-text-l10{
134
+ color: lighten($purple-color, 10%);
135
+ }
136
+
137
+ .blue-text-d25{
138
+ color: darken($blue-color, 25%);
139
+ }
140
+ .green-text-d25{
141
+ color: darken($green-color, 25%);
142
+ }
143
+ .orange-text-d25{
144
+ color: darken($orange-color, 25%);
145
+ }
146
+ .purple-text-d25{
147
+ color: darken($purple-color, 25%);
148
+ }
149
+
150
+ .blue-text-l25{
151
+ color: lighten($blue-color, 25%);
152
+ }
153
+ .green-text-l25{
154
+ color: lighten($green-color, 25%);
155
+ }
156
+ .orange-text-l25{
157
+ color: lighten($orange-color, 25%);
158
+ }
159
+ .purple-text-l25{
160
+ color: lighten($purple-color, 25%);
161
+ }
@@ -0,0 +1,49 @@
1
+ /* Gradient transparent - color - transparent */
2
+
3
+ hr.grad {
4
+ border: 0;
5
+ height: 1px;
6
+ background-image: linear-gradient(to right, rgba(255,255,255, 0), rgba(255,255,255, 0.75), rgba(255,255,255, 0));
7
+ width:50%;
8
+ margin: auto auto;
9
+ }
10
+
11
+ hr.purple-right{
12
+ margin-top:.4rem;
13
+ margin-bottom:.4rem;
14
+
15
+ border: 0;
16
+ height: 1px;
17
+ background-image: linear-gradient(to right, rgba(158,29,88, 1), rgba(158,29,88, 0.75), rgba(158,29,88, 0));
18
+ width:50%;
19
+ }
20
+
21
+ hr.green-right{
22
+ margin-top:.4rem;
23
+ margin-bottom:.4rem;
24
+
25
+ border: 0;
26
+ height: 1px;
27
+ background-image: linear-gradient(to right, rgba(66, 142, 66, 1), rgba(66, 142, 66, 0.75), rgba(66, 142, 66, 0));
28
+ width:50%;
29
+ }
30
+
31
+ hr.orange-right{
32
+ margin-top:.4rem;
33
+ margin-bottom:.4rem;
34
+
35
+ border: 0;
36
+ height: 1px;
37
+ background-image: linear-gradient(to right, rgba(244, 123, 40, 1), rgba(244, 123, 40, 0.75), rgba(244, 123, 40, 0));
38
+ width:50%;
39
+ }
40
+ hr.blue-right{
41
+ margin-top:.4rem;
42
+ margin-bottom:.4rem;
43
+
44
+ border: 0;
45
+ height: 1px;
46
+ background-image: linear-gradient(to right, rgba(20,161,175, 1), rgba(20,161,175, 0.75), rgba(20,161,175, 0));
47
+ width:50%;
48
+ }
49
+
@@ -0,0 +1,250 @@
1
+ /**
2
+ * Site header
3
+ */
4
+ .site-header {
5
+ border-top: 5px solid $grey-color-dark;
6
+ border-bottom: 1px solid $grey-color-light;
7
+ min-height: $spacing-unit * 1.865;
8
+
9
+ // Positioning context for the mobile navigation icon
10
+ position: relative;
11
+ }
12
+
13
+ .site-title {
14
+ @include relative-font-size(1.625);
15
+ font-weight: 300;
16
+ line-height: $base-line-height * $base-font-size * 2.25;
17
+ letter-spacing: -1px;
18
+ margin-bottom: 0;
19
+ float: left;
20
+
21
+ &,
22
+ &:visited {
23
+ color: $grey-color-dark;
24
+ }
25
+ }
26
+
27
+ .site-nav {
28
+ float: right;
29
+ line-height: $base-line-height * $base-font-size * 2.25;
30
+
31
+ .nav-trigger {
32
+ display: none;
33
+ }
34
+
35
+ .menu-icon {
36
+ display: none;
37
+ }
38
+
39
+ .page-link {
40
+ color: $text-color;
41
+ line-height: $base-line-height;
42
+
43
+ // Gaps between nav items, but not on the last one
44
+ &:not(:last-child) {
45
+ margin-right: 20px;
46
+ }
47
+ }
48
+
49
+ @include media-query($on-palm) {
50
+ position: absolute;
51
+ top: 9px;
52
+ right: $spacing-unit / 2;
53
+ background-color: $background-color;
54
+ border: 1px solid $grey-color-light;
55
+ border-radius: 5px;
56
+ text-align: right;
57
+
58
+ label[for="nav-trigger"] {
59
+ display: block;
60
+ float: right;
61
+ width: 36px;
62
+ height: 36px;
63
+ z-index: 2;
64
+ cursor: pointer;
65
+ }
66
+
67
+ .menu-icon {
68
+ display: block;
69
+ float: right;
70
+ width: 36px;
71
+ height: 26px;
72
+ line-height: 0;
73
+ padding-top: 10px;
74
+ text-align: center;
75
+
76
+ > svg path {
77
+ fill: $grey-color-dark;
78
+ }
79
+ }
80
+
81
+ input ~ .trigger {
82
+ clear: both;
83
+ display: none;
84
+ }
85
+
86
+ input:checked ~ .trigger {
87
+ display: block;
88
+ padding-bottom: 5px;
89
+ }
90
+
91
+ .page-link {
92
+ display: block;
93
+ padding: 5px 10px;
94
+
95
+ &:not(:last-child) {
96
+ margin-right: 0;
97
+ }
98
+ margin-left: 20px;
99
+ }
100
+ }
101
+ }
102
+
103
+
104
+
105
+ /**
106
+ * Site footer
107
+ */
108
+ .site-footer {
109
+ border-top: 1px solid $grey-color-light;
110
+ padding: $spacing-unit 0;
111
+ }
112
+
113
+ .footer-heading {
114
+ @include relative-font-size(1.125);
115
+ margin-bottom: $spacing-unit / 2;
116
+ }
117
+
118
+ .contact-list,
119
+ .social-media-list {
120
+ list-style: none;
121
+ margin-left: 0;
122
+ }
123
+
124
+ .footer-col-wrapper {
125
+ @include relative-font-size(0.9375);
126
+ color: $grey-color;
127
+ margin-left: -$spacing-unit / 2;
128
+ @extend %clearfix;
129
+ }
130
+
131
+ .footer-col {
132
+ float: left;
133
+ margin-bottom: $spacing-unit / 2;
134
+ padding-left: $spacing-unit / 2;
135
+ }
136
+
137
+ .footer-col-1 {
138
+ width: -webkit-calc(35% - (#{$spacing-unit} / 2));
139
+ width: calc(35% - (#{$spacing-unit} / 2));
140
+ }
141
+
142
+ .footer-col-2 {
143
+ width: -webkit-calc(20% - (#{$spacing-unit} / 2));
144
+ width: calc(20% - (#{$spacing-unit} / 2));
145
+ }
146
+
147
+ .footer-col-3 {
148
+ width: -webkit-calc(45% - (#{$spacing-unit} / 2));
149
+ width: calc(45% - (#{$spacing-unit} / 2));
150
+ }
151
+
152
+ @include media-query($on-laptop) {
153
+ .footer-col-1,
154
+ .footer-col-2 {
155
+ width: -webkit-calc(50% - (#{$spacing-unit} / 2));
156
+ width: calc(50% - (#{$spacing-unit} / 2));
157
+ }
158
+
159
+ .footer-col-3 {
160
+ width: -webkit-calc(100% - (#{$spacing-unit} / 2));
161
+ width: calc(100% - (#{$spacing-unit} / 2));
162
+ }
163
+ }
164
+
165
+ @include media-query($on-palm) {
166
+ .footer-col {
167
+ float: none;
168
+ width: -webkit-calc(100% - (#{$spacing-unit} / 2));
169
+ width: calc(100% - (#{$spacing-unit} / 2));
170
+ }
171
+ }
172
+
173
+
174
+
175
+ /**
176
+ * Page content
177
+ */
178
+ .page-content {
179
+ padding: $spacing-unit 0;
180
+ }
181
+
182
+ .page-heading {
183
+ @include relative-font-size(1.25);
184
+ }
185
+
186
+ .post-list {
187
+ margin-left: 0;
188
+ list-style: none;
189
+
190
+ > li {
191
+ margin-bottom: $spacing-unit;
192
+ }
193
+ }
194
+
195
+ .post-meta {
196
+ font-size: $small-font-size;
197
+ color: $grey-color;
198
+ }
199
+
200
+ .post-link {
201
+ display: block;
202
+ @include relative-font-size(1.5);
203
+ }
204
+
205
+
206
+
207
+ /**
208
+ * Posts
209
+ */
210
+ .post-header {
211
+ margin-bottom: $spacing-unit;
212
+ }
213
+
214
+ .post-title {
215
+ @include relative-font-size(2.625);
216
+ letter-spacing: -1px;
217
+ line-height: 1;
218
+
219
+ @include media-query($on-laptop) {
220
+ @include relative-font-size(2.25);
221
+ }
222
+ }
223
+
224
+ .post-content {
225
+ margin-bottom: $spacing-unit;
226
+
227
+ h2 {
228
+ @include relative-font-size(2);
229
+
230
+ @include media-query($on-laptop) {
231
+ @include relative-font-size(1.75);
232
+ }
233
+ }
234
+
235
+ h3 {
236
+ @include relative-font-size(1.625);
237
+
238
+ @include media-query($on-laptop) {
239
+ @include relative-font-size(1.375);
240
+ }
241
+ }
242
+
243
+ h4 {
244
+ @include relative-font-size(1.25);
245
+
246
+ @include media-query($on-laptop) {
247
+ @include relative-font-size(1.125);
248
+ }
249
+ }
250
+ }