jekyll-theme-collider 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +155 -0
  4. data/_includes/header.html +35 -0
  5. data/_includes/pagination.html +26 -0
  6. data/_layouts/about.html +23 -0
  7. data/_layouts/blog.html +38 -0
  8. data/_layouts/contact.html +22 -0
  9. data/_layouts/default.html +19 -0
  10. data/_layouts/home.html +18 -0
  11. data/_layouts/post.html +31 -0
  12. data/_layouts/thanks.html +12 -0
  13. data/_sass/jekyll-theme-collider.scss +6 -0
  14. data/_sass/jekyll-theme-collider/components/_contact.scss +74 -0
  15. data/_sass/jekyll-theme-collider/components/_header.scss +88 -0
  16. data/_sass/jekyll-theme-collider/components/_pagination.scss +45 -0
  17. data/_sass/jekyll-theme-collider/components/_particles.scss +14 -0
  18. data/_sass/jekyll-theme-collider/components/_post-list.scss +63 -0
  19. data/_sass/jekyll-theme-collider/components/_site-title.scss +47 -0
  20. data/_sass/jekyll-theme-collider/elements/_colors.scss +95 -0
  21. data/_sass/jekyll-theme-collider/elements/_elements.scss +13 -0
  22. data/_sass/jekyll-theme-collider/generic/_font.scss +39 -0
  23. data/_sass/jekyll-theme-collider/generic/_normalize.scss +23 -0
  24. data/_sass/jekyll-theme-collider/helpers/_helpers.scss +7 -0
  25. data/_sass/jekyll-theme-collider/jekyll-theme-collider.scss +25 -0
  26. data/_sass/jekyll-theme-collider/settings/_colors.scss +15 -0
  27. data/assets/css/main.scss +4 -0
  28. data/assets/fonts/OperatorMonoSSm-Bold.otf +0 -0
  29. data/assets/fonts/OperatorMonoSSm-BoldItalic.otf +0 -0
  30. data/assets/fonts/OperatorMonoSSm-Book.otf +0 -0
  31. data/assets/fonts/OperatorMonoSSm-BookItalic.otf +0 -0
  32. data/assets/fonts/OperatorMonoSSm-Light.otf +0 -0
  33. data/assets/fonts/OperatorMonoSSm-LightItalic.otf +0 -0
  34. data/assets/fonts/OperatorMonoSSm-Medium.otf +0 -0
  35. data/assets/fonts/OperatorMonoSSm-MediumItalic.otf +0 -0
  36. data/assets/images/theme-image.png +0 -0
  37. data/assets/js/app.js +133 -0
  38. data/assets/js/particles.js +1541 -0
  39. metadata +151 -0
