jscom_ice 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +17 -1
  3. data/_includes/carousel.html +15 -0
  4. data/_includes/contact-me-form.html +64 -0
  5. data/_includes/embed-audio.html +4 -0
  6. data/_includes/footer.html +11 -0
  7. data/_includes/header.html +165 -0
  8. data/_includes/john_landing.html +9 -0
  9. data/_includes/navbar.html +47 -0
  10. data/_includes/post_navigation.html +20 -0
  11. data/_includes/posts.html +33 -0
  12. data/_includes/scripts.html +16 -0
  13. data/_includes/tags.html +22 -0
  14. data/_includes/yearly_content.html +19 -0
  15. data/_layouts/default.html +38 -0
  16. data/_layouts/home.html +13 -0
  17. data/_layouts/lore.html +19 -0
  18. data/_layouts/page.html +15 -0
  19. data/_layouts/post.html +48 -0
  20. data/_sass/base/_base.scss +164 -0
  21. data/_sass/component/_all-components.scss +11 -0
  22. data/_sass/component/_author.scss +37 -0
  23. data/_sass/component/_carousel.scss +17 -0
  24. data/_sass/component/_code.scss +25 -0
  25. data/_sass/component/_codeblock.scss +32 -0
  26. data/_sass/component/_contact.scss +9 -0
  27. data/_sass/component/_form.scss +42 -0
  28. data/_sass/component/_highlight.scss +164 -0
  29. data/_sass/component/_navbar.scss +77 -0
  30. data/_sass/component/_post-navigation.scss +40 -0
  31. data/_sass/component/_posts.scss +36 -0
  32. data/_sass/component/_table.scss +19 -0
  33. data/_sass/layout/_footer.scss +20 -0
  34. data/_sass/layout/_layout.scss +104 -0
  35. data/_sass/main.scss +68 -0
  36. data/_sass/pages/_home.scss +5 -0
  37. data/_sass/pages/_page.scss +20 -0
  38. data/_sass/pages/_post.scss +57 -0
  39. data/assets/css/bootstrap.css.map +1 -0
  40. data/assets/css/bootstrap.min.css +6 -0
  41. data/assets/css/style.scss +4 -0
  42. data/assets/js/bootstrap.js +3894 -0
  43. data/assets/js/bootstrap.js.map +1 -0
  44. data/assets/js/bootstrap.min.js +7 -0
  45. data/assets/js/bootstrap.min.js.map +1 -0
  46. data/assets/js/jquery-3.7.0.min.js +2 -0
  47. data/assets/js/popper.min.js +6 -0
  48. metadata +47 -2
