jekyll-theme-pga-default 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/component.html +29 -0
  3. data/_includes/foot.html +3 -0
  4. data/_includes/head.html +20 -0
  5. data/_includes/header.html +34 -0
  6. data/_layouts/default.html +12 -1
  7. data/_sass/_articles.scss +324 -0
  8. data/_sass/_buttons.scss +17 -0
  9. data/_sass/_cards.scss +26 -0
  10. data/_sass/_components.scss +577 -0
  11. data/_sass/_font-awesome.scss +2337 -0
  12. data/_sass/_fonts.scss +0 -0
  13. data/_sass/_footer.scss +93 -0
  14. data/_sass/_form.scss +81 -0
  15. data/_sass/_functions.scss +86 -0
  16. data/_sass/_header.scss +282 -0
  17. data/_sass/_highlight.scss +163 -0
  18. data/_sass/_icons-font.scss +47 -0
  19. data/_sass/_icons.scss +3 -0
  20. data/_sass/_jumbotron.scss +90 -0
  21. data/_sass/_keyframes.scss +23 -0
  22. data/_sass/_loading.scss +43 -0
  23. data/_sass/_mixin.scss +63 -0
  24. data/_sass/_navs.scss +64 -0
  25. data/_sass/_owl.carousel.scss +368 -0
  26. data/_sass/_reset.scss +5 -0
  27. data/_sass/_styleguide.scss +273 -0
  28. data/_sass/_table.scss +160 -0
  29. data/_sass/_tiles.scss +196 -0
  30. data/_sass/_typography.scss +151 -0
  31. data/_sass/_variables-custom.scss +612 -0
  32. data/_sass/components/_breadcrumbs.scss +42 -0
  33. data/_sass/components/_button.scss +17 -0
  34. data/_sass/components/_footer.scss +92 -0
  35. data/_sass/components/_header.scss +336 -0
  36. data/_sass/components/_nav-sidebar.scss +217 -0
  37. data/assets/fonts/.DS_Store +0 -0
  38. data/assets/fonts/icomoon/icomoon.eot +0 -0
  39. data/assets/fonts/icomoon/icomoon.svg +16 -0
  40. data/assets/fonts/icomoon/icomoon.ttf +0 -0
  41. data/assets/fonts/icomoon/icomoon.woff +0 -0
  42. data/assets/images/pga-logo-tm.svg +72 -0
  43. data/assets/scripts/bootstrap.min.js +7 -0
  44. data/assets/scripts/jquery-3.3.1.min.js +2 -0
  45. data/assets/scripts/popper.min.js +5 -0
  46. metadata +46 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8c0e12b9ab42d36df2c93107c0888eec1058da3b
4
- data.tar.gz: 85aca92c6c320ebfca8f0e316d35e82988599242
3
+ metadata.gz: 15ad49814cee3bd0d8cc856327b9d4bb8862aadf
4
+ data.tar.gz: 42914e639c1b5308afee184237f36f6159d0a737
5
5
  SHA512:
