jekyll-theme-backwhite 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +1012 -0
  4. data/_includes/back.html +30 -0
  5. data/_includes/head.html +14 -0
  6. data/_layouts/default.html +13 -0
  7. data/_layouts/post.html +11 -0
  8. data/_sass/fontawesome/_animated.scss +20 -0
  9. data/_sass/fontawesome/_bordered-pulled.scss +20 -0
  10. data/_sass/fontawesome/_core.scss +21 -0
  11. data/_sass/fontawesome/_fixed-width.scss +6 -0
  12. data/_sass/fontawesome/_icons.scss +1410 -0
  13. data/_sass/fontawesome/_larger.scss +23 -0
  14. data/_sass/fontawesome/_list.scss +18 -0
  15. data/_sass/fontawesome/_mixins.scss +56 -0
  16. data/_sass/fontawesome/_rotated-flipped.scss +24 -0
  17. data/_sass/fontawesome/_screen-reader.scss +5 -0
  18. data/_sass/fontawesome/_shims.scss +2066 -0
  19. data/_sass/fontawesome/_stacked.scss +31 -0
  20. data/_sass/fontawesome/_variables.scss +1427 -0
  21. data/_sass/fontawesome/brands.scss +23 -0
  22. data/_sass/fontawesome/fontawesome.scss +16 -0
  23. data/_sass/fontawesome/regular.scss +23 -0
  24. data/_sass/fontawesome/solid.scss +24 -0
  25. data/_sass/fontawesome/v4-shims.scss +6 -0
  26. data/_sass/jekyll-theme-backwhite/_back.scss +75 -0
  27. data/_sass/jekyll-theme-backwhite/_base.scss +106 -0
  28. data/_sass/jekyll-theme-backwhite/_form.scss +172 -0
  29. data/_sass/jekyll-theme-backwhite/_front.scss +40 -0
  30. data/_sass/jekyll-theme-backwhite/_misc.scss +102 -0
  31. data/_sass/jekyll-theme-backwhite/_mixins.scss +33 -0
  32. data/_sass/jekyll-theme-backwhite/_syntax-highlighting.scss +79 -0
  33. data/_sass/jekyll-theme-backwhite.scss +47 -0
  34. data/assets/css/main.scss +4 -0
  35. data/assets/fonts/consolas.ttf +0 -0
  36. data/assets/fonts/fa-brands-400.eot +0 -0
  37. data/assets/fonts/fa-brands-400.svg +3570 -0
  38. data/assets/fonts/fa-brands-400.ttf +0 -0
  39. data/assets/fonts/fa-brands-400.woff +0 -0
  40. data/assets/fonts/fa-brands-400.woff2 +0 -0
  41. data/assets/fonts/fa-regular-400.eot +0 -0
  42. data/assets/fonts/fa-regular-400.svg +803 -0
  43. data/assets/fonts/fa-regular-400.ttf +0 -0
  44. data/assets/fonts/fa-regular-400.woff +0 -0
  45. data/assets/fonts/fa-regular-400.woff2 +0 -0
  46. data/assets/fonts/fa-solid-900.eot +0 -0
  47. data/assets/fonts/fa-solid-900.svg +4700 -0
  48. data/assets/fonts/fa-solid-900.ttf +0 -0
  49. data/assets/fonts/fa-solid-900.woff +0 -0
  50. data/assets/fonts/fa-solid-900.woff2 +0 -0
  51. data/assets/js/backwhite.js +10745 -0
  52. metadata +135 -0
