jekyll-theme-twenty 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +63 -0
  3. data/README.md +143 -0
  4. data/_includes/banner.html +24 -0
  5. data/_includes/cta.html +15 -0
  6. data/_includes/footer.html +43 -0
  7. data/_includes/head.html +7 -0
  8. data/_includes/header.html +29 -0
  9. data/_includes/scripts.html +9 -0
  10. data/_layouts/default.html +27 -0
  11. data/_layouts/home.html +7 -0
  12. data/_layouts/page.html +5 -0
  13. data/_layouts/post.html +5 -0
  14. data/_sass/base/_page.scss +22 -0
  15. data/_sass/base/_reset.scss +69 -0
  16. data/_sass/base/_typography.scss +75 -0
  17. data/_sass/components/_button.scss +51 -0
  18. data/_sass/components/_buttons.scss +31 -0
  19. data/_sass/components/_container.scss +51 -0
  20. data/_sass/components/_form.scss +50 -0
  21. data/_sass/components/_icon.scss +87 -0
  22. data/_sass/components/_icons.scss +45 -0
  23. data/_sass/components/_image.scss +35 -0
  24. data/_sass/components/_list.scss +19 -0
  25. data/_sass/components/_row.scss +25 -0
  26. data/_sass/components/_section.scss +74 -0
  27. data/_sass/components/_table.scss +36 -0
  28. data/_sass/layout/_banner.scss +66 -0
  29. data/_sass/layout/_breakpoints.scss +660 -0
  30. data/_sass/layout/_cta.scss +17 -0
  31. data/_sass/layout/_dropotron.scss +53 -0
  32. data/_sass/layout/_footer.scss +30 -0
  33. data/_sass/layout/_header.scss +125 -0
  34. data/_sass/layout/_main.scss +31 -0
  35. data/_sass/layout/_wrapper.scss +51 -0
  36. data/_sass/libs/_breakpoints.scss +223 -0
  37. data/_sass/libs/_functions.scss +90 -0
  38. data/_sass/libs/_html-grid.scss +149 -0
  39. data/_sass/libs/_mixins.scss +63 -0
  40. data/_sass/libs/_vars.scss +95 -0
  41. data/_sass/libs/_vendor.scss +376 -0
  42. data/_sass/main.scss +57 -0
  43. data/_sass/noscript.scss +20 -0
  44. data/assets/css/font-awesome.min.css +4 -0
  45. data/assets/css/images/dark-bl.svg +17 -0
  46. data/assets/css/images/dark-br.svg +17 -0
  47. data/assets/css/images/dark-tl.svg +17 -0
  48. data/assets/css/images/dark-tr.svg +17 -0
  49. data/assets/css/images/light-bl.svg +17 -0
  50. data/assets/css/images/light-br.svg +17 -0
  51. data/assets/css/images/light-tl.svg +17 -0
  52. data/assets/css/images/light-tr.svg +17 -0
  53. data/assets/css/images/overlay.png +0 -0
  54. data/assets/css/noscript.css +11 -0
  55. data/assets/css/styles.scss +4 -0
  56. data/assets/fonts/FontAwesome.otf +0 -0
  57. data/assets/fonts/fontawesome-webfont.eot +0 -0
  58. data/assets/fonts/fontawesome-webfont.svg +2671 -0
  59. data/assets/fonts/fontawesome-webfont.ttf +0 -0
  60. data/assets/fonts/fontawesome-webfont.woff +0 -0
  61. data/assets/fonts/fontawesome-webfont.woff2 +0 -0
  62. data/assets/images/banner.jpg +0 -0
  63. data/assets/images/pic01.jpg +0 -0
  64. data/assets/images/pic02.jpg +0 -0
  65. data/assets/images/pic03.jpg +0 -0
  66. data/assets/images/pic04.jpg +0 -0
  67. data/assets/images/screenshot.jpg +0 -0
  68. data/assets/js/breakpoints.min.js +2 -0
  69. data/assets/js/browser.min.js +2 -0
  70. data/assets/js/jquery.dropotron.min.js +2 -0
  71. data/assets/js/jquery.min.js +2 -0
  72. data/assets/js/jquery.scrollex.min.js +2 -0
  73. data/assets/js/jquery.scrolly.min.js +2 -0
  74. data/assets/js/main.js +96 -0
  75. data/assets/js/util.js +587 -0
  76. metadata +160 -0
