jekyll-theme-meliora 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +48 -0
  4. data/_data/menus.yml +24 -0
  5. data/_includes/all-posts.html +5 -0
  6. data/_includes/blog-nav-menu.html +39 -0
  7. data/_includes/category-nav-menu.html +7 -0
  8. data/_includes/contact-form.html +27 -0
  9. data/_includes/current-status.html +11 -0
  10. data/_includes/footer.html +4 -0
  11. data/_includes/head.html +11 -0
  12. data/_includes/image.html +6 -0
  13. data/_includes/kindle-embed.html +6 -0
  14. data/_includes/nav-menu.html +11 -0
  15. data/_includes/noscript.html +11 -0
  16. data/_includes/paginated-posts.html +33 -0
  17. data/_includes/post-info.html +9 -0
  18. data/_includes/post-list-meta.html +16 -0
  19. data/_includes/post-meta.html +14 -0
  20. data/_includes/scripts.html +21 -0
  21. data/_includes/sharing-nav-menu.html +11 -0
  22. data/_includes/skip-nav.html +1 -0
  23. data/_includes/status-loop.html +13 -0
  24. data/_includes/styles.html +5 -0
  25. data/_includes/styles/blue.scss +16 -0
  26. data/_includes/styles/bluegray.scss +16 -0
  27. data/_includes/styles/cyan.scss +16 -0
  28. data/_includes/styles/deeporange.scss +16 -0
  29. data/_includes/styles/deeppurple.scss +16 -0
  30. data/_includes/styles/green.scss +16 -0
  31. data/_includes/styles/indigo.scss +16 -0
  32. data/_includes/styles/lightblue.scss +16 -0
  33. data/_includes/styles/orange.scss +16 -0
  34. data/_includes/styles/pink.scss +16 -0
  35. data/_includes/styles/purple.scss +16 -0
  36. data/_includes/styles/red.scss +16 -0
  37. data/_includes/styles/teal.scss +16 -0
  38. data/_includes/thanks-for-reading.html +4 -0
  39. data/_includes/top-link.html +1 -0
  40. data/_includes/youtube.html +6 -0
  41. data/_layouts/archive.html +11 -0
  42. data/_layouts/default.html +13 -0
  43. data/_layouts/home.html +12 -0
  44. data/_layouts/page.html +12 -0
  45. data/_layouts/post.html +24 -0
  46. data/_sass/meliora.scss +11 -0
  47. data/_sass/meliora/_base.scss +120 -0
  48. data/_sass/meliora/_components.scss +87 -0
  49. data/_sass/meliora/_generic.scss +67 -0
  50. data/_sass/meliora/_objects.scss +5 -0
  51. data/_sass/meliora/_settings.scss +39 -0
  52. data/_sass/meliora/_tools.scss +4 -0
  53. data/_sass/meliora/_trumps.scss +48 -0
  54. data/_sass/meliora/themes/blue.scss +17 -0
  55. data/_sass/meliora/themes/bluegray.scss +18 -0
  56. data/_sass/meliora/themes/cyan.scss +17 -0
  57. data/_sass/meliora/themes/deeporange.scss +17 -0
  58. data/_sass/meliora/themes/deeppurple.scss +17 -0
  59. data/_sass/meliora/themes/default.scss +17 -0
  60. data/_sass/meliora/themes/green.scss +17 -0
  61. data/_sass/meliora/themes/indigo.scss +17 -0
  62. data/_sass/meliora/themes/lightblue.scss +17 -0
  63. data/_sass/meliora/themes/orange.scss +17 -0
  64. data/_sass/meliora/themes/pink.scss +17 -0
  65. data/_sass/meliora/themes/purple.scss +17 -0
  66. data/_sass/meliora/themes/red.scss +17 -0
  67. data/_sass/meliora/themes/teal.scss +17 -0
  68. data/assets/css/highlightjs/xcode.css +93 -0
  69. data/assets/css/main.scss +14 -0
  70. data/assets/js/highlight.pack.js +2 -0
  71. data/assets/js/jquery-3.1.1.min.js +4 -0
  72. data/assets/js/jquery.fitvids.js +87 -0
  73. metadata +257 -0