@@ -0,0 +1,88 @@
1
+ header {
2
+ position: relative;
3
+ padding-top: 1.125em;
4
+ padding-bottom: 1.125em;
5
+ padding-left: 1.5em;
6
+ padding-right: 1.5em;
7
+ }
8
+
9
+ nav {
10
+ width: 100%;
11
+ pointer-events: none;
12
+ & ul {
13
+ margin: 0;
14
+ padding-top: 0.2em;
15
+ float: right;
16
+ font-family: "Operator Mono SSm-Light";
17
+ }
18
+ & li {
19
+ display: inline;
20
+ padding: 0.5em;
21
+ pointer-events: all;
22
+ }
23
+ }
24
+
25
+ .header__home {
26
+ float: left;
27
+ font-family: "Operator Mono SSm-Bold Italic";
28
+ text-decoration: none;
29
+ color: $white;
30
+ pointer-events: all;
31
+ transition: color 0.5s;
32
+ &:hover {
33
+ color: #343A40;
34
+ }
35
+ }
36
+
37
+ .header__link {
38
+ text-decoration: none;
39
+ color: $white;
40
+ transition: color 0.5s;
41
+ &:hover {
42
+ color: $outer-space;
43
+ }
44
+ }
45
+
46
+ // .header__homepage only renders if on homepage, see liquid in header element
47
+ header.header__homepage {
48
+ position: absolute;
49
+ background: transparent;
50
+ & ul {
51
+ position: fixed;
52
+ right: 1.5em;
53
+ }
54
+ }
55
+
56
+ .header__title {
57
+ margin: 2em auto 1.5em auto;
58
+ padding-left: 4.5rem;
59
+ padding-right: 4.5rem;
60
+ text-align: center;
61
+ font-family: "Operator Mono SSm-Bold";
62
+ font-size: 2.75em;
63
+ color: $white;
64
+ }
65
+
66
+ @media all and (max-width: 550px) {
67
+ .header__home {
68
+ float: unset;
69
+ }
70
+ .header__homepage {
71
+ width: 100%;
72
+ }
73
+ header.header__homepage ul {
74
+ position: unset;
75
+ right: unset;
76
+ }
77
+ .header__title {
78
+ padding: 0;
79
+ }
80
+ nav {
81
+ text-align: center;
82
+ & ul {
83
+ padding: 0;
84
+ float: none;
85
+ margin-top: 1em;
86
+ }
87
+ }
88
+ }
@@ -0,0 +1,45 @@
1
+ .pagination {
2
+ padding: 3em 0 0 0;
3
+ text-align: center;
4
+ list-style: none;
5
+ & a {
6
+ text-decoration: none;
7
+ }
8
+ }
9
+
10
+ .pagination a {
11
+ display: inline-block;
12
+ border: 0.05em solid $jumbo-gray;
13
+ padding: 0.7em;
14
+ margin-top: 0.5em;
15
+ transition: color 0.5s, background-color 0.5s, font-size 0.5s, padding 0.5s;
16
+ cursor: pointer;
17
+ &:hover {
18
+ background-color: $jumbo-gray;
19
+ color: $white;
20
+ }
21
+ }
22
+
23
+ .pagination li:hover a {
24
+ color: $white;
25
+ }
26
+
27
+ .selected {
28
+ background-color: $jumbo-gray;
29
+ color: $white;
30
+ }
31
+
32
+ .selected a {
33
+ color: $white;
34
+ transition: color 0.5s;
35
+ &:hover {
36
+ color: $outer-space;
37
+ }
38
+ }
39
+
40
+ @media all and (max-width: 450px) {
41
+ .pagination li {
42
+ padding: 0.5em;
43
+ font-size: 13px;
44
+ }
45
+ }
@@ -0,0 +1,14 @@
1
+ #particles-js {
2
+ background: $dark-sea-green;
3
+ vertical-align: bottom;
4
+ min-height: 95.1vh;
5
+ background-repeat: no-repeat;
6
+ background-size: cover;
7
+ background-attachment: fixed;
8
+ position: relative;
9
+ }
10
+
11
+ .particles-js-canvas-el {
12
+ width: 100% !important;
13
+ height: 100vh !important;
14
+ }
@@ -0,0 +1,63 @@
1
+ .post-list {
2
+ max-width: 45em;
3
+ padding: 1em 1em 4em 1em;
4
+ margin-left: auto;
5
+ margin-right: auto;
6
+ & li {
7
+ list-style: none;
8
+ }
9
+ &.about {
10
+ padding-top: 2em;
11
+ }
12
+ }
13
+
14
+ .post-list__link {
15
+ text-decoration: none;
16
+ font-size: 42px;
17
+ transition: color 0.5s;
18
+ font-family: "Operator Mono SSm-Medium";
19
+ &:hover {
20
+ color: lighten($mine-shaft, $lighten--button);
21
+ }
22
+ }
23
+
24
+ @media all and (max-width: 800px) {
25
+ .post-list__link {
26
+ font-size: 36px;
27
+ }
28
+ }
29
+
30
+ .post-list__meta {
31
+ display: flex;
32
+ }
33
+
34
+ .post-list__tags {
35
+ margin-top: 1em;
36
+ padding-right: 0.5em;
37
+ }
38
+
39
+ .post-list__tags a {
40
+ text-decoration: none;
41
+ transition: color 0.5s;
42
+ transition: background-color 0.5s;
43
+ border-radius: 5px;
44
+ padding: 5px 8px;
45
+ color: $white;
46
+ &:visited {
47
+ color: $white;
48
+ }
49
+ &:hover {
50
+ color: $white;
51
+ }
52
+ }
53
+
54
+ .post-list__read-more {
55
+ transition: color 0.5s;
56
+ &:hover {
57
+ color: lighten($mine-shaft, $lighten--button);
58
+ }
59
+ }
60
+
61
+ .post.post-list {
62
+ margin-top: 2em;
63
+ }
@@ -0,0 +1,47 @@
1
+ .site-title__wrapper {
2
+ text-align: center;
3
+ color: $white;
4
+ position: absolute;
5
+ top: 50%;
6
+ left: 50%;
7
+ margin: 0 auto;
8
+ -webkit-transform: translate(-50%, -50%);
9
+ transform: translate(-50%, -50%);
10
+ font-family: "Operator Mono SSm-Medium";
11
+ z-index: 1;
12
+ pointer-events: none;
13
+ }
14
+
15
+ .site-title__text {
16
+ font-size: 75px;
17
+ display: block;
18
+ line-height: 1;
19
+ transition: font-size 0.2s;
20
+ padding-bottom: 0.1em;
21
+ }
22
+
23
+ .site-title__text--sub {
24
+ font-size: 20px;
25
+ margin-top: 10px;
26
+ transition: font-size 0.2s;
27
+ }
28
+
29
+ @media only screen and (min-width: 550px) {
30
+ .site-title__text {
31
+ font-size: 100px;
32
+ }
33
+ .site-title__text--sub {
34
+ font-size: 40px;
35
+ }
36
+ }
37
+
38
+ i {
39
+ pointer-events: all !important;
40
+ cursor: pointer;
41
+ padding: 0 0.15em;
42
+ transition: color 0.5s;
43
+ color: $white;
44
+ &:hover {
45
+ color: #343A40;
46
+ }
47
+ }
@@ -0,0 +1,95 @@
1
+ .purple {
2
+ color: $purple-rain;
3
+ &.icon {
4
+ fill: $purple-rain;
5
+ }
6
+ }
7
+
8
+ .bg--purple {
9
+ background: $purple-rain;
10
+ color: $white;
11
+ }
12
+
13
+ a.bg--purple:hover {
14
+ background: darken($purple-rain, $darken--button);
15
+ }
16
+
17
+ .gray {
18
+ color: $jumbo-gray;
19
+ &.icon {
20
+ fill: $jumbo-gray;
21
+ }
22
+ }
23
+
24
+ .bg--gray {
25
+ background: $jumbo-gray;
26
+ color: $white;
27
+ }
28
+
29
+ a.bg--gray:hover {
30
+ background: darken($jumbo-gray, $darken--button);
31
+ }
32
+
33
+ .green {
34
+ color: $dark-sea-green;
35
+ &.icon {
36
+ fill: $dark-sea-green;
37
+ }
38
+ }
39
+
40
+ .bg--green {
41
+ background: $dark-sea-green;
42
+ color: $white;
43
+ }
44
+
45
+ a.bg--green:hover {
46
+ background: darken($dark-sea-green, $darken--button);
47
+ }
48
+
49
+ .pink {
50
+ color: $sea-pink;
51
+ &.icon {
52
+ fill: $sea-pink;
53
+ }
54
+ }
55
+
56
+ .bg--pink {
57
+ background: $sea-pink;
58
+ color: $white;
59
+ }
60
+
61
+ a.bg--pink:hover {
62
+ background: darken($sea-pink, $darken--button);
63
+ }
64
+
65
+ .orange {
66
+ color: $channel-orange;
67
+ &.icon {
68
+ fill: $channel-orange;
69
+ }
70
+ }
71
+
72
+ .bg--orange {
73
+ background: $channel-orange;
74
+ color: $white;
75
+ }
76
+
77
+ a.bg--orange:hover {
78
+ background: darken($channel-orange, $darken--button);
79
+ }
80
+
81
+ .bittersweet {
82
+ color: $bittersweet;
83
+ &.icon {
84
+ fill: $bittersweet;
85
+ }
86
+ }
87
+
88
+ .bg--bittersweet {
89
+ background: $bittersweet;
90
+ color: $white;
91
+ }
92
+
93
+ a.bg--bittersweet:hover {
94
+ background: darken($bittersweet, $darken--button);
95
+ }
@@ -0,0 +1,13 @@
1
+ a {
2
+ color: $mine-shaft;
3
+ transition: color 0.5s;
4
+ }
5
+
6
+ a:hover {
7
+ color: lighten($mine-shaft, $lighten--button);
8
+ }
9
+
10
+ p {
11
+ line-height: 1.25;
12
+ overflow-wrap: break-word;
13
+ }
@@ -0,0 +1,39 @@
1
+ @font-face {
2
+ font-family: "Operator Mono SSm-Bold";
3
+ src: url("../../../assets/fonts/OperatorMonoSSm-Bold.otf");
4
+ }
5
+
6
+ @font-face {
7
+ font-family: "Operator Mono SSm-Bold Italic";
8
+ src: url("../../../assets/fonts/OperatorMonoSSm-BoldItalic.otf");
9
+ }
10
+
11
+ @font-face {
12
+ font-family: "Operator Mono SSm-Book";
13
+ src: url("../../../assets/fonts/OperatorMonoSSm-Book.otf");
14
+ }
15
+
16
+ @font-face {
17
+ font-family: "Operator Mono SSm-BookItalic";
18
+ src: url("../../../assets/fonts/OperatorMonoSSm-BookItalic.otf");
19
+ }
20
+
21
+ @font-face {
22
+ font-family: "Operator Mono SSm-Light";
23
+ src: url("../../../assets/fonts/OperatorMonoSSm-Light.otf");
24
+ }
25
+
26
+ @font-face {
27
+ font-family: "Operator Mono SSm-LightItalic";
28
+ src: url("../../../assets/fonts/OperatorMonoSSm-LightItalic.otf");
29
+ }
30
+
31
+ @font-face {
32
+ font-family: "Operator Mono SSm-Medium";
33
+ src: url("../../../assets/fonts/OperatorMonoSSm-Medium.otf");
34
+ }
35
+
36
+ @font-face {
37
+ font-family: "Operator Mono SSm-MediumItalic";
38
+ src: url("../../../assets/fonts/OperatorMonoSSm-MediumItalic.otf");
39
+ }
@@ -0,0 +1,23 @@
1
+ html,
2
+ body {
3
+ box-sizing: border-box;
4
+ margin: 0;
5
+ padding: 0;
6
+ color: $mine-shaft;
7
+ }
8
+
9
+ *,
10
+ *:before,
11
+ *:after {
12
+ box-sizing: inherit;
13
+ font-family: "Operator Mono SSm-Book";
14
+ }
15
+
16
+ .fab:before {
17
+ font-family: unset;
18
+ }
19
+
20
+ ::selection {
21
+ background-color: #000;
22
+ color: $white;
23
+ }
@@ -0,0 +1,7 @@
1
+ .left {
2
+ float: left;
3
+ }
4
+
5
+ .right {
6
+ float: right;
7
+ }