@@ -0,0 +1,75 @@
1
+ body, input, select, textarea {
2
+ color: _palette(fg);
3
+ font-family: 'Lato', sans-serif;
4
+ font-size: 15pt;
5
+ font-weight: 300;
6
+ letter-spacing: 0.025em;
7
+ line-height: 1.75em;
8
+ }
9
+
10
+ a {
11
+ @include vendor('transition', ('color 0.2s ease-in-out', 'border-color 0.2s ease-in-out', 'background-color 0.2s ease-in-out'));
12
+ color: darken(_palette(one, bg), 20);
13
+ text-decoration: none;
14
+ border-bottom: dotted 1px;
15
+
16
+ &:hover {
17
+ border-bottom-color: transparent;
18
+ }
19
+ }
20
+
21
+ strong, b {
22
+ font-weight: 400;
23
+ }
24
+
25
+ p, ul, ol, dl, table, blockquote {
26
+ margin: 0 0 2em 0;
27
+ }
28
+
29
+ h1, h2, h3, h4, h5, h6 {
30
+ color: inherit;
31
+ font-weight: 300;
32
+ line-height: 1.75em;
33
+ margin-bottom: 1em;
34
+ text-transform: uppercase;
35
+
36
+ a {
37
+ color: inherit;
38
+ text-decoration: none;
39
+ border: 0;
40
+ }
41
+ }
42
+
43
+ h2 {
44
+ font-size: 1.5em;
45
+ letter-spacing: 0.1em;
46
+ }
47
+
48
+ h3 {
49
+ font-size: 1.15em;
50
+ letter-spacing: 0.025em;
51
+ }
52
+
53
+ sub {
54
+ font-size: 0.8em;
55
+ position: relative;
56
+ top: 0.5em;
57
+ }
58
+
59
+ sup {
60
+ font-size: 0.8em;
61
+ position: relative;
62
+ top: -0.5em;
63
+ }
64
+
65
+ hr {
66
+ border-top: solid 1px _palette(border);
67
+ border: 0;
68
+ margin-bottom: 1.5em;
69
+ }
70
+
71
+ blockquote {
72
+ border-left: solid 0.5em _palette(border);
73
+ font-style: italic;
74
+ padding: 1em 0 1em 2em;
75
+ }
@@ -0,0 +1,51 @@
1
+ /* Button */
2
+
3
+ input[type="button"],
4
+ input[type="submit"],
5
+ input[type="reset"],
6
+ button,
7
+ .button {
8
+ @include vendor('appearance', 'none');
9
+ @include vendor('transition', ('color 0.2s ease-in-out', 'border-color 0.2s ease-in-out', 'background-color 0.2s ease-in-out'));
10
+ background: none;
11
+ border: solid 1px;
12
+ border-radius: 0;
13
+ color: inherit;
14
+ cursor: pointer;
15
+ display: inline-block;
16
+ font-size: 0.8em;
17
+ font-weight: 900;
18
+ letter-spacing: 2px;
19
+ min-width: 18em;
20
+ padding: 0 0.75em;
21
+ line-height: 3.75em;
22
+ text-align: center;
23
+ text-decoration: none;
24
+ text-transform: uppercase;
25
+
26
+ &:hover {
27
+ background: rgba(188,202,206,0.15);
28
+ border-color: inherit;
29
+ }
30
+
31
+ &.primary {
32
+ background: _palette(one, bg);
33
+ border-color: _palette(one, bg);
34
+ color: _palette(one, fg) !important;
35
+
36
+ &:hover {
37
+ background: lighten(_palette(one, bg), 5) !important;
38
+ border-color: lighten(_palette(one, bg), 5) !important;
39
+ }
40
+ }
41
+
42
+ &.fit {
43
+ width: 100%;
44
+ }
45
+
46
+ &.small {
47
+ font-size: 0.7em;
48
+ min-width: 14em;
49
+ padding: 0.5em 0;
50
+ }
51
+ }
@@ -0,0 +1,31 @@
1
+ /* Buttons */
2
+
3
+ ul.buttons {
4
+ cursor: default;
5
+ list-style: none;
6
+ padding-left: 0;
7
+
8
+ &:last-child {
9
+ margin-bottom: 0;
10
+ }
11
+
12
+ li {
13
+ display: inline-block;
14
+ padding: 0 0 0 1.5em;
15
+
16
+ &:first-child {
17
+ padding: 0;
18
+ }
19
+ }
20
+
21
+ &.stacked {
22
+ li {
23
+ display: block;
24
+ padding: 1.5em 0 0 0;
25
+
26
+ &:first-child {
27
+ padding: 0;
28
+ }
29
+ }
30
+ }
31
+ }
@@ -0,0 +1,51 @@
1
+ /* Container */
2
+
3
+ .container {
4
+ margin: 0 auto;
5
+ max-width: 100%;
6
+ width: 1400px;
7
+
8
+ &.medium {
9
+ width: (1400px * 0.75);
10
+ }
11
+
12
+ @include breakpoint('<=wide') {
13
+ width: 1200px;
14
+
15
+ &.medium {
16
+ width: (1200px * 0.75);
17
+ }
18
+ }
19
+
20
+ @include breakpoint('<=normal') {
21
+ width: 960px;
22
+
23
+ &.medium {
24
+ width: (980px * 0.75);
25
+ }
26
+ }
27
+
28
+ @include breakpoint('<=narrow') {
29
+ width: 95%;
30
+
31
+ &.medium {
32
+ width: (95% * 0.75);
33
+ }
34
+ }
35
+
36
+ @include breakpoint('<=narrower') {
37
+ width: 95%;
38
+
39
+ &.medium {
40
+ width: 95%;
41
+ }
42
+ }
43
+
44
+ @include breakpoint('<=mobile') {
45
+ width: 100%;
46
+
47
+ &.medium {
48
+ width: 100%;
49
+ }
50
+ }
51
+ }
@@ -0,0 +1,50 @@
1
+ /* Form */
2
+
3
+ input[type="text"],
4
+ input[type="password"],
5
+ input[type="email"],
6
+ textarea {
7
+ @include vendor('transition', ('background-color 0.2s ease-in-out', 'border-color 0.2s ease-in-out'));
8
+ @include vendor('appearance', 'none');
9
+ background: none;
10
+ border: solid 1px _palette(border);
11
+ border-radius: 0;
12
+ color: inherit;
13
+ display: block;
14
+ padding: 0.75em;
15
+ text-decoration: none;
16
+ width: 100%;
17
+ outline: 0;
18
+
19
+ &:focus {
20
+ border-color: _palette(one, bg);
21
+ }
22
+ }
23
+
24
+ input[type="text"],
25
+ input[type="password"],
26
+ input[type="email"] {
27
+ line-height: 1em;
28
+ }
29
+
30
+ ::-webkit-input-placeholder {
31
+ color: inherit;
32
+ opacity: 0.5;
33
+ position: relative;
34
+ top: 3px;
35
+ }
36
+
37
+ :-moz-placeholder {
38
+ color: inherit;
39
+ opacity: 0.5;
40
+ }
41
+
42
+ ::-moz-placeholder {
43
+ color: inherit;
44
+ opacity: 0.5;
45
+ }
46
+
47
+ :-ms-input-placeholder {
48
+ color: inherit;
49
+ opacity: 0.5;
50
+ }
@@ -0,0 +1,87 @@
1
+ /* Icon */
2
+
3
+ .icon {
4
+ @include icon;
5
+ position: relative;
6
+
7
+ &.circle {
8
+ @include vendor('transition', 'all 0.2s ease-in-out');
9
+ border: 0;
10
+ border-radius: 100%;
11
+ display: inline-block;
12
+ font-size: 1.25em;
13
+ height: 2.25em;
14
+ left: 0;
15
+ line-height: 2.25em;
16
+ text-align: center;
17
+ text-decoration: none;
18
+ top: 0;
19
+ width: 2.25em;
20
+
21
+ &:hover {
22
+ top: -0.2em;
23
+ }
24
+
25
+ &.fa-twitter {
26
+ background: _palette(twitter, bg);
27
+ color: _palette(twitter, fg);
28
+
29
+ &:hover {
30
+ background: lighten(_palette(twitter, bg), 4);
31
+ }
32
+ }
33
+
34
+ &.fa-facebook {
35
+ background: _palette(facebook, bg);
36
+ color: _palette(facebook, fg);
37
+
38
+ &:hover {
39
+ background: lighten(_palette(facebook, bg), 4);
40
+ }
41
+ }
42
+
43
+ &.fa-google-plus {
44
+ background: _palette(google-plus, bg);
45
+ color: _palette(google-plus, fg);
46
+
47
+ &:hover {
48
+ background: lighten(_palette(google-plus, bg), 4);
49
+ }
50
+ }
51
+
52
+ &.fa-github {
53
+ background: _palette(github, bg);
54
+ color: _palette(github, fg);
55
+
56
+ &:hover {
57
+ background: lighten(_palette(github, bg), 4);
58
+ }
59
+ }
60
+
61
+ &.fa-dribbble {
62
+ background: _palette(dribbble, bg);
63
+ color: _palette(dribbble, fg);
64
+
65
+ &:hover {
66
+ background: lighten(_palette(dribbble, bg), 4);
67
+ }
68
+ }
69
+ }
70
+
71
+ &.featured {
72
+ cursor: default;
73
+ display: block;
74
+ margin: 0 0 1.5em 0;
75
+ opacity: 0.35;
76
+ text-align: center;
77
+
78
+ &:before {
79
+ font-size: 5em;
80
+ line-height: 1em;
81
+ }
82
+ }
83
+
84
+ > .label {
85
+ display: none;
86
+ }
87
+ }
@@ -0,0 +1,45 @@
1
+ /* Icons */
2
+
3
+ ul.icons {
4
+ list-style: none;
5
+ padding-left: 0;
6
+ cursor: default;
7
+
8
+ li {
9
+ display: inline-block;
10
+ line-height: 1em;
11
+ padding-left: 0.5em;
12
+
13
+ &:first-child {
14
+ padding-left: 0;
15
+ }
16
+ }
17
+ }
18
+
19
+ /* Featured Icons */
20
+
21
+ ul.featured-icons {
22
+ cursor: default;
23
+ margin: -0.75em 0 0 0;
24
+ opacity: 0.35;
25
+ overflow: hidden;
26
+ position: relative;
27
+ list-style: none;
28
+ padding-left: 0;
29
+
30
+ li {
31
+ display: block;
32
+ float: left;
33
+ text-align: center;
34
+ width: 50%;
35
+ padding-left: 0;
36
+
37
+ .icon {
38
+ display: inline-block;
39
+ font-size: 6.25em;
40
+ height: 1.25em;
41
+ line-height: 1.25em;
42
+ width: 1em;
43
+ }
44
+ }
45
+ }
@@ -0,0 +1,35 @@
1
+ /* Image */
2
+
3
+ .image {
4
+ border: 0;
5
+ position: relative;
6
+
7
+ &:before {
8
+ background: url('images/overlay.png');
9
+ content: '';
10
+ height: 100%;
11
+ left: 0;
12
+ position: absolute;
13
+ top: 0;
14
+ width: 100%;
15
+ }
16
+
17
+ &.fit {
18
+ display: block;
19
+
20
+ img {
21
+ display: block;
22
+ width: 100%;
23
+ }
24
+ }
25
+
26
+ &.featured {
27
+ display: block;
28
+ margin: 0 0 2em 0;
29
+
30
+ img {
31
+ display: block;
32
+ width: 100%;
33
+ }
34
+ }
35
+ }
@@ -0,0 +1,19 @@
1
+ /* List */
2
+
3
+ ol {
4
+ list-style: decimal;
5
+ padding-left: 1.25em;
6
+
7
+ li {
8
+ padding-left: 0.25em;
9
+ }
10
+ }
11
+
12
+ ul {
13
+ list-style: disc;
14
+ padding-left: 1em;
15
+
16
+ li {
17
+ padding-left: 0.5em;
18
+ }
19
+ }