@@ -0,0 +1,67 @@
1
+ /*
2
+ * Generic. This includes all the third-party CSS used throughout the site.
3
+ * See https://medium.com/@jordankoschei/how-i-shrank-my-css-by-84kb-by-refactoring-with-itcss-2e8dafee123a#.tbp9yocm3 for details.
4
+ */
5
+
6
+ // taken from http://mrmrs.io/links/
7
+ a {
8
+ transition: color .4s;
9
+ color: $material900;
10
+ text-underline-position: under;
11
+ }
12
+
13
+ a:link,
14
+ a:visited {
15
+ color: $material700;
16
+ }
17
+ a:hover {
18
+ color: $materialA400;
19
+ }
20
+ a:active {
21
+ transition: color .3s;
22
+ color: $materialA700;
23
+ }
24
+
25
+ .link { text-decoration: none; }
26
+
27
+ // Taken from http://webaim.org/techniques/css/invisiblecontent/#skipnavlinks
28
+ #skip_link a
29
+ {
30
+ position:absolute;
31
+ left:-10000px;
32
+ top:auto;
33
+ width:1px;
34
+ height:1px;
35
+ overflow:hidden;
36
+ }
37
+
38
+ #skip_link a:focus
39
+ {
40
+ position:static;
41
+ width:auto;
42
+ height:auto;
43
+ }
44
+
45
+ // Taken from http://clrs.cc
46
+ /* Backgrounds */
47
+
48
+ .bg-materialWhite { background-color: $materialWhite; }
49
+ .bg-material50 { background-color: $material50; }
50
+ .bg-material200 { background-color: $material200; }
51
+
52
+ /* Colors */
53
+
54
+ .material300 { color: $material300; }
55
+ .material400 { color: $material400; }
56
+ .material500 { color: $material500; }
57
+ .material700 { color: $material700; }
58
+ .material900 { color: $material900; }
59
+
60
+ /* Border colors
61
+
62
+ Use with another border utility that sets border-width and style
63
+ i.e .border { border-width: 1px; border-style: solid; }
64
+ */
65
+
66
+ .border-material400 { border-color: $material400; }
67
+ .border-materialBlack { border-color: $materialBlack; }
@@ -0,0 +1,5 @@
1
+ /*
2
+ * Objects. I’m a fan of object-oriented CSS, though I suppose you could remove this layer if you don’t use it. This layer is mostly layout-driven, and doesn’t include anything cosmetic. I included structural objects such as `.inner` and `.container` here, as well as some oft-repeated constructs such as `.post`s and `.hero`.
3
+ * See https://medium.com/@jordankoschei/how-i-shrank-my-css-by-84kb-by-refactoring-with-itcss-2e8dafee123a#.tbp9yocm3 for details.
4
+ */
5
+
@@ -0,0 +1,39 @@
1
+ /*
2
+ * Settings. These are preprocessor variables for later use.
3
+ * See https://medium.com/@jordankoschei/how-i-shrank-my-css-by-84kb-by-refactoring-with-itcss-2e8dafee123a#.tbp9yocm3 for details.
4
+ */
5
+
6
+ // Let's also make sure we always have the Material Gray
7
+ // palette, too. This lets us use off-whites and off-blacks
8
+ // with our main colors for softer contrast.
9
+ $materialGray50: #fafafa;
10
+ $materialGray100: #f5f5f5;
11
+ $materialGray200: #eeeeee;
12
+ $materialGray300: #e0e0e0;
13
+ $materialGray400: #bdbdbd;
14
+ $materialGray500: #9e9e9e;
15
+ $materialGray600: #757575;
16
+ $materialGray700: #616161;
17
+ $materialGray800: #424242;
18
+ $materialGray900: #212121;
19
+
20
+ // Likewise for plain black/white.
21
+ $materialBlack: #000000;
22
+ $materialWhite: #ffffff;
23
+
24
+ // System sans-serif font stack
25
+ $systemSansSerif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", "Source Sans Pro", sans-serif,"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
26
+ $systemSerif: "Apple Garamond", "Baskerville", "Georgia", "Times New Roman", "Droid Serif", "Times","Source Serif Pro", serif;
27
+ $systemMonospace: "SF Mono", "Monaco", "Inconsolata", "Fira Mono", "Droid Sans Mono", "Source Code Pro", monospace;
28
+
29
+ // Is 24px overkill? Maybe, but I'm a size queen.
30
+ $fontSize: calc(100% + 0.25vw);
31
+ $printFontSize: 12px;
32
+ $spacing-unit: 1.2rem !default;
33
+ // Body settings inspired by bettermotherfuckingwebsite.com.
34
+ $lineHeight: 1.6;
35
+ $printLineHeight: 1.4;
36
+ $headingLineHeight: 1.2;
37
+ $margin: 40px auto;
38
+ $padding: 20px;
39
+ $maxWidth: 720px;
@@ -0,0 +1,4 @@
1
+ /*
2
+ * Tools. These include all the mixins and functions.
3
+ * See https://medium.com/@jordankoschei/how-i-shrank-my-css-by-84kb-by-refactoring-with-itcss-2e8dafee123a#.tbp9yocm3 for details.
4
+ */
@@ -0,0 +1,48 @@
1
+ /*
2
+ * Trumps (no relation). These are styles that override other styles, and should be used very sparingly. Color overrides, forced floats, and text alignment classes can go here. This is the only place in your CSS that the `!important` tag is acceptable.
3
+ * See https://medium.com/@jordankoschei/how-i-shrank-my-css-by-84kb-by-refactoring-with-itcss-2e8dafee123a#.tbp9yocm3 for details.
4
+ */
5
+
6
+ @media all and (min-width:640px) {
7
+ html {
8
+ background: $material50;
9
+ }
10
+
11
+ body {
12
+ border: 2px solid $material500;
13
+ }
14
+
15
+ .flat_nav_menu {
16
+ ul {
17
+ li {
18
+ display: inline-block !important;
19
+ margin-right: .5rem !important;
20
+ line-height: $lineHeight !important;
21
+ a {
22
+ display: block !important;
23
+ }
24
+ }
25
+ }
26
+ }
27
+ }
28
+
29
+ img.emoji {
30
+ border: none !important;
31
+ }
32
+
33
+ @media print {
34
+ body {
35
+ font-family: $systemSerif !important;
36
+ font-size: $printFontSize !important;
37
+ line-height: $printLineHeight !important;
38
+ max-width: 100%;
39
+ margin: auto;
40
+ padding: auto;
41
+ color: $materialBlack;
42
+ background-color: $materialWhite;
43
+ }
44
+
45
+ #top_link {
46
+ display: none;
47
+ }
48
+ }
@@ -0,0 +1,17 @@
1
+ // BLUE color scheme taken from Google's Material Design.
2
+ // https://material.io/guidelines/style/color.html#color-color-palette
3
+
4
+ $material50: #e3f2fd;
5
+ $material100: #bbdefb;
6
+ $material200: #90caf9;
7
+ $material300: #64b5f6;
8
+ $material400: #42a5f5;
9
+ $material500: #2196f3;
10
+ $material600: #1e88e5;
11
+ $material700: #1976d2;
12
+ $material800: #1565c0;
13
+ $material900: #0d47a1;
14
+ $materialA100: #82b1ff;
15
+ $materialA200: #448aff;
16
+ $materialA400: #2979ff;
17
+ $materialA700: #2962ff;
@@ -0,0 +1,18 @@
1
+ // BLUE GRAY color scheme taken from Google's Material Design.
2
+ // https://material.io/guidelines/style/color.html#color-color-palette
3
+
4
+ $material50: #eceff1;
5
+ $material100: #cfd8dc;
6
+ $material200: #b0bec5;
7
+ $material300: #90a4ae;
8
+ $material400: #78909c;
9
+ $material500: #607d8b;
10
+ $material600: #546e7a;
11
+ $material700: #455a64;
12
+ $material800: #37474f;
13
+ $material900: #263238;
14
+ // Google didn't define accent colors for this color scheme.
15
+ $materialA100: $material200;
16
+ $materialA200: $material300;
17
+ $materialA400: $material500;
18
+ $materialA700: $material800;
@@ -0,0 +1,17 @@
1
+ // CYAN color scheme taken from Google's Material Design.
2
+ // https://material.io/guidelines/style/color.html#color-color-palette
3
+
4
+ $material50: #e0f7fa;
5
+ $material100: #b2ebf2;
6
+ $material200: #80deea;
7
+ $material300: #4dd0e1;
8
+ $material400: #26c6da;
9
+ $material500: #00bcd4;
10
+ $material600: #00acc1;
11
+ $material700: #0097a7;
12
+ $material800: #00838f;
13
+ $material900: #006064;
14
+ $materialA100: #84ffff;
15
+ $materialA200: #18ffff;
16
+ $materialA400: #00e5ff;
17
+ $materialA700: #00b8d4;
@@ -0,0 +1,17 @@
1
+ // DEEP ORANGE color scheme taken from Google's Material Design.
2
+ // https://material.io/guidelines/style/color.html#color-color-palette
3
+
4
+ $material50: #fbe9e7;
5
+ $material100: #ffccbc;
6
+ $material200: #ffab91;
7
+ $material300: #ff8a65;
8
+ $material400: #ff7043;
9
+ $material500: #ff5722;
10
+ $material600: #f4511e;
11
+ $material700: #e64a19;
12
+ $material800: #d84315;
13
+ $material900: #bf360c;
14
+ $materialA100: #ff9e80;
15
+ $materialA200: #ff6e40;
16
+ $materialA400: #ff3d00;
17
+ $materialA700: #dd2c00;
@@ -0,0 +1,17 @@
1
+ // DEEP PURPLE color scheme taken from Google's Material Design.
2
+ // https://material.io/guidelines/style/color.html: #color-color-palette
3
+
4
+ $material50: #ede7f6;
5
+ $material100: #d1c4e9;
6
+ $material200: #b39ddb;
7
+ $material300: #9575cd;
8
+ $material400: #7e57c2;
9
+ $material500: #673ab7;
10
+ $material600: #5e35b1;
11
+ $material700: #512da8;
12
+ $material800: #4527a0;
13
+ $material900: #311b92;
14
+ $materialA100: #b388ff;
15
+ $materialA200: #7c4dff;
16
+ $materialA400: #651fff;
17
+ $materialA700: #6200ea;
@@ -0,0 +1,17 @@
1
+ // BLUE color scheme taken from Google's Material Design.
2
+ // https://material.io/guidelines/style/color.html#color-color-palette
3
+
4
+ $material50: #e3f2fd;
5
+ $material100: #bbdefb;
6
+ $material200: #90caf9;
7
+ $material300: #64b5f6;
8
+ $material400: #42a5f5;
9
+ $material500: #2196f3;
10
+ $material600: #1e88e5;
11
+ $material700: #1976d2;
12
+ $material800: #1565c0;
13
+ $material900: #0d47a1;
14
+ $materialA100: #82b1ff;
15
+ $materialA200: #448aff;
16
+ $materialA400: #2979ff;
17
+ $materialA700: #2962ff;
@@ -0,0 +1,17 @@
1
+ // RED color scheme taken from Google's Material Design.
2
+ // https://material.io/guidelines/style/color.html: #color-color-palette
3
+
4
+ $material50: #e8f5e9;
5
+ $material100: #c8e6c9;
6
+ $material200: #a5d6a7;
7
+ $material300: #81c784;
8
+ $material400: #66bb6a;
9
+ $material500: #4caf50;
10
+ $material600: #43a047;
11
+ $material700: #388e3c;
12
+ $material800: #2e7d32;
13
+ $material900: #1b5e20;
14
+ $materialA100: #b9f6ca;
15
+ $materialA200: #69f0ae;
16
+ $materialA400: #00e676;
17
+ $materialA700: #00c853;
@@ -0,0 +1,17 @@
1
+ // DEEP PURPLE color scheme taken from Google's Material Design.
2
+ // https://material.io/guidelines/style/color.html: : #color-color-palette
3
+
4
+ $material50: #e8eaf6;
5
+ $material100: #c5cae9;
6
+ $material200: #9fa8da;
7
+ $material300: #7986cb;
8
+ $material400: #5c6bc0;
9
+ $material500: #3f51b5;
10
+ $material600: #3949ab;
11
+ $material700: #303f9f;
12
+ $material800: #283593;
13
+ $material900: #1a237e;
14
+ $materialA100: #8c9eff;
15
+ $materialA200: #536dfe;
16
+ $materialA400: #3d5afe;
17
+ $materialA700: #304ffe;
@@ -0,0 +1,17 @@
1
+ // LIGHT BLUE color scheme taken from Google's Material Design.
2
+ // https://material.io/guidelines/style/color.html#color-color-palette
3
+
4
+ $material50: #e1f5fe;
5
+ $material100: #b3e5fc;
6
+ $material200: #81d4fa;
7
+ $material300: #4fc3f7;
8
+ $material400: #29b6f6;
9
+ $material500: #03a9f4;
10
+ $material600: #039be5;
11
+ $material700: #0288d1;
12
+ $material800: #0277bd;
13
+ $material900: #01579b;
14
+ $materialA100: #80d8ff;
15
+ $materialA200: #40c4ff;
16
+ $materialA400: #00b0ff;
17
+ $materialA700: #0091ea;
@@ -0,0 +1,17 @@
1
+ // BLUE color scheme taken from Google's Material Design.
2
+ // https://material.io/guidelines/style/color.html#color-color-palette
3
+
4
+ $material50: #fff3e0;
5
+ $material100: #ffe0b2;
6
+ $material200: #ffcc80;
7
+ $material300: #ffb74d;
8
+ $material400: #ffa726;
9
+ $material500: #ff9800;
10
+ $material600: #fb8c00;
11
+ $material700: #f57c00;
12
+ $material800: #ef6c00;
13
+ $material900: #e65100;
14
+ $materialA100: #ffd180;
15
+ $materialA200: #ffab40;
16
+ $materialA400: #ff9100;
17
+ $materialA700: #ff6d00;
@@ -0,0 +1,17 @@
1
+ // PINK color scheme taken from Google's Material Design.
2
+ // https://material.io/guidelines/style/color.html#color-color-palette
3
+
4
+ $material50: #fce4ec;
5
+ $material100: #f8bbd0;
6
+ $material200: #f48fb1;
7
+ $material300: #f06292;
8
+ $material400: #ec407a;
9
+ $material500: #e91e63;
10
+ $material600: #d81b60;
11
+ $material700: #c2185b;
12
+ $material800: #ad1457;
13
+ $material900: #880e4f;
14
+ $materialA100: #ff80ab;
15
+ $materialA200: #ff4081;
16
+ $materialA400: #f50057;
17
+ $materialA700: #c51162;
@@ -0,0 +1,17 @@
1
+ // PURPLE color scheme taken from Google's Material Design.
2
+ // https://material.io/guidelines/style/color.html#color-color-palette
3
+
4
+ $material50: #f3e5f5;
5
+ $material100: #e1bee7;
6
+ $material200: #ce93d8;
7
+ $material300: #ba68c8;
8
+ $material400: #ab47bc;
9
+ $material500: #9c27b0;
10
+ $material600: #8e24aa;
11
+ $material700: #7b1fa2;
12
+ $material800: #6a1b9a;
13
+ $material900: #4a148c;
14
+ $materialA100: #ea80fc;
15
+ $materialA200: #e040fb;
16
+ $materialA400: #d500f9;
17
+ $materialA700: #aa00ff;
@@ -0,0 +1,17 @@
1
+ // RED color scheme taken from Google's Material Design.
2
+ // https://material.io/guidelines/style/color.html#color-color-palette
3
+
4
+ $material50: #ffebee;
5
+ $material100: #ffcdd2;
6
+ $material200: #ef9a9a;
7
+ $material300: #e57373;
8
+ $material400: #ef5350;
9
+ $material500: #f44336;
10
+ $material600: #e53935;
11
+ $material700: #d32f2f;
12
+ $material800: #c62828;
13
+ $material900: #b71c1c;
14
+ $materialA100: #ff8a80;
15
+ $materialA200: #ff5252;
16
+ $materialA400: #ff1744;
17
+ $materialA700: #d50000;
@@ -0,0 +1,17 @@
1
+ // TEAL color scheme taken from Google's Material Design.
2
+ // https://material.io/guidelines/style/color.html#color-color-palette
3
+
4
+ $material50: #e0f2f1;
5
+ $material100: #b2dfdb;
6
+ $material200: #80cbc4;
7
+ $material300: #4db6ac;
8
+ $material400: #26a69a;
9
+ $material500: #009688;
10
+ $material600: #00897b;
11
+ $material700: #00796b;
12
+ $material800: #00695c;
13
+ $material900: #004d40;
14
+ $materialA100: #a7ffeb;
15
+ $materialA200: #64ffda;
16
+ $materialA400: #1de9b6;
17
+ $materialA700: #00bfa5;
@@ -0,0 +1,93 @@
1
+ /*
2
+
3
+ XCode style (c) Angel Garcia <angelgarcia.mail@gmail.com>
4
+
5
+ */
6
+
7
+ .hljs {
8
+ display: block;
9
+ overflow-x: auto;
10
+ padding: 0.5em;
11
+ background: #fff;
12
+ color: black;
13
+ }
14
+
15
+ .hljs-comment,
16
+ .hljs-quote {
17
+ color: #006a00;
18
+ }
19
+
20
+ .hljs-keyword,
21
+ .hljs-selector-tag,
22
+ .hljs-literal {
23
+ color: #aa0d91;
24
+ }
25
+
26
+ .hljs-name {
27
+ color: #008;
28
+ }
29
+
30
+ .hljs-variable,
31
+ .hljs-template-variable {
32
+ color: #660;
33
+ }
34
+
35
+ .hljs-string {
36
+ color: #c41a16;
37
+ }
38
+
39
+ .hljs-regexp,
40
+ .hljs-link {
41
+ color: #080;
42
+ }
43
+
44
+ .hljs-title,
45
+ .hljs-tag,
46
+ .hljs-symbol,
47
+ .hljs-bullet,
48
+ .hljs-number,
49
+ .hljs-meta {
50
+ color: #1c00cf;
51
+ }
52
+
53
+ .hljs-section,
54
+ .hljs-class .hljs-title,
55
+ .hljs-type,
56
+ .hljs-attr,
57
+ .hljs-built_in,
58
+ .hljs-builtin-name,
59
+ .hljs-params {
60
+ color: #5c2699;
61
+ }
62
+
63
+ .hljs-attribute,
64
+ .hljs-subst {
65
+ color: #000;
66
+ }
67
+
68
+ .hljs-formula {
69
+ background-color: #eee;
70
+ font-style: italic;
71
+ }
72
+
73
+ .hljs-addition {
74
+ background-color: #baeeba;
75
+ }
76
+
77
+ .hljs-deletion {
78
+ background-color: #ffc8bd;
79
+ }
80
+
81
+ .hljs-selector-id,
82
+ .hljs-selector-class {
83
+ color: #9b703f;
84
+ }
85
+
86
+ .hljs-doctag,
87
+ .hljs-strong {
88
+ font-weight: bold;
89
+ }
90
+
91
+ .hljs-emphasis {
92
+ font-style: italic;
93
+ }