jekyll-theme-louis 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 (47) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +52 -0
  4. data/_includes/footer.html +12 -0
  5. data/_includes/head/favicon.html +7 -0
  6. data/_includes/head/twitter-ogp.html +16 -0
  7. data/_includes/header.html +7 -0
  8. data/_includes/post-pager.html +13 -0
  9. data/_includes/posts-pager.html +19 -0
  10. data/_includes/posts.html +11 -0
  11. data/_includes/social-link.html +25 -0
  12. data/_layouts/default.html +24 -0
  13. data/_layouts/page.html +5 -0
  14. data/_layouts/post.html +10 -0
  15. data/_layouts/profile.html +17 -0
  16. data/_sass/base.scss +12 -0
  17. data/_sass/block/footer.scss +49 -0
  18. data/_sass/block/header.scss +24 -0
  19. data/_sass/block/post-pager.scss +36 -0
  20. data/_sass/block/post.scss +114 -0
  21. data/_sass/block/posts-pager.scss +43 -0
  22. data/_sass/block/posts.scss +6 -0
  23. data/_sass/block/prettier.scss +190 -0
  24. data/_sass/block/profile-page.scss +31 -0
  25. data/_sass/block/social-link.scss +70 -0
  26. data/_sass/color.scss +11 -0
  27. data/_sass/import.scss +15 -0
  28. data/_sass/mixin/container.scss +4 -0
  29. data/_sass/mixin/shadow.scss +3 -0
  30. data/_sass/reset.scss +206 -0
  31. data/_sass/variable.scss +11 -0
  32. data/assets/css/common.scss +4 -0
  33. data/assets/images/default_ogp.png +0 -0
  34. data/assets/images/dummy_1200_400.png +0 -0
  35. data/assets/images/dummy_400_400.png +0 -0
  36. data/assets/images/favicon/android-chrome-192x192.png +0 -0
  37. data/assets/images/favicon/android-chrome-512x512.png +0 -0
  38. data/assets/images/favicon/apple-touch-icon.png +0 -0
  39. data/assets/images/favicon/browserconfig.xml +9 -0
  40. data/assets/images/favicon/favicon-16x16.png +0 -0
  41. data/assets/images/favicon/favicon-32x32.png +0 -0
  42. data/assets/images/favicon/favicon.ico +0 -0
  43. data/assets/images/favicon/mstile-150x150.png +0 -0
  44. data/assets/images/favicon/safari-pinned-tab.svg +23 -0
  45. data/assets/images/favicon/site.webmanifest +19 -0
  46. data/assets/images/profile_icon.png +0 -0
  47. metadata +130 -0