6
- metadata.gz: a79786ebf82ac9ec7b065ef2cfc8e0a0cdb214a4af7674dd7e7f13aa3e526fbcde066a3e21f1544b09b09e95719efe5843c32564ee8a718e22f67f747d86a67a
7
- data.tar.gz: 954c1147d757949ae4e1b4229a422c678d8b4629ff4e1351939a147f9f64a901e4983e9a730f96bb0f07bfa65c3faf8c2660c28aac10f5af965295c779dae5c0
6
+ metadata.gz: 33e54f445935d7404ddf30766dfd33dbc72be2d4b20dc705914cd180ce75394322d3f58c23c972683305944963ef8a63c6599cd8c13aa8aa9527b862962211f5
7
+ data.tar.gz: cb614bf04d766ce435985e3b7cd30199e54a8a98314bf5de70349ac9d2a7547e7f8793591d2b5002155c64a0fa01742250bf2fec44d62a4642bb9e8452870b0b
@@ -0,0 +1,29 @@
1
+ <article class="component">
2
+ <header class="component__header">
3
+ <div class="component__code {% if forloop.first %}pb-4{% else %}py-4{% endif %}">
4
+ <h3 id="guide-{{ entry.title | slugify }}" class="d-inline">{{ entry.title }}</h3>
5
+ <a class="ml-2" data-toggle="collapse" href="{{ entry.title | prepend: '#' }}" role="button" aria-expanded="false">
6
+ Code<i style="font-size:12px; padding-left:5px;" class="icon icon-arrow-down"></i>
7
+ </a>
8
+ </div>
9
+ </header>
10
+
11
+ <div class="component__body">
12
+ <div class="collapse" id="{{ entry.title }}">
13
+
14
+ <!-- Indent to left for code format -->
15
+ {% highlight html %}
16
+ {{ entry.content }}
17
+ {% endhighlight %}
18
+
19
+ </div>
20
+
21
+ {% if entry.usage %}<p><strong>Usage:</strong> {{ entry.usage }}</p>{% endif %}
22
+
23
+ <div class="component__content">
24
+ <div class="component__rendered">
25
+ {{ entry.content }}
26
+ </div>
27
+ </div>
28
+ </div>
29
+ </article>
@@ -0,0 +1,3 @@
1
+ <script src="/assets/scripts/jquery-3.3.1.min.js"></script>
2
+ <script src="/assets/scripts/popper.min.js"></script>
3
+ <script src="/assets/scripts/bootstrap.min.js"></script>
@@ -0,0 +1,20 @@
1
+ <head>
2
+ <meta charset="utf-8">
3
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
+ <meta name="viewport" content="width=device-width, initial-scale=1">
5
+ <title>PGA Theme</title>
6
+ <meta name="mobile-web-app-capable" content="yes">
7
+ <meta name="apple-mobile-web-app-capable" content="yes">
8
+ <meta name="application-name" content="PGA">
9
+ <meta name="apple-mobile-web-app-title" content="PGA">
10
+ <meta name="msapplication-starturl" content="/">
11
+ <!-- Favicons -->
12
+ <link rel="apple-touch-icon" sizes="180x180" href="/assets/images/favicons/apple-touch-icon.png">
13
+ <link rel="icon" type="image/png" sizes="32x32" href="/assets/images/favicons/favicon-32x32.png">
14
+ <link rel="icon" type="image/png" sizes="16x16" href="/assets/images/favicons/favicon-16x16.png">
15
+ <link rel="mask-icon" href="/assets/images/favicons/safari-pinned-tab.svg" color="#b4975a">
16
+ <meta name="msapplication-TileColor" content="#da532c">
17
+ <meta name="theme-color" content="#ffffff">
18
+ <link rel="stylesheet" href="/css/main.css">
19
+
20
+ </head>
@@ -0,0 +1,34 @@
1
+ <header class="header" role="banner">
2
+ <nav class="navbar-primary">
3
+ <div class="container">
4
+ <a class="navbar-brand" href="/"><img src="/assets/images/pga-logo-tm.svg" data-src="/assets/images/pga-logo-tm.svg" alt="" width="138"></a>
5
+ <div class="collapse navbar-collapse align-self-stretch" id="navbarMobile">
6
+ <div class="navbar-collapse-inner">
7
+ <div class="navbar-collapse-header">
8
+ <button class="navbar-toggler collapsed" type="button" data-toggle="collapse" data-target="#navbarMobile" aria-controls="navbarMobile" aria-expanded="false" aria-label="Toggle navigation">
9
+ <svg class="icon-cancel" xmlns="http://www.w3.org/2000/svg" width="21" height="20" viewBox="0 0 21 20"><g fill="none" fill-rule="evenodd" stroke="#B4975A" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M19.408 1.007L1.542 18.873M1.542 1.007l17.866 17.866L1.542 1.007z"></path></g></svg>
10
+ </button>
11
+ </div>
12
+ <ul class="navbar-nav align-self-stretch">
13
+ <li class="nav-item">
14
+ <a class="nav-link active" href="http://beta.pga.org">about</a>
15
+ </li>
16
+ <li class="nav-item">
17
+ <a class="nav-link " href="http://jobs.pga.org">jobs</a>
18
+ </li>
19
+ <li class="nav-item">
20
+ <a class="nav-link " href="https://www.pga.org/directory">directory</a>
21
+ </li>
22
+ <li class="nav-item">
23
+ <a class="nav-link " href="http://www.pgamediacenter.com">Media</a>
24
+ </li>
25
+ <li class="nav-item">
26
+ <a class="nav-link " href=""></a>
27
+ </li>
28
+ </ul>
29
+ </div>
30
+ </div>
31
+ </div>
32
+ </nav>
33
+ </header>
34
+
@@ -1 +1,12 @@
1
- {{ content }}
1
+ <!DOCTYPE html>
2
+ <html lang="{{ page.lang | default: site.lang | default: "en" }}">
3
+ {% include head.html %}
4
+ <body class="{{ page.body-color }}">
5
+ {% include header.html %}
6
+ <div class="content pt-5">
7
+ {{ content }}
8
+ </div>
9
+
10
+ {% include foot.html %}
11
+ </body>
12
+ </html>
@@ -0,0 +1,324 @@
1
+ // Article
2
+
3
+ .article {
4
+ .article-aside {
5
+ padding-top: 20px;
6
+ }
7
+
8
+ .article-image {
9
+ position: relative;
10
+ padding-bottom: 25%;
11
+ overflow: hidden;
12
+ @include media-breakpoint-down(md) {
13
+ padding-bottom: 33%;
14
+ }
15
+ @include media-breakpoint-down(sm) {
16
+ padding-bottom: 45%;
17
+ }
18
+
19
+ h1 {
20
+ color: theme-color("primary");
21
+ position: absolute;
22
+ bottom: 10%;
23
+ right: 10%;
24
+ left: calc(50vw - 555px);
25
+ z-index: 10;
26
+ text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
27
+ @include media-breakpoint-down(lg) {
28
+ left: calc(50vw - 435px);
29
+ }
30
+ @include media-breakpoint-down(md) {
31
+ left: calc(50vw - 300px);
32
+ }
33
+ @include media-breakpoint-down(sm) {
34
+ left: calc(50vw - 235px);
35
+ font-size: 5vw;
36
+ }
37
+ @include media-breakpoint-down(xs) {
38
+ left: 35px;
39
+ bottom: 20%;
40
+ }
41
+ }
42
+
43
+ img {
44
+ position: absolute;
45
+ top: 50%;
46
+ transform: translateY(-50%);
47
+ }
48
+
49
+ picture img {
50
+ max-width: 100%;
51
+ width: 100%;
52
+ }
53
+
54
+ &:after {
55
+ content: "";
56
+ position: absolute;
57
+ top: 0;
58
+ left: 0;
59
+ right: 0;
60
+ bottom: 0;
61
+ background-color: rgba(0, 35, 75, 0.6);
62
+ }
63
+ }
64
+
65
+ .article-wrapper {
66
+ padding-top: 100px;
67
+ }
68
+
69
+ .article-wrapper {
70
+ @extend .d-flex;
71
+ background-color: $white;
72
+ @include media-breakpoint-down(sm) {
73
+ flex-direction: column;
74
+ }
75
+ }
76
+
77
+ .archive-list {
78
+ border: 0;
79
+ }
80
+
81
+ .archive-list li:after {
82
+ display: none;
83
+ }
84
+
85
+ .archive-list {
86
+ background-color: $white;
87
+ margin-bottom: 35px;
88
+ padding: 10px 23px 15px;
89
+ border: 1px $gray-200 solid;
90
+ list-style: none;
91
+ margin-top: 30px;
92
+ @include media-breakpoint-down(md) {
93
+ margin-top: 0;
94
+ }
95
+ @include media-breakpoint-down(sm) {
96
+ margin-top: 30px;
97
+ }
98
+
99
+ li {
100
+ height: auto;
101
+ border: none;
102
+ padding-left: 0;
103
+ padding-right: 0;
104
+
105
+ &:first-of-type {
106
+ padding: 0;
107
+ }
108
+
109
+ +li {
110
+ border-top: 1px $gray-200 solid;
111
+ }
112
+ }
113
+
114
+ a {
115
+ font-weight: 300;
116
+ line-height: 1.5;
117
+ }
118
+ }
119
+ @media (min-width: 1200px) {
120
+ .container {
121
+ max-width: 1200px;
122
+ }
123
+ }
124
+
125
+ .article-aside {
126
+ flex: 0 0 300px;
127
+ max-width: 300px;
128
+ @include media-breakpoint-down(md) {
129
+ flex: 0 0 100%;
130
+ max-width: 100%;
131
+ }
132
+ }
133
+
134
+ .article-content {
135
+ @include media-breakpoint-down(md) {
136
+ flex-basis: 100%;
137
+ min-width: 100%;
138
+ }
139
+ }
140
+
141
+ .article-content {
142
+ flex-grow: 1;
143
+ padding: 0 30px;
144
+ margin-bottom: 3em;
145
+ @include media-breakpoint-down(sm) {
146
+ padding: 0 1.5em;
147
+ margin-top: 1.5rem;
148
+ }
149
+ color: #333333;
150
+
151
+ p {
152
+ margin: 1em 0;
153
+ }
154
+
155
+ a {
156
+ text-decoration: underline;
157
+ }
158
+
159
+ ul {
160
+ padding: 0;
161
+ }
162
+
163
+ h3 {
164
+ color: theme-color("primary");
165
+ }
166
+ }
167
+
168
+ .article-wrapper {
169
+ background: transparent;
170
+ @include media-breakpoint-down(md) {
171
+ flex-wrap: wrap;
172
+ }
173
+ @include media-breakpoint-down(sm) {
174
+ padding-top: 30px;
175
+ }
176
+ }
177
+
178
+ .archive-list {}
179
+
180
+ .author {
181
+ width: 100%;
182
+ display: flex;
183
+ align-items: center;
184
+
185
+ img {
186
+ margin-right: 15px;
187
+ }
188
+ }
189
+
190
+ .article-content p {
191
+ font-size: 1rem;
192
+ }
193
+
194
+ .article-widgets {
195
+ @include media-breakpoint-down(md) {
196
+ display: flex;
197
+ }
198
+ }
199
+
200
+ .date {
201
+ color: $gray-500;
202
+ font-size: 0.875rem;
203
+ margin-bottom: 0.5rem;
204
+ }
205
+ }
206
+
207
+ .tags-group {
208
+ padding: 10px 23px 15px;
209
+ border: 1px $gray-200 solid;
210
+ margin-bottom: 35px;
211
+
212
+ h4 {
213
+ text-align: left;
214
+ }
215
+
216
+ ul {
217
+ list-style: none;
218
+ padding: 0;
219
+ margin: 0;
220
+ text-align: left;
221
+
222
+ li+li {
223
+ display: inline-block;
224
+ vertical-align: top;
225
+ margin: 0 5px 5px 0;
226
+ padding: 2px 10px 4px;
227
+ background: #f6f6f6;
228
+ border: none;
229
+ border-radius: 3px;
230
+ font-size: 12px !important;
231
+ color: #505050;
232
+ line-height: 23px;
233
+ transition: all 0.3s ease-in-out;
234
+ }
235
+ }
236
+ }
237
+ // Share buttons
238
+
239
+ .social-share {
240
+ margin: 0;
241
+ padding: 0;
242
+ list-style: none;
243
+ @extend .d-flex;
244
+
245
+ li {
246
+ display: inline-block;
247
+ margin-left: 2px;
248
+ }
249
+ }
250
+
251
+ .btn-share {
252
+ display: inline-block;
253
+ width: 2.4375rem;
254
+ height: 2.4375rem;
255
+ line-height: 2.4375rem;
256
+ padding: 0 0.8125em;
257
+ color: $white;
258
+ position: relative;
259
+ text-align: center;
260
+ @extend .fa;
261
+
262
+ &:before {
263
+ font-size: 20px;
264
+ }
265
+
266
+ &:focus,
267
+ &:hover {
268
+ color: $white;
269
+ }
270
+ }
271
+
272
+ .btn-facebook {
273
+ background-color: $facebook-color;
274
+ @extend .fa-facebook;
275
+
276
+ &:focus,
277
+ &:hover {
278
+ background-color: $facebook-hover-color;
279
+ }
280
+ }
281
+
282
+ .btn-twitter {
283
+ background-color: $twitter-color;
284
+ @extend .fa-twitter;
285
+
286
+ &:focus,
287
+ &:hover {
288
+ background-color: $twitter-hover-color;
289
+ }
290
+ }
291
+
292
+ .btn-google {
293
+ background-color: $google-color;
294
+ @extend .fa-google;
295
+
296
+ &:focus,
297
+ &:hover {
298
+ background-color: $google-hover-color;
299
+ }
300
+ }
301
+
302
+ .btn-addthis {
303
+ @extend .btn-primary;
304
+ @extend .fa-plus;
305
+
306
+ &:before {
307
+ font-size: 16px;
308
+ }
309
+ }
310
+
311
+ .social-share-label {
312
+ background-color: $navy;
313
+ width: auto;
314
+ font-family: $font-family-control;
315
+ font-size: 1rem;
316
+ text-transform: uppercase;
317
+ letter-spacing: 1px;
318
+ font-weight: 700;
319
+ }
320
+
321
+ .date {
322
+ font-family: $font-family-control;
323
+ font-size: 1.125rem;
324
+ }
@@ -0,0 +1,17 @@
1
+ .btn {
2
+ @include button-size($btn-padding-y, $btn-padding-x, $font-size-base * 0.75, $btn-line-height, $btn-border-radius);
3
+ text-transform: uppercase;
4
+ }
5
+
6
+ .btn-reverse-info {
7
+ background-color: $white;
8
+ border-color: $white;
9
+ color: theme-color("info");
10
+ box-shadow: 2px 4px 10px 0 rgba(0, 0, 0, 0.11);
11
+
12
+ &:active,
13
+ &:focus,
14
+ &:hover {
15
+ color: darken(theme-color("info"), 10%);
16
+ }
17
+ }
data/_sass/_cards.scss ADDED
@@ -0,0 +1,26 @@
1
+ // Cards
2
+
3
+ .card {
4
+ font-size: 0.75rem;
5
+ line-height: 1.5;
6
+ }
7
+
8
+ .card-stretch {
9
+ height: calc(100% - 30px);
10
+ }
11
+
12
+ .card-line {
13
+ display: -webkit-flex;
14
+ display: -ms-flex;
15
+ display: flex;
16
+ align-items: flex-start;
17
+
18
+ .list-unstyled {
19
+ margin-bottom: 0.5rem;
20
+ font-size: 0.75rem;
21
+ }
22
+ }
23
+
24
+ .card-info {
25
+ margin-top: 1rem;
26
+ }