@@ -0,0 +1,23 @@
1
+ /*!
2
+ * Font Awesome Free 5.12.1 by @fontawesome - https://fontawesome.com
3
+ * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4
+ */
5
+ @import 'variables';
6
+
7
+ @font-face {
8
+ font-family: 'Font Awesome 5 Brands';
9
+ font-style: normal;
10
+ font-weight: 400;
11
+ font-display: $fa-font-display;
12
+ src: url('#{$fa-font-path}/fa-brands-400.eot');
13
+ src: url('#{$fa-font-path}/fa-brands-400.eot?#iefix') format('embedded-opentype'),
14
+ url('#{$fa-font-path}/fa-brands-400.woff2') format('woff2'),
15
+ url('#{$fa-font-path}/fa-brands-400.woff') format('woff'),
16
+ url('#{$fa-font-path}/fa-brands-400.ttf') format('truetype'),
17
+ url('#{$fa-font-path}/fa-brands-400.svg#fontawesome') format('svg');
18
+ }
19
+
20
+ .fab {
21
+ font-family: 'Font Awesome 5 Brands';
22
+ font-weight: 400;
23
+ }
@@ -0,0 +1,16 @@
1
+ /*!
2
+ * Font Awesome Free 5.12.1 by @fontawesome - https://fontawesome.com
3
+ * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4
+ */
5
+ @import 'variables';
6
+ @import 'mixins';
7
+ @import 'core';
8
+ @import 'larger';
9
+ @import 'fixed-width';
10
+ @import 'list';
11
+ @import 'bordered-pulled';
12
+ @import 'animated';
13
+ @import 'rotated-flipped';
14
+ @import 'stacked';
15
+ @import 'icons';
16
+ @import 'screen-reader';
@@ -0,0 +1,23 @@
1
+ /*!
2
+ * Font Awesome Free 5.12.1 by @fontawesome - https://fontawesome.com
3
+ * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4
+ */
5
+ @import 'variables';
6
+
7
+ @font-face {
8
+ font-family: 'Font Awesome 5 Free';
9
+ font-style: normal;
10
+ font-weight: 400;
11
+ font-display: $fa-font-display;
12
+ src: url('#{$fa-font-path}/fa-regular-400.eot');
13
+ src: url('#{$fa-font-path}/fa-regular-400.eot?#iefix') format('embedded-opentype'),
14
+ url('#{$fa-font-path}/fa-regular-400.woff2') format('woff2'),
15
+ url('#{$fa-font-path}/fa-regular-400.woff') format('woff'),
16
+ url('#{$fa-font-path}/fa-regular-400.ttf') format('truetype'),
17
+ url('#{$fa-font-path}/fa-regular-400.svg#fontawesome') format('svg');
18
+ }
19
+
20
+ .far {
21
+ font-family: 'Font Awesome 5 Free';
22
+ font-weight: 400;
23
+ }
@@ -0,0 +1,24 @@
1
+ /*!
2
+ * Font Awesome Free 5.12.1 by @fontawesome - https://fontawesome.com
3
+ * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4
+ */
5
+ @import 'variables';
6
+
7
+ @font-face {
8
+ font-family: 'Font Awesome 5 Free';
9
+ font-style: normal;
10
+ font-weight: 900;
11
+ font-display: $fa-font-display;
12
+ src: url('#{$fa-font-path}/fa-solid-900.eot');
13
+ src: url('#{$fa-font-path}/fa-solid-900.eot?#iefix') format('embedded-opentype'),
14
+ url('#{$fa-font-path}/fa-solid-900.woff2') format('woff2'),
15
+ url('#{$fa-font-path}/fa-solid-900.woff') format('woff'),
16
+ url('#{$fa-font-path}/fa-solid-900.ttf') format('truetype'),
17
+ url('#{$fa-font-path}/fa-solid-900.svg#fontawesome') format('svg');
18
+ }
19
+
20
+ .fa,
21
+ .fas {
22
+ font-family: 'Font Awesome 5 Free';
23
+ font-weight: 900;
24
+ }
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Font Awesome Free 5.12.1 by @fontawesome - https://fontawesome.com
3
+ * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4
+ */
5
+ @import 'variables';
6
+ @import 'shims';
@@ -0,0 +1,75 @@
1
+ .bw-back {
2
+ // Positioning
3
+ position: fixed;
4
+
5
+ /* This tells css to ensure that this
6
+ * layer is in the back, regardless of
7
+ * how it's included in the document.
8
+ * It is exactly what it says, the
9
+ * z-axis position of the element */
10
+ z-index: -1;
11
+
12
+ /* Back panel sizing. Fill vertically from
13
+ * top to bottom. Horizontally, start at
14
+ * left, be $desktop-menu-size wide*/
15
+ top: 0%;
16
+ left: 0%;
17
+ bottom: 0%;
18
+ width: $desktop-menu-size;
19
+
20
+ // Styling
21
+ background-color: $back-color;
22
+ border-color: $white-color;
23
+ color: $white-color;
24
+
25
+ // Align text
26
+ text-align: right;
27
+
28
+ // Fill entire screen on mobile
29
+ @include on-mobile {
30
+ top: 0%;
31
+ left: 0%;
32
+ bottom: 0%;
33
+ width: 100%;
34
+ };
35
+
36
+ // Container
37
+ .bw-back-container {
38
+ // Text align
39
+ text-align: right;
40
+ display: block;
41
+ &.visible {
42
+ display: block;
43
+ }
44
+
45
+ // Padding
46
+ padding: $spacing-unit;
47
+ margin: 0;
48
+ @include on-mobile {
49
+ margin-left: $spacing-unit;
50
+ margin-right: $spacing-unit;
51
+ display: none;
52
+ &.visible {
53
+ display: block;
54
+ }
55
+ }
56
+ }
57
+
58
+ // Links
59
+ .bw-links {
60
+ a {
61
+ text-decoration: none;
62
+ &:hover {
63
+ border-bottom: 1px solid;
64
+ }
65
+ }
66
+ }
67
+
68
+ // Backwhite footer
69
+ .bw-footer {
70
+ color: darken($white-color, 25%);
71
+ text-align: justify;
72
+ font-size: $small-font-size;
73
+ p { text-align: justify; }
74
+ }
75
+ }
@@ -0,0 +1,106 @@
1
+ body {
2
+ overflow-x: hidden;
3
+ font-family: $font-family;
4
+ font-size: $normal-font-size;
5
+ }
6
+
7
+ a {
8
+ color: inherit;
9
+ border-bottom: 1px solid $back-color;
10
+ text-decoration: none;
11
+ &:hover {
12
+ border-bottom: none;
13
+ }
14
+ }
15
+
16
+ h1,h2,h3,h4 {
17
+ color: $back-color;
18
+ margin: $spacing-unit 0pt;
19
+ }
20
+ h1 {
21
+ display: block;
22
+ font-size: $large-font-size;
23
+ }
24
+ h2 {
25
+ display: block;
26
+ font-size: $medium-font-size;
27
+ }
28
+ h3 {
29
+ display: block;
30
+ font-size: $medium-font-size;
31
+ }
32
+ p {
33
+ display: block;
34
+ margin-top: $spacing-unit;
35
+ margin-bottom: $spacing-unit;
36
+ }
37
+
38
+ ul {
39
+ display: block;
40
+ list-style: none;
41
+ > li:before {
42
+ content: "-";
43
+ margin-right: 8pt;
44
+ }
45
+ }
46
+ ol {
47
+ display: block;
48
+ list-style: lower-roman;
49
+ }
50
+
51
+ table {
52
+ width: 100%;
53
+ table-layout: fixed;
54
+ padding: 0pt;
55
+ border-spacing: 0;
56
+
57
+ th {
58
+ color: $back-color;
59
+ }
60
+ th,td {
61
+ margin: 0pt;
62
+ padding: $spacing-unit;
63
+ text-align: center;
64
+ border-bottom: 0.5pt solid $back-color;
65
+ overflow: hidden;
66
+ }
67
+ th:last-child, td:last-child {
68
+ border-right: none;
69
+ }
70
+ tr:last-child > td {
71
+ border-bottom: none;
72
+ }
73
+ }
74
+
75
+ code {
76
+ font-family: $code-font-family;
77
+ font-size: $normal-font-size;
78
+ font-weight: 500;
79
+ }
80
+
81
+ pre {
82
+ @include block-cutout;
83
+ overflow-x: auto;
84
+ -webkit-overflow-scrolling: touch;
85
+ }
86
+
87
+ blockquote {
88
+ @include block-cutout;
89
+
90
+ // Font
91
+ font-size: $medium-font-size;
92
+ font-style: italic;
93
+ text-align: justify;
94
+
95
+ // Spacing
96
+ display: block;
97
+ margin: 0;
98
+ margin-top: $spacing-unit;
99
+ margin-bottom: $spacing-unit;
100
+ padding: 2*$spacing-unit;
101
+ }
102
+
103
+ img {
104
+ max-width: 100%;
105
+ box-shadow: 0px 0pt 8pt darken($white-color, 33%);
106
+ }
@@ -0,0 +1,172 @@
1
+ // Block form
2
+ .bw-form {
3
+ // Page block
4
+ display: block;
5
+
6
+ // Inherit theme colors
7
+ background-color: inherit;
8
+ color: inherit;
9
+
10
+ // Single row in block form
11
+ .bw-form-row {
12
+ // We want each form element in
13
+ // The row to have the same width
14
+ display: flex;
15
+ flex-direction: row;
16
+ align-items: stretch;
17
+
18
+ // We also want to keep the theme
19
+ // colors according to context
20
+ background-color: inherit;
21
+ color: inherit;
22
+ }
23
+ }
24
+
25
+ // Inline forms
26
+ .bw-inline-form {
27
+ // We want to space input elements evenly
28
+ display: flex;
29
+ flex-direction: row;
30
+ align-items: stretch;
31
+
32
+ // Keep theme colors
33
+ background-color: inherit;
34
+ color: inherit;
35
+
36
+ // Input group
37
+ .bw-input-group {
38
+ // Scale up to share space
39
+ flex: 1;
40
+
41
+ // Spacing and padding
42
+ margin: $spacing-unit/2 0pt;
43
+ padding: 0;
44
+
45
+ // Theme colors
46
+ background-color: inherit;
47
+ color: inherit;
48
+
49
+ input {
50
+ height: 100%;
51
+ }
52
+ }
53
+
54
+ .bw-button-group {
55
+ // No scaling
56
+ flex: 0;
57
+ padding: 0;
58
+ margin: $spacing-unit/2 0pt;
59
+ color: inherit;
60
+
61
+ button {
62
+ height: 100%;
63
+ background: none;
64
+ border: none;
65
+ border-bottom: 1px solid;
66
+ padding: $spacing-unit/2;
67
+ display: inline-flex;
68
+ flex-direction: row;
69
+ align-items: center;
70
+ color: inherit;
71
+
72
+ * {
73
+ margin: 0pt $spacing-unit/2;
74
+ color: inherit;
75
+ }
76
+ }
77
+ }
78
+ }
79
+
80
+ .bw-input-group {
81
+ // Scale to fill space
82
+ // (apparantly, the element was not shrinking,
83
+ // it was being forced to have an input of 1,
84
+ // so we add "auto" to tell it that it grows to
85
+ // 1 fraction, but it can scale down if need be)
86
+ flex: 1 auto;
87
+
88
+ // Internal spacing
89
+ padding: $spacing-unit/2;
90
+
91
+ // Space elements vertically.
92
+ // Input is at absolute bottom,
93
+ // Label is at absolute top.
94
+ display: flex;
95
+ flex-direction: column;
96
+ justify-content: space-between;
97
+
98
+ // Theme colors
99
+ background-color: inherit;
100
+
101
+ label {
102
+ // Vertical block
103
+ display: block;
104
+ font-size: $small-font-size;
105
+
106
+ // Theme colors
107
+ color: inherit;
108
+ }
109
+
110
+ input, select {
111
+ // Vertical block
112
+ display: block;
113
+
114
+ // Set width to containing unit
115
+ width: 100% !important;
116
+
117
+ // So apparently the sizing on these is just that
118
+ // little bit off, because it uses different sizing...
119
+ box-sizing: border-box;
120
+ -ms-box-sizing: border-box;
121
+ -moz-box-sizing: border-box;
122
+ -webkit-box-sizing: border-box;
123
+
124
+ // Style input field
125
+ border: none;
126
+ background: none;
127
+ border-radius: 0pt;
128
+ border-bottom: 1px solid;
129
+ border-color: inherit;
130
+ background-color: inherit;
131
+ color: inherit;
132
+
133
+ // Same on iOS
134
+ -webkit-appearance: none;
135
+
136
+ // We don't need an outline on focus
137
+ &:focus {
138
+ outline: none;
139
+ };
140
+ }
141
+ }
142
+
143
+ .bw-checkbox-group {
144
+ padding: $spacing-unit $spacing-unit/2;
145
+ display: inline-flex;
146
+ align-items: center;
147
+ background-color: inherit;
148
+ color: inherit;
149
+
150
+ label {
151
+ margin-right: $spacing-unit/2;
152
+ font-size: small;
153
+ color: inherit;
154
+ }
155
+
156
+ input[type="checkbox"] {
157
+ margin: 0;
158
+ margin-left: $spacing-unit/2;
159
+ }
160
+ }
161
+
162
+ .bw-file-group {
163
+ flex: 1;
164
+ padding: $spacing-unit/2;
165
+ background-color: inherit;
166
+ }
167
+
168
+ .bw-button-group {
169
+ flex: 1;
170
+ padding: $spacing-unit/2;
171
+ text-align: right;
172
+ }