@@ -0,0 +1,190 @@
1
+ .highlight pre {
2
+ background-color: #272822;
3
+ }
4
+ .highlight .hll {
5
+ background-color: #272822;
6
+ }
7
+ .highlight .c {
8
+ color: #75715e;
9
+ } /* Comment */
10
+ .highlight .err {
11
+ color: #960050;
12
+ background-color: #1e0010;
13
+ } /* Error */
14
+ .highlight .k {
15
+ color: #66d9ef;
16
+ } /* Keyword */
17
+ .highlight .l {
18
+ color: #ae81ff;
19
+ } /* Literal */
20
+ .highlight .n {
21
+ color: #f8f8f2;
22
+ } /* Name */
23
+ .highlight .o {
24
+ color: #f92672;
25
+ } /* Operator */
26
+ .highlight .p {
27
+ color: #f8f8f2;
28
+ } /* Punctuation */
29
+ .highlight .cm {
30
+ color: #75715e;
31
+ } /* Comment.Multiline */
32
+ .highlight .cp {
33
+ color: #75715e;
34
+ } /* Comment.Preproc */
35
+ .highlight .c1 {
36
+ color: #75715e;
37
+ } /* Comment.Single */
38
+ .highlight .cs {
39
+ color: #75715e;
40
+ } /* Comment.Special */
41
+ .highlight .ge {
42
+ font-style: italic;
43
+ } /* Generic.Emph */
44
+ .highlight .gs {
45
+ font-weight: bold;
46
+ } /* Generic.Strong */
47
+ .highlight .kc {
48
+ color: #66d9ef;
49
+ } /* Keyword.Constant */
50
+ .highlight .kd {
51
+ color: #66d9ef;
52
+ } /* Keyword.Declaration */
53
+ .highlight .kn {
54
+ color: #f92672;
55
+ } /* Keyword.Namespace */
56
+ .highlight .kp {
57
+ color: #66d9ef;
58
+ } /* Keyword.Pseudo */
59
+ .highlight .kr {
60
+ color: #66d9ef;
61
+ } /* Keyword.Reserved */
62
+ .highlight .kt {
63
+ color: #66d9ef;
64
+ } /* Keyword.Type */
65
+ .highlight .ld {
66
+ color: #e6db74;
67
+ } /* Literal.Date */
68
+ .highlight .m {
69
+ color: #ae81ff;
70
+ } /* Literal.Number */
71
+ .highlight .s {
72
+ color: #e6db74;
73
+ } /* Literal.String */
74
+ .highlight .na {
75
+ color: #a6e22e;
76
+ } /* Name.Attribute */
77
+ .highlight .nb {
78
+ color: #f8f8f2;
79
+ } /* Name.Builtin */
80
+ .highlight .nc {
81
+ color: #a6e22e;
82
+ } /* Name.Class */
83
+ .highlight .no {
84
+ color: #66d9ef;
85
+ } /* Name.Constant */
86
+ .highlight .nd {
87
+ color: #a6e22e;
88
+ } /* Name.Decorator */
89
+ .highlight .ni {
90
+ color: #f8f8f2;
91
+ } /* Name.Entity */
92
+ .highlight .ne {
93
+ color: #a6e22e;
94
+ } /* Name.Exception */
95
+ .highlight .nf {
96
+ color: #a6e22e;
97
+ } /* Name.Function */
98
+ .highlight .nl {
99
+ color: #f8f8f2;
100
+ } /* Name.Label */
101
+ .highlight .nn {
102
+ color: #f8f8f2;
103
+ } /* Name.Namespace */
104
+ .highlight .nx {
105
+ color: #a6e22e;
106
+ } /* Name.Other */
107
+ .highlight .py {
108
+ color: #f8f8f2;
109
+ } /* Name.Property */
110
+ .highlight .nt {
111
+ color: #f92672;
112
+ } /* Name.Tag */
113
+ .highlight .nv {
114
+ color: #f8f8f2;
115
+ } /* Name.Variable */
116
+ .highlight .ow {
117
+ color: #f92672;
118
+ } /* Operator.Word */
119
+ .highlight .w {
120
+ color: #f8f8f2;
121
+ } /* Text.Whitespace */
122
+ .highlight .mf {
123
+ color: #ae81ff;
124
+ } /* Literal.Number.Float */
125
+ .highlight .mh {
126
+ color: #ae81ff;
127
+ } /* Literal.Number.Hex */
128
+ .highlight .mi {
129
+ color: #ae81ff;
130
+ } /* Literal.Number.Integer */
131
+ .highlight .mo {
132
+ color: #ae81ff;
133
+ } /* Literal.Number.Oct */
134
+ .highlight .sb {
135
+ color: #e6db74;
136
+ } /* Literal.String.Backtick */
137
+ .highlight .sc {
138
+ color: #e6db74;
139
+ } /* Literal.String.Char */
140
+ .highlight .sd {
141
+ color: #e6db74;
142
+ } /* Literal.String.Doc */
143
+ .highlight .s2 {
144
+ color: #e6db74;
145
+ } /* Literal.String.Double */
146
+ .highlight .se {
147
+ color: #ae81ff;
148
+ } /* Literal.String.Escape */
149
+ .highlight .sh {
150
+ color: #e6db74;
151
+ } /* Literal.String.Heredoc */
152
+ .highlight .si {
153
+ color: #e6db74;
154
+ } /* Literal.String.Interpol */
155
+ .highlight .sx {
156
+ color: #e6db74;
157
+ } /* Literal.String.Other */
158
+ .highlight .sr {
159
+ color: #e6db74;
160
+ } /* Literal.String.Regex */
161
+ .highlight .s1 {
162
+ color: #e6db74;
163
+ } /* Literal.String.Single */
164
+ .highlight .ss {
165
+ color: #e6db74;
166
+ } /* Literal.String.Symbol */
167
+ .highlight .bp {
168
+ color: #f8f8f2;
169
+ } /* Name.Builtin.Pseudo */
170
+ .highlight .vc {
171
+ color: #f8f8f2;
172
+ } /* Name.Variable.Class */
173
+ .highlight .vg {
174
+ color: #f8f8f2;
175
+ } /* Name.Variable.Global */
176
+ .highlight .vi {
177
+ color: #f8f8f2;
178
+ } /* Name.Variable.Instance */
179
+ .highlight .il {
180
+ color: #ae81ff;
181
+ } /* Literal.Number.Integer.Long */
182
+ .highlight .gu {
183
+ color: #75715e;
184
+ } /* Generic.Subheading & Diff Unified/Comment? */
185
+ .highlight .gd {
186
+ color: #f92672;
187
+ } /* Generic.Deleted & Diff Deleted */
188
+ .highlight .gi {
189
+ color: #a6e22e;
190
+ } /* Generic.Inserted & Diff Inserted */
@@ -0,0 +1,31 @@
1
+ .profile-page {
2
+ &__name {
3
+ margin-bottom: 0.5rem;
4
+ font-size: 1.5rem;
5
+ }
6
+
7
+ &__icon {
8
+ width: $size-profile-page-icon;
9
+ height: $size-profile-page-icon;
10
+ border-radius: $size-profile-page-icon / 2;
11
+ box-shadow: 0.25rem 0.25rem 0.25rem $color-shadow;
12
+ }
13
+ }
14
+
15
+ .profile-info {
16
+ flex-direction: row;
17
+ justify-content: flex-start;
18
+ padding: 2rem 0 0;
19
+
20
+ @include container();
21
+
22
+ &__image {
23
+ margin-right: 1.5rem;
24
+ }
25
+
26
+ &__text-link {
27
+ display: flex;
28
+ flex-direction: column;
29
+ justify-content: center;
30
+ }
31
+ }
@@ -0,0 +1,70 @@
1
+ .social-link {
2
+ display: flex;
3
+ align-items: center;
4
+ flex-direction: row;
5
+ justify-content: center;
6
+ margin-bottom: 0.5rem;
7
+
8
+ > :not(:last-child) {
9
+ margin-right: 0.5rem;
10
+ }
11
+
12
+ a {
13
+ display: flex;
14
+ align-items: center;
15
+ text-decoration: none;
16
+
17
+ &:hover {
18
+ opacity: 0.6;
19
+ }
20
+ }
21
+
22
+ &__profile {
23
+ display: flex;
24
+ align-items: center;
25
+ flex-direction: row;
26
+ justify-content: flex-start;
27
+
28
+ > :not(:last-child) {
29
+ margin-right: 0.5rem;
30
+ }
31
+
32
+ a {
33
+ display: flex;
34
+ align-items: center;
35
+ text-decoration: none;
36
+ }
37
+ }
38
+
39
+ &__item {
40
+ display: flex;
41
+ align-items: center;
42
+ justify-content: center;
43
+ width: 2rem;
44
+ height: 2rem;
45
+ border-radius: 1rem;
46
+
47
+ &--github {
48
+ background-color: $color-github;
49
+
50
+ @extend .social-link__item;
51
+ }
52
+
53
+ &--twitter {
54
+ background-color: $color-twitter;
55
+
56
+ @extend .social-link__item;
57
+ }
58
+
59
+ &--facebook {
60
+ background-color: $color-facebook;
61
+
62
+ @extend .social-link__item;
63
+ }
64
+ }
65
+ }
66
+
67
+ .fa {
68
+ color: white;
69
+ font-size: 1.5rem;
70
+ }
data/_sass/color.scss ADDED
@@ -0,0 +1,11 @@
1
+ $color-font-main: #212121;
2
+ $color-font-sub: #616161;
3
+
4
+ $color-shadow: rgba(#333, 0.3);
5
+
6
+ $color-border: #ccc;
7
+
8
+ //social
9
+ $color-github:#161614;
10
+ $color-twitter:#55acee;
11
+ $color-facebook:#3b5998;
data/_sass/import.scss ADDED
@@ -0,0 +1,15 @@
1
+ @import "reset";
2
+ @import "variable";
3
+ @import "color";
4
+ @import "mixin/container";
5
+ @import "mixin/shadow";
6
+ @import "base";
7
+ @import "block/header";
8
+ @import "block/footer";
9
+ @import "block/post";
10
+ @import "block/posts";
11
+ @import "block/prettier";
12
+ @import "block/social-link";
13
+ @import "block/post-pager";
14
+ @import "block/posts-pager";
15
+ @import "block/profile-page";
@@ -0,0 +1,4 @@
1
+ @mixin container() {
2
+ display: flex;
3
+ width: $size-container-width;
4
+ }
@@ -0,0 +1,3 @@
1
+ @mixin shadow-bottom() {
2
+ box-shadow: 0 0.15rem 0.15rem $color-shadow;
3
+ }
data/_sass/reset.scss ADDED
@@ -0,0 +1,206 @@
1
+ /*
2
+ html5doctor.com Reset Stylesheet
3
+ v1.6.1
4
+ Last Updated: 2010-09-17
5
+ Author: Richard Clark - http://richclarkdesign.com
6
+ Twitter: @rich_clark
7
+ */
8
+
9
+ html,
10
+ body,
11
+ div,
12
+ span,
13
+ object,
14
+ iframe,
15
+ h1,
16
+ h2,
17
+ h3,
18
+ h4,
19
+ h5,
20
+ h6,
21
+ p,
22
+ blockquote,
23
+ pre,
24
+ abbr,
25
+ address,
26
+ cite,
27
+ code,
28
+ del,
29
+ dfn,
30
+ em,
31
+ img,
32
+ ins,
33
+ kbd,
34
+ q,
35
+ samp,
36
+ small,
37
+ strong,
38
+ sub,
39
+ sup,
40
+ var,
41
+ b,
42
+ i,
43
+ dl,
44
+ dt,
45
+ dd,
46
+ ol,
47
+ ul,
48
+ li,
49
+ fieldset,
50
+ form,
51
+ label,
52
+ legend,
53
+ table,
54
+ caption,
55
+ tbody,
56
+ tfoot,
57
+ thead,
58
+ tr,
59
+ th,
60
+ td,
61
+ article,
62
+ aside,
63
+ canvas,
64
+ details,
65
+ figcaption,
66
+ figure,
67
+ footer,
68
+ header,
69
+ hgroup,
70
+ menu,
71
+ nav,
72
+ section,
73
+ summary,
74
+ time,
75
+ mark,
76
+ audio,
77
+ video {
78
+ margin: 0;
79
+ padding: 0;
80
+ outline: 0;
81
+ border: 0;
82
+ background: transparent;
83
+ vertical-align: baseline;
84
+ font-size: 100%;
85
+ }
86
+
87
+ body {
88
+ line-height: 1;
89
+ }
90
+
91
+ article,
92
+ aside,
93
+ details,
94
+ figcaption,
95
+ figure,
96
+ footer,
97
+ header,
98
+ hgroup,
99
+ menu,
100
+ nav,
101
+ section {
102
+ display: block;
103
+ }
104
+
105
+ nav ul {
106
+ list-style: none;
107
+ }
108
+
109
+ blockquote,
110
+ q {
111
+ quotes: none;
112
+ }
113
+
114
+ blockquote:before,
115
+ blockquote:after,
116
+ q:before,
117
+ q:after {
118
+ content: "";
119
+ content: none;
120
+ }
121
+
122
+ a {
123
+ margin: 0;
124
+ padding: 0;
125
+ background: transparent;
126
+ vertical-align: baseline;
127
+ font-size: 100%;
128
+ }
129
+
130
+ /* change colours to suit your needs */
131
+ ins {
132
+ background-color: #ff9;
133
+ color: #000;
134
+ text-decoration: none;
135
+ }
136
+
137
+ /* change colours to suit your needs */
138
+ mark {
139
+ background-color: #ff9;
140
+ color: #000;
141
+ font-weight: bold;
142
+ font-style: italic;
143
+ }
144
+
145
+ del {
146
+ text-decoration: line-through;
147
+ }
148
+
149
+ abbr[title],
150
+ dfn[title] {
151
+ border-bottom: 1px dotted;
152
+ cursor: help;
153
+ }
154
+
155
+ table {
156
+ border-spacing: 0;
157
+ border-collapse: collapse;
158
+ }
159
+
160
+ /* change border colour to suit your needs */
161
+ hr {
162
+ display: block;
163
+ margin: 1em 0;
164
+ padding: 0;
165
+ height: 1px;
166
+ border: 0;
167
+ border-top: 1px solid #cccccc;
168
+ }
169
+
170
+ input,
171
+ select {
172
+ vertical-align: middle;
173
+ }
174
+
175
+ input[type="submit"],
176
+ input[type="button"] {
177
+ -webkit-box-sizing: content-box;
178
+ box-sizing: border-box;
179
+ border: none;
180
+
181
+ -webkit-appearance: button;
182
+ appearance: button;
183
+
184
+ &::-webkit-search-decoration {
185
+ display: none;
186
+ }
187
+
188
+ &::focus {
189
+ outline-offset: -2px;
190
+ }
191
+ }
192
+
193
+ input[type="date"]::-webkit-inner-spin-button {
194
+ -webkit-appearance: none;
195
+ }
196
+
197
+ input[type="date"] {
198
+ position: relative;
199
+ }
200
+
201
+ input[type="date"]::-webkit-calendar-picker-indicator {
202
+ position: absolute;
203
+ width: 90%;
204
+ height: 100%;
205
+ opacity: 0;
206
+ }
@@ -0,0 +1,11 @@
1
+ $size-container-width: 50rem;
2
+
3
+ $size-header-height: 3rem;
4
+ $size-footer-height: 3rem;
5
+
6
+ $size-footer-profile-icon: 4rem;
7
+ $size-profile-page-icon: 6rem;
8
+
9
+ // font
10
+ $size-font-base: 16px;
11
+ $size-font-header: 1.5rem;
@@ -0,0 +1,4 @@
1
+ ---
2
+ ---
3
+
4
+ @import "import";
Binary file
Binary file
Binary file
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <browserconfig>
3
+ <msapplication>
4
+ <tile>
5
+ <square150x150logo src="/mstile-150x150.png"/>
6
+ <TileColor>#707070</TileColor>
7
+ </tile>
8
+ </msapplication>
9
+ </browserconfig>
Binary file
@@ -0,0 +1,23 @@
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
3
+ "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
4
+ <svg version="1.0" xmlns="http://www.w3.org/2000/svg"
5
+ width="512.000000pt" height="512.000000pt" viewBox="0 0 512.000000 512.000000"
6
+ preserveAspectRatio="xMidYMid meet">
7
+ <metadata>
8
+ Created by potrace 1.11, written by Peter Selinger 2001-2013
9
+ </metadata>
10
+ <g transform="translate(0.000000,512.000000) scale(0.100000,-0.100000)"
11
+ fill="#000000" stroke="none">
12
+ <path d="M2305 5109 c-38 -4 -87 -10 -107 -13 -21 -3 -55 -8 -75 -12 -79 -11
13
+ -292 -66 -393 -101 -281 -96 -542 -240 -780 -430 -215 -172 -461 -456 -602
14
+ -698 -78 -133 -224 -469 -242 -556 -3 -13 -10 -40 -16 -59 -28 -90 -53 -224
15
+ -75 -390 -17 -139 -13 -520 8 -650 25 -150 27 -159 53 -264 80 -316 227 -633
16
+ 408 -876 14 -19 34 -46 43 -60 34 -47 148 -175 223 -251 350 -352 811 -600
17
+ 1298 -699 106 -21 119 -23 237 -37 88 -10 458 -11 547 -1 426 48 850 206 1188
18
+ 442 150 105 357 290 466 416 174 203 320 432 422 665 42 97 118 316 127 367 3
19
+ 17 8 34 10 38 10 16 53 259 62 348 12 119 9 507 -5 602 -86 586 -337 1093
20
+ -737 1485 -125 122 -155 149 -251 220 -49 37 -97 73 -107 81 -9 8 -19 14 -22
21
+ 14 -2 0 -35 20 -72 44 -312 200 -698 332 -1098 375 -95 10 -411 10 -510 0z"/>
22
+ </g>
23
+ </svg>
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "",
3
+ "short_name": "",
4
+ "icons": [
5
+ {
6
+ "src": "/android-chrome-192x192.png",
7
+ "sizes": "192x192",
8
+ "type": "image/png"
9
+ },
10
+ {
11
+ "src": "/android-chrome-512x512.png",
12
+ "sizes": "512x512",
13
+ "type": "image/png"
14
+ }
15
+ ],
16
+ "theme_color": "#ffffff",
17
+ "background_color": "#ffffff",
18
+ "display": "standalone"
19
+ }
Binary file