@@ -0,0 +1,164 @@
1
+ @mixin media-query($device) {
2
+ @media screen and (max-width: $device) {
3
+ @content;
4
+ }
5
+ }
6
+
7
+ @mixin relative-font-size($ratio) {
8
+ font-size: $base-font-size * $ratio;
9
+ }
10
+
11
+ .blurry {
12
+ overflow: hidden;
13
+ }
14
+
15
+ // Universally Remove Href Underlines
16
+ a {
17
+ text-decoration: none;
18
+ }
19
+
20
+ // horizontal rule
21
+ hr {
22
+ border-bottom: 0;
23
+ border-style: solid;
24
+ border-color: $light;
25
+ }
26
+
27
+ // Blockquotes
28
+ blockquote {
29
+ color: $gray;
30
+ font-style: italic;
31
+ text-align: center;
32
+ opacity: 0.9;
33
+ border-top: 1px solid $light;
34
+ border-bottom: 1px solid $light;
35
+ padding: 10px;
36
+ margin-left: 10px;
37
+ margin-right: 10px;
38
+ font-size: 1em;
39
+
40
+ > :last-child {
41
+ margin-bottom: 0;
42
+ margin-top: 0;
43
+ }
44
+ }
45
+
46
+ // List
47
+ ul {
48
+ list-style: none;
49
+ li {
50
+ display: list-item;
51
+ text-align: -webkit-match-parent;
52
+ }
53
+ li::before {
54
+ content: "\FE63";
55
+ display: inline-block;
56
+ top: -1px;
57
+ width: 1.2em;
58
+ position: relative;
59
+ margin-left: -1.3em;
60
+ font-weight: 700;
61
+ }
62
+ }
63
+
64
+ ol {
65
+ list-style: none;
66
+ counter-reset: li;
67
+ li {
68
+ position: relative;
69
+ counter-increment: li;
70
+ &::before {
71
+ content: counter(li);
72
+ display: inline-block;
73
+ width: 1em;
74
+ margin-right: 0.5em;
75
+ margin-left: -1.6em;
76
+ text-align: right;
77
+ direction: rtl;
78
+ font-weight: $bold-weight;
79
+ font-size: $small-font-size;
80
+ }
81
+ }
82
+ }
83
+
84
+ .container {
85
+ flex: 1 0 auto;
86
+ }
87
+
88
+ .footer {
89
+ flex-shrink: 0;
90
+ }
91
+
92
+ body {
93
+ // Universal Font to Reduce Footprint
94
+ font-family: Arial, sans-serif;
95
+ // make text easier on the eyes
96
+ -webkit-text-size-adjust: 100%;
97
+ -webkit-font-smoothing: antialiased;
98
+ -webkit-font-feature-settings: "kern" 1;
99
+ -moz-font-feature-settings: "kern" 1;
100
+ -o-font-feature-settings: "kern" 1;
101
+ font-feature-settings: "kern" 1;
102
+ font-kerning: normal;
103
+ box-sizing: border-box;
104
+
105
+ // should grow content area?
106
+ display: flex;
107
+ flex-direction: column;
108
+ min-height: 100vh;
109
+
110
+ img {
111
+ width: 100%;
112
+ height: auto;
113
+ }
114
+
115
+ color: $dark-text-base-color;
116
+ background-color: $dark-black;
117
+
118
+
119
+ // Universal Headers
120
+ h1, h2, h3, h4, h5, h6 {
121
+ color: $smoke;
122
+ font-weight: bold;
123
+ }
124
+
125
+
126
+ /** for `code tags` **/
127
+ code {
128
+ color: #2881d3;
129
+ // code highlight color
130
+ &.highlighter-rouge {
131
+ background-color: $dark-light;
132
+ }
133
+ }
134
+
135
+ // Blockquote
136
+ blockquote {
137
+ color: $darker-white;
138
+ border-color: $dark-light;
139
+ }
140
+
141
+ // Bold and Strong
142
+ strong,
143
+ b {
144
+ color: $dark-white;
145
+ }
146
+
147
+ // List
148
+ li {
149
+ &:before {
150
+ color: $dark-white;
151
+ }
152
+ }
153
+
154
+ a {
155
+ // Link Colors
156
+ color: $darker-text-link-blue;
157
+ &:hover,
158
+ &:active,
159
+ &:focus {
160
+ // On Hover Color
161
+ color: $darker-blue-grey;
162
+ }
163
+ }
164
+ }
@@ -0,0 +1,11 @@
1
+ @import 'author';
2
+ @import 'code';
3
+ @import 'codeblock';
4
+ @import 'contact';
5
+ @import 'form';
6
+ @import 'highlight';
7
+ @import 'navbar';
8
+ @import 'post-navigation';
9
+ @import 'posts';
10
+ @import 'table';
11
+ @import "carousel";
@@ -0,0 +1,37 @@
1
+ // Author
2
+ .john-landing {
3
+ margin-top: 7rem;
4
+ margin-bottom: 7rem;
5
+ text-align: center;
6
+ margin-inside: 15px;
7
+
8
+ @include media-query($on-mobile) {
9
+ margin-top: 3.5em;
10
+ margin-bottom: 3.5em;
11
+ }
12
+
13
+ .author-avatar {
14
+ width: 100px;
15
+ height: 100px;
16
+ border-radius: 100%;
17
+ user-select: none;
18
+ background-color: $black;
19
+ -ms-user-select: none;
20
+ -webkit-user-select: none;
21
+ -webkit-animation: 0.5s ease-in forwards fadein;
22
+ animation: 0.5s ease-in forwards fadein;
23
+ opacity: 1;
24
+ }
25
+
26
+ .author-name {
27
+ font-size: 1.7em;
28
+ margin-bottom: 2px;
29
+ }
30
+
31
+ .author-bio {
32
+ margin: 0 auto;
33
+ opacity: 0.9;
34
+ max-width: 393px;
35
+ line-height: 1.688;
36
+ }
37
+ }
@@ -0,0 +1,17 @@
1
+ .carousel-item {
2
+ img {
3
+ object-fit: cover; // This will cover the slide area, potentially cropping the image
4
+ width: 400px; // This will make the image take the full width of the slide
5
+ height: 100%; // This sets a fixed height for the images
6
+ }
7
+ }
8
+
9
+ .carousel-control-prev,
10
+ .carousel-control-next {
11
+ width: auto;
12
+ height: auto;
13
+ position: absolute;
14
+ top: auto; // This will remove the default top positioning
15
+ bottom: 10px; // This will position the controls at the bottom of the slide
16
+ transform: none; // This will remove the default transform
17
+ }
@@ -0,0 +1,25 @@
1
+ code {
2
+ font-family: "Fira Code", monospace;
3
+ text-rendering: optimizeLegibility;
4
+ font-feature-settings: "calt" 1;
5
+ font-variant-ligatures: normal;
6
+ //white-space: pre;
7
+ word-spacing: normal;
8
+ word-break: normal;
9
+ word-wrap: normal;
10
+ font-size: 1em;
11
+ //line-height: 1.5em;
12
+ //border-radius: 2px;
13
+ //padding: 0.5em;
14
+ color: #333;
15
+ padding-bottom: 0;
16
+
17
+ &.highlighter-rouge {
18
+ padding: 1px 3px;
19
+ //position: relative;
20
+ top: -1px;
21
+ background-color: #f6f6f6;
22
+ border-radius: 2px;
23
+ border: 1px solid rgba(128,128,128,0.1);
24
+ }
25
+ }
@@ -0,0 +1,32 @@
1
+ pre.highlight, pre {
2
+ margin: 0px; // this helped partially resolve code block spacing in articles
3
+ @include media-query($on-mobile) {
4
+ margin: 0 calc(51% - 51vw);
5
+ padding-left: 20px;
6
+ }
7
+ border: 1px solid rgba(128,128,128,0.1);
8
+ background-color: #1a1b21;
9
+ border-radius: 1px;
10
+ padding: 10px;
11
+ display: block;
12
+ overflow-x: auto;
13
+
14
+ > code {
15
+ width: 100%;
16
+ max-width: 50rem;
17
+ margin-left: auto;
18
+ margin-right: auto;
19
+ line-height: 1.5;
20
+ font-size: smaller;
21
+ display: block;
22
+ border: 0;
23
+ }
24
+ }
25
+
26
+ .highlight table td {
27
+ padding: 5px;
28
+ }
29
+
30
+ .highlight table pre {
31
+ margin: 0;
32
+ }
@@ -0,0 +1,9 @@
1
+
2
+ #contactMeForm {
3
+
4
+ .btn {
5
+
6
+ width: 100%;
7
+ }
8
+
9
+ }
@@ -0,0 +1,42 @@
1
+ form {
2
+ margin: 0 auto;
3
+ width: 100%;
4
+ padding: 1em;
5
+ border: 1px solid #CCC;
6
+ border-radius: 1em;
7
+ }
8
+
9
+ .form-control {
10
+ margin-bottom: 10px;
11
+ }
12
+
13
+ label {
14
+ display: inline-block;
15
+ width: 90px;
16
+ text-align: right;
17
+ }
18
+
19
+ input,
20
+ textarea {
21
+ font: 1em sans-serif;
22
+ width: 300px;
23
+ box-sizing: border-box;
24
+ border: 1px solid #999;
25
+ }
26
+
27
+ input:focus,
28
+ textarea:focus {
29
+ border-color: #000;
30
+ }
31
+
32
+ textarea {
33
+ vertical-align: top;
34
+ height: 5em;
35
+ }
36
+
37
+ .button {
38
+ padding-left: 90px;
39
+ }
40
+
41
+
42
+
@@ -0,0 +1,164 @@
1
+ // Codeblock Theme
2
+ pre.highlight, pre {
3
+ margin: 0px; // this helped partially resolve code block spacing in articles
4
+ @include media-query($on-mobile) {
5
+ margin: 0 calc(51% - 51vw);
6
+ padding-left: 20px;
7
+ }
8
+ border: 1px solid rgba(128,128,128,0.1);
9
+ background-color: #1a1b21;
10
+ border-radius: 2px;
11
+ padding: 10px;
12
+ display: block;
13
+ overflow-x: auto;
14
+
15
+ > code {
16
+ width: 100%;
17
+ max-width: 50rem;
18
+ margin-left: auto;
19
+ margin-right: auto;
20
+ line-height: 1.5;
21
+ font-size: smaller; // helps reduce scroll frequency
22
+ display: block;
23
+ border: 0;
24
+ }
25
+ }
26
+
27
+ .highlight table td {
28
+ padding: 5px;
29
+ }
30
+
31
+ .highlight table pre {
32
+ margin: 0;
33
+ }
34
+
35
+ .highlight,
36
+ .highlight .w {
37
+ color: #fbf1c7;
38
+ // background-color: #1a1b21;
39
+ }
40
+
41
+ .highlight .err {
42
+ color: #fb4934;
43
+ // background-color: #1a1b21;
44
+ font-weight: bold;
45
+ }
46
+
47
+ .highlight .c,
48
+ .highlight .cd,
49
+ .highlight .cm,
50
+ .highlight .c1,
51
+ .highlight .cs {
52
+ color: #928374;
53
+ font-style: italic;
54
+ }
55
+
56
+ .highlight .cp {
57
+ color: #8ec07c;
58
+ }
59
+
60
+ .highlight .nt {
61
+ color: #fb4934;
62
+ }
63
+
64
+ .highlight .o,
65
+ .highlight .ow {
66
+ color: #fbf1c7;
67
+ }
68
+
69
+ .highlight .p,
70
+ .highlight .pi {
71
+ color: #fbf1c7;
72
+ }
73
+
74
+ .highlight .gi {
75
+ color: #b8bb26;
76
+ background-color: #282828;
77
+ }
78
+
79
+ .highlight .gd {
80
+ color: #fb4934;
81
+ background-color: #282828;
82
+ }
83
+
84
+ .highlight .gh {
85
+ color: #b8bb26;
86
+ font-weight: bold;
87
+ }
88
+
89
+ .highlight .k,
90
+ .highlight .kn,
91
+ .highlight .kp,
92
+ .highlight .kr,
93
+ .highlight .kv {
94
+ color: #fb4934;
95
+ }
96
+
97
+ .highlight .kc {
98
+ color: #d3869b;
99
+ }
100
+
101
+ .highlight .kt {
102
+ color: #fabd2f;
103
+ }
104
+
105
+ .highlight .kd {
106
+ color: #fe8019;
107
+ }
108
+
109
+ .highlight .s,
110
+ .highlight .sb,
111
+ .highlight .sc,
112
+ .highlight .sd,
113
+ .highlight .s2,
114
+ .highlight .sh,
115
+ .highlight .sx,
116
+ .highlight .s1 {
117
+ color: #b8bb26;
118
+ font-style: italic;
119
+ }
120
+
121
+ .highlight .si {
122
+ color: #b8bb26;
123
+ font-style: italic;
124
+ }
125
+
126
+ .highlight .sr {
127
+ color: #b8bb26;
128
+ font-style: italic;
129
+ }
130
+
131
+ .highlight .se {
132
+ color: #fe8019;
133
+ }
134
+
135
+ .highlight .nn {
136
+ color: #8ec07c;
137
+ }
138
+
139
+ .highlight .nc {
140
+ color: #8ec07c;
141
+ }
142
+
143
+ .highlight .no {
144
+ color: #d3869b;
145
+ }
146
+
147
+ .highlight .na {
148
+ color: #b8bb26;
149
+ }
150
+
151
+ .highlight .m,
152
+ .highlight .mf,
153
+ .highlight .mh,
154
+ .highlight .mi,
155
+ .highlight .il,
156
+ .highlight .mo,
157
+ .highlight .mb,
158
+ .highlight .mx {
159
+ color: #d3869b;
160
+ }
161
+
162
+ .highlight .ss {
163
+ color: #83a598;
164
+ }
@@ -0,0 +1,77 @@
1
+ // Navbar
2
+ .navbar {
3
+ border-color: $dark-light;
4
+ position: relative;
5
+
6
+ margin-right: auto;
7
+ margin-left: auto;
8
+ border-bottom: 1px solid $dark-smoke;
9
+
10
+
11
+ .nav-link:not(:last-child) {
12
+ //font-size: 18px;
13
+ color: whitesmoke;
14
+ opacity: .7;
15
+ }
16
+ .nav-link {
17
+ &:hover {
18
+ color: $white;
19
+ opacity: 1;
20
+ }
21
+ }
22
+
23
+ /* This removes the list dashes in the navbar */
24
+ li:before {
25
+ content: none;
26
+ }
27
+
28
+ .dropdown-menu {
29
+ background-color: #343a40;
30
+ color: $dark-white;
31
+ }
32
+
33
+
34
+ .navbar-toggler {
35
+ margin-left: auto;
36
+ }
37
+
38
+ @media ($on-mobile) {
39
+ .navbar-nav .nav-link {
40
+ text-align: center;
41
+ }
42
+ }
43
+
44
+ @media (max-width: 1000px) {
45
+ .navbar-nav .nav-link {
46
+ text-align: center;
47
+ }
48
+ }
49
+
50
+
51
+ .menu {
52
+ a#mode {
53
+ display: none;
54
+ }
55
+
56
+ .menu-link {
57
+ color: $dark-white;
58
+ }
59
+ @include media-query($on-mobile) {
60
+ background-color: $dark-black;
61
+ border-color: $dark-light;
62
+
63
+ .menu-icon {
64
+ > svg {
65
+ fill: $dark-white;
66
+ }
67
+ }
68
+
69
+ input[type="checkbox"]:checked ~ .trigger {
70
+ background: $dark-black;
71
+ }
72
+ }
73
+ }
74
+ }
75
+
76
+
77
+
@@ -0,0 +1,40 @@
1
+ $post-nav-item-color: #000; // Black color for post-nav-item
2
+ $post-title-color: #666; // Dark gray color for post-title
3
+
4
+ .post-navigation {
5
+ .post-nav-item {
6
+ color: $post-nav-item-color;
7
+ font-weight: bold;
8
+
9
+ .post-title {
10
+ color: $post-title-color;
11
+ // Add any additional styles for the title here
12
+ }
13
+ }
14
+
15
+ .post-nav-prev {
16
+ color: $dark-text-link-blue;
17
+ font-family: Arial !important;
18
+ opacity: 0.9;
19
+ text-align: left;
20
+
21
+ &:hover {
22
+ color: $grey-blue;
23
+ }
24
+ }
25
+
26
+ .post-nav-next {
27
+ color: $dark-text-link-blue;
28
+ font-family: Arial !important;
29
+ opacity: 0.9;
30
+ text-align: right;
31
+
32
+ .post-title {
33
+ text-align: right;
34
+ }
35
+
36
+ &:hover {
37
+ color: $grey-blue;
38
+ }
39
+ }
40
+ }
@@ -0,0 +1,36 @@
1
+ .posts-wrapper {
2
+ background-color: transparent;
3
+ padding: 10px;
4
+
5
+ .posts-item-note {
6
+ color: $dark-text-link-blue;
7
+ font-size: 25px;
8
+ }
9
+
10
+ .post-item {
11
+ border-top: transparent;
12
+ }
13
+
14
+ // last post item won't have a border
15
+ .post-item:not(:last-child) {
16
+ border-bottom: 1px solid $dark-light;
17
+ margin-bottom: 1px;
18
+ }
19
+
20
+ span.post-item-date {
21
+ display: block;
22
+ color: $dark-white;
23
+ font-weight: bold;
24
+ }
25
+
26
+ .post-item-title a {
27
+ color: $smoke;
28
+ //font-weight: bold;
29
+ }
30
+
31
+ .post-item-title a:hover {
32
+ color: $darker-blue-grey
33
+ }
34
+ }
35
+
36
+
@@ -0,0 +1,19 @@
1
+ table {
2
+ width: 95%;
3
+ margin-top: $spacing-half;
4
+ margin-bottom: $spacing-half;
5
+ border-collapse: collapse;
6
+ font-size: $small-font-size;
7
+
8
+ thead {
9
+ font-weight: $bold-weight;
10
+ color: $black;
11
+ border-bottom: 1px solid $light;
12
+ }
13
+ th,
14
+ td,
15
+ tr {
16
+ border: 1px solid $dark-smoke;
17
+ padding: 2px 7px;
18
+ }
19
+ }
@@ -0,0 +1,20 @@
1
+
2
+ .footer {
3
+ bottom: 0;
4
+ width: 100%;
5
+ border-color: $dark-light;
6
+
7
+ a.footer_item {
8
+ color: $dark-white;
9
+ text-decoration: none;
10
+ }
11
+
12
+ a.footer_item:hover {
13
+ color: $grey-blue;
14
+ text-decoration: none;
15
+ }
16
+ }
17
+
18
+ .copyright-text {
19
+ color: $smoke;
20
+ }