jekyll-citoyensbourgbresse 1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,226 @@
1
+ /**
2
+ * Site header
3
+ */
4
+ .site-header {
5
+ min-height: 56px;
6
+
7
+ // Positioning context for the mobile navigation icon
8
+ position: relative;
9
+ }
10
+
11
+ .site-title {
12
+ font-size: 26px;
13
+ font-weight: 300;
14
+ line-height: 56px;
15
+ letter-spacing: -1px;
16
+ margin-bottom: 0;
17
+ float: left;
18
+
19
+ &,
20
+ &:visited {
21
+ color: $grey-color-dark;
22
+ }
23
+ }
24
+
25
+ .site-nav {
26
+ float: right;
27
+ line-height: 56px;
28
+
29
+ .page-link {
30
+ color: $text-color;
31
+ line-height: $base-line-height;
32
+
33
+ // Gaps between nav items, but not on the last one
34
+ &:not(:last-child) {
35
+ margin-right: 20px;
36
+ }
37
+ }
38
+
39
+ @include media-query($on-palm) {
40
+ .page-link {
41
+ padding: 20px 0;
42
+
43
+ &:not(:last-child) {
44
+ margin-right: 0;
45
+ }
46
+ margin-left: 20px;
47
+ }
48
+ }
49
+ }
50
+
51
+
52
+
53
+ /**
54
+ * Site footer
55
+ */
56
+ .site-footer {
57
+ padding: $spacing-unit 0;
58
+ font-size: 15px;
59
+ color: $grey-color;
60
+ text-align: center;
61
+ }
62
+
63
+
64
+
65
+ /**
66
+ * Page content
67
+ */
68
+ .page-content {
69
+ padding: $spacing-unit 0;
70
+ }
71
+
72
+ .page-heading {
73
+ font-size: 20px;
74
+ }
75
+
76
+ .post-list {
77
+ margin-left: 0;
78
+ list-style: none;
79
+
80
+ .post-link:hover {
81
+ text-decoration: none;
82
+ }
83
+
84
+ > li {
85
+ margin-bottom: $spacing-unit * 2;
86
+
87
+ &:not(:first-child) {
88
+ border-top: 4px solid $grey-color-light;
89
+ padding-top: $spacing-unit * 2;
90
+ }
91
+ }
92
+ }
93
+
94
+ .post-archives {
95
+ margin-left: 0;
96
+ list-style: none;
97
+
98
+ .post-link {
99
+ font-size: 24px;
100
+ }
101
+
102
+ > li {
103
+ margin-bottom: $spacing-unit;
104
+ }
105
+ }
106
+
107
+ .post-meta {
108
+ font-size: $small-font-size;
109
+ color: $grey-color;
110
+ }
111
+
112
+ .post-link {
113
+ &,
114
+ &:visited {
115
+ color: $text-color;
116
+ }
117
+
118
+ &:hover {
119
+ color: $brand-color;
120
+ }
121
+ }
122
+
123
+ .post-continue {
124
+ a {
125
+ padding: 8px 15px;
126
+ text-decoration: none;
127
+
128
+ &,
129
+ &:visited {
130
+ color: $grey-color-dark;
131
+ background-color: $grey-color-light;
132
+ }
133
+
134
+ &:hover {
135
+ color: white;
136
+ background-color: $brand-color;
137
+ }
138
+ }
139
+ }
140
+
141
+
142
+
143
+ /**
144
+ * Posts
145
+ */
146
+ .post-header {
147
+ margin-bottom: $spacing-unit;
148
+ }
149
+
150
+ .post-title {
151
+ font-size: 42px;
152
+ letter-spacing: -1px;
153
+ line-height: 1;
154
+
155
+ @include media-query($on-laptop) {
156
+ font-size: 36px;
157
+ }
158
+ }
159
+
160
+ .post-content {
161
+ margin-bottom: $spacing-unit;
162
+
163
+ h1 {
164
+ font-size: 38px;
165
+
166
+ @include media-query($on-laptop) {
167
+ font-size: 34px;
168
+ }
169
+ }
170
+
171
+ h2 {
172
+ font-size: 32px;
173
+
174
+ @include media-query($on-laptop) {
175
+ font-size: 28px;
176
+ }
177
+ }
178
+
179
+ h3 {
180
+ font-size: 26px;
181
+
182
+ @include media-query($on-laptop) {
183
+ font-size: 22px;
184
+ }
185
+ }
186
+
187
+ h4 {
188
+ font-size: 20px;
189
+
190
+ @include media-query($on-laptop) {
191
+ font-size: 18px;
192
+ }
193
+ }
194
+ }
195
+
196
+
197
+
198
+ /**
199
+ * Pagination
200
+ */
201
+ .pagination {
202
+ padding: $spacing-unit / 2 0;
203
+ border-top: 1px solid $grey-color-light;
204
+ border-bottom: 1px solid $grey-color-light;
205
+ text-align: center;
206
+ @extend %clearfix;
207
+
208
+ a {
209
+ &,
210
+ &:visited {
211
+ color: $grey-color;
212
+ }
213
+
214
+ &:hover {
215
+ color: $brand-color;
216
+ }
217
+ }
218
+
219
+ .previous {
220
+ float: left;
221
+ }
222
+
223
+ .next {
224
+ float: right;
225
+ }
226
+ }
@@ -0,0 +1,72 @@
1
+ /**
2
+ * Syntax highlighting styles
3
+ */
4
+ .highlight {
5
+ background-color: #f8f8f8;
6
+ @extend %vertical-rhythm;
7
+
8
+ .highlighter-rouge & {
9
+ background-color: #f8f8f8;
10
+ }
11
+
12
+ .cm { color: #727262; font-style: italic } // Comment.Multiline
13
+ .cp { color: #727272; font-weight: bold } // Comment.Preproc
14
+ .c1 { color: #727262; font-style: italic } // Comment.Single
15
+ .cs { color: #727272; font-weight: bold; font-style: italic } // Comment.Special
16
+ .c, .cd { color: #727262; font-style: italic } // Comment, Comment.Doc
17
+ .err { color: #a61717; background-color: #e3d2d2 } // Error
18
+ .gd { color: #000; background-color: #fdd } // Generic.Deleted
19
+ .ge { color: #000; font-style: italic } // Generic.Emph
20
+ .gr { color: #a00 } // Generic.Error
21
+ .gh { color: #727272 } // Generic.Heading
22
+ .gi { color: #000; background-color: #dfd } // Generic.Inserted
23
+ .go { color: #727272 } // Generic.Output
24
+ .gp { color: #555 } // Generic.Prompt
25
+ .gs { font-weight: bold } // Generic.Strong
26
+ .gu { color: #727272 } // Generic.Subheading
27
+ .gt { color: #a00 } // Generic.Traceback
28
+ .kc { color: #000; font-weight: bold } // Keyword.Constant
29
+ .kd { color: #000; font-weight: bold } // Keyword.Declaration
30
+ .kn { color: #000; font-weight: bold } // Keyword.Namespace
31
+ .kp { color: #000; font-weight: bold } // Keyword.Pseudo
32
+ .kr { color: #000; font-weight: bold } // Keyword.Reserved
33
+ .kt { color: #458; font-weight: bold } // Keyword.Type
34
+ .k, .kv { color: #000; font-weight: bold } // Keyword, Keyword.Variable
35
+ .mf { color: #007f7f } // Literal.Number.Float
36
+ .mh { color: #007f7f } // Literal.Number.Hex
37
+ .il { color: #007f7f } // Literal.Number.Integer.Long
38
+ .mi { color: #007f7f } // Literal.Number.Integer
39
+ .mo { color: #007f7f } // Literal.Number.Oct
40
+ .m, .mb, .mx { color: #007f7f } // Literal.Number, Literal.Number.Bin, Literal.Number.Other
41
+ .sb { color: #d14 } // Literal.String.Backtick
42
+ .sc { color: #d14 } // Literal.String.Char
43
+ .sd { color: #d14 } // Literal.String.Doc
44
+ .s2 { color: #d14 } // Literal.String.Double
45
+ .se { color: #d14 } // Literal.String.Escape
46
+ .sh { color: #d14 } // Literal.String.Heredoc
47
+ .si { color: #d14 } // Literal.String.Interpol
48
+ .sx { color: #d14 } // Literal.String.Other
49
+ .sr { color: #008522 } // Literal.String.Regex
50
+ .s1 { color: #d14 } // Literal.String.Single
51
+ .ss { color: #990073 } // Literal.String.Symbol
52
+ .s { color: #d14 } // Literal.String
53
+ .na { color: #007f7f } // Name.Attribute
54
+ .bp { color: #727272 } // Name.Builtin.Pseudo
55
+ .nb { color: #007aa3 } // Name.Builtin
56
+ .nc { color: #458; font-weight: bold } // Name.Class
57
+ .no { color: #007f7f } // Name.Constant
58
+ .nd { color: #3c5d5d; font-weight: bold } // Name.Decorator
59
+ .ni { color: #800080 } // Name.Entity
60
+ .ne { color: #900; font-weight: bold } // Name.Exception
61
+ .nf { color: #900; font-weight: bold } // Name.Function
62
+ .nl { color: #900; font-weight: bold } // Name.Label
63
+ .nn { color: #555 } // Name.Namespace
64
+ .nt { color: #000080 } // Name.Tag
65
+ .vc { color: #007f7f } // Name.Variable.Class
66
+ .vg { color: #007f7f } // Name.Variable.Global
67
+ .vi { color: #007f7f } // Name.Variable.Instance
68
+ .nv { color: #007f7f } // Name.Variable
69
+ .ow { color: #000; font-weight: bold } // Operator.Word
70
+ .o { color: #000; font-weight: bold } // Operator
71
+ .w { color: #727272 } // Text.Whitespace
72
+ }
@@ -0,0 +1,47 @@
1
+ // Define defaults for each variable.
2
+ $base-font-family: Bitter, "Apple SD Gothic Neo", "Noto Sans", "Source Han Sans", "Noto Sans CJK JP", "Source Han Sans JP", "Noto Sans CJK KR", "Source Han Sans KR", NanumBarunGothic, AppleGothic, "Malgun Gothic", Dotum, sans-serif !default;
3
+ $monospace-font-family: Monaco, Menlo, Consolas, "Courier New", DotumChe, monospace !default;
4
+ $base-font-size: 16px !default;
5
+ $base-font-weight: 400 !default;
6
+ $small-font-size: $base-font-size * 0.875 !default;
7
+ $base-line-height: 1.5 !default;
8
+
9
+ $spacing-unit: 30px !default;
10
+
11
+ $text-color: #111 !default;
12
+ $background-color: #fdfdfd !default;
13
+ $brand-color: #2568ba !default;
14
+
15
+ $grey-color: #757575 !default;
16
+ $grey-color-light: lighten($grey-color, 45%) !default;
17
+ $grey-color-dark: darken($grey-color, 20%) !default;
18
+
19
+ // Width of the content area
20
+ $content-width: 800px !default;
21
+
22
+ $on-palm: 600px !default;
23
+ $on-laptop: 800px !default;
24
+
25
+
26
+
27
+ // Use media queries like this:
28
+ // @include media-query($on-palm) {
29
+ // .wrapper {
30
+ // padding-right: $spacing-unit / 2;
31
+ // padding-left: $spacing-unit / 2;
32
+ // }
33
+ // }
34
+ @mixin media-query($device) {
35
+ @media screen and (max-width: $device) {
36
+ @content;
37
+ }
38
+ }
39
+
40
+
41
+
42
+ // Import partials.
43
+ @import
44
+ "whiteglass/base",
45
+ "whiteglass/layout",
46
+ "whiteglass/syntax-highlighting"
47
+ ;
data/assets/main.scss ADDED
@@ -0,0 +1,49 @@
1
+ ---
2
+ # Only the main Sass file needs front matter (the dashes are enough)
3
+ ---
4
+ @charset "utf-8";
5
+
6
+ // Our variables
7
+ $base-font-family: Bitter, "Apple SD Gothic Neo", AppleGothic, NanumBarunGothic, "Malgun Gothic", Dotum, sans-serif;
8
+ $monospace-font-family: Monaco, Menlo, Consolas, "Courier New", DotumChe, monospace;
9
+ $base-font-size: 16px;
10
+ $base-font-weight: 400;
11
+ $small-font-size: $base-font-size * 0.875;
12
+ $base-line-height: 1.5;
13
+
14
+ $spacing-unit: 30px;
15
+
16
+ $text-color: #111;
17
+ $background-color: #fdfdfd;
18
+ $brand-color: #2568ba;
19
+
20
+ $grey-color: #757575;
21
+ $grey-color-light: lighten($grey-color, 45%);
22
+ $grey-color-dark: darken($grey-color, 20%);
23
+
24
+ // Width of the content area
25
+ $content-width: 800px;
26
+
27
+ $on-palm: 600px;
28
+ $on-laptop: 800px;
29
+
30
+
31
+
32
+ // whiteglass also includes a mixin for defining media queries.
33
+ // Use media queries like this:
34
+ // @include media-query($on-palm) {
35
+ // .wrapper {
36
+ // padding-right: $spacing-unit / 2;
37
+ // padding-left: $spacing-unit / 2;
38
+ // }
39
+ // }
40
+ @mixin media-query($device) {
41
+ @media screen and (max-width: $device) {
42
+ @content;
43
+ }
44
+ }
45
+
46
+
47
+
48
+ // Import partials from the `whiteglass` theme.
49
+ @import "whiteglass";
metadata ADDED
@@ -0,0 +1,173 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-citoyensbourgbresse
3
+ version: !ruby/object:Gem::Version
4
+ version: '1.0'
5
+ platform: ruby
6
+ authors:
7
+ - Bertrand Keller
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2021-11-16 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: jekyll
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '3.3'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '3.3'
27
+ - !ruby/object:Gem::Dependency
28
+ name: jekyll-archives
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.1'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '2.1'
41
+ - !ruby/object:Gem::Dependency
42
+ name: jekyll-paginate
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.1'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.1'
55
+ - !ruby/object:Gem::Dependency
56
+ name: jekyll-sitemap
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: jekyll-optional-front-matter
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 0.3.2
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 0.3.2
83
+ - !ruby/object:Gem::Dependency
84
+ name: bundler
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rake
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ description:
112
+ email:
113
+ - bertrand.keller@gmail.com
114
+ executables: []
115
+ extensions: []
116
+ extra_rdoc_files: []
117
+ files:
118
+ - CHANGELOG.md
119
+ - LICENSE.txt
120
+ - README.md
121
+ - _data/i18n.yml
122
+ - _includes/category_links.html
123
+ - _includes/custom_comments_provider.html
124
+ - _includes/date.html
125
+ - _includes/fonts.html
126
+ - _includes/footer.html
127
+ - _includes/footer_content.html
128
+ - _includes/google_analytics.html
129
+ - _includes/head.html
130
+ - _includes/head_custom.html
131
+ - _includes/header.html
132
+ - _includes/i18n.html
133
+ - _includes/pagination.html
134
+ - _layouts/archive.html
135
+ - _layouts/category_archives.html
136
+ - _layouts/default.html
137
+ - _layouts/feed.xml
138
+ - _layouts/home.html
139
+ - _layouts/page.html
140
+ - _layouts/post.html
141
+ - _sass/whiteglass.scss
142
+ - _sass/whiteglass/_base.scss
143
+ - _sass/whiteglass/_layout.scss
144
+ - _sass/whiteglass/_syntax-highlighting.scss
145
+ - assets/main.scss
146
+ homepage: https://github.com/bertrandkeller/whiteglass
147
+ licenses:
148
+ - MIT
149
+ metadata:
150
+ homepage_uri: https://github.com/bertrandkeller/whiteglass
151
+ source_code_uri: https://github.com/bertrandkeller/whiteglass
152
+ bug_tracker_uri: https://github.com/bertrandkeller/whiteglass/issues
153
+ changelog_uri: https://github.com/bertrandkeller/whiteglass/blob/master/CHANGELOG.md
154
+ post_install_message:
155
+ rdoc_options: []
156
+ require_paths:
157
+ - lib
158
+ required_ruby_version: !ruby/object:Gem::Requirement
159
+ requirements:
160
+ - - ">="
161
+ - !ruby/object:Gem::Version
162
+ version: '0'
163
+ required_rubygems_version: !ruby/object:Gem::Requirement
164
+ requirements:
165
+ - - ">="
166
+ - !ruby/object:Gem::Version
167
+ version: '0'
168
+ requirements: []
169
+ rubygems_version: 3.0.3
170
+ signing_key:
171
+ specification_version: 4
172
+ summary: Minimal, responsive Jekyll theme for hackers.
173
+ test_files: []