kacademic 0.5.8

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 (56) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +338 -0
  4. data/_data/academic_i18n.yml +61 -0
  5. data/_includes/_i18n/date.html +11 -0
  6. data/_includes/_i18n/i18n.html +17 -0
  7. data/_includes/_i18n/lang_selector.html +42 -0
  8. data/_includes/_i18n/last_modified_at.html +29 -0
  9. data/_includes/_i18n/link.html +10 -0
  10. data/_includes/_i18n/sitetitle.html +19 -0
  11. data/_includes/_icons/Spotify-Icon-Black-Logo.wine.svg +1 -0
  12. data/_includes/_icons/email.html +1 -0
  13. data/_includes/_icons/email.svg +1 -0
  14. data/_includes/_icons/file.html +11 -0
  15. data/_includes/_icons/file.svg +1 -0
  16. data/_includes/_icons/github.html +1 -0
  17. data/_includes/_icons/github.svg +1 -0
  18. data/_includes/_icons/keybase.html +1 -0
  19. data/_includes/_icons/keybase.svg +1 -0
  20. data/_includes/_icons/linkedin.html +1 -0
  21. data/_includes/_icons/linkedin.svg +1 -0
  22. data/_includes/_icons/rss.html +7 -0
  23. data/_includes/_icons/rss.svg +5 -0
  24. data/_includes/_icons/spotify.html +1 -0
  25. data/_includes/_icons/spotify.svg +2 -0
  26. data/_includes/_icons/website.html +2 -0
  27. data/_includes/_icons/website.svg +6 -0
  28. data/_includes/calltoaction.html +19 -0
  29. data/_includes/contactlist.html +34 -0
  30. data/_includes/footer.html +80 -0
  31. data/_includes/head.html +77 -0
  32. data/_includes/header.html +35 -0
  33. data/_includes/image.html +9 -0
  34. data/_includes/nav_menu.html +26 -0
  35. data/_includes/piwik.html +15 -0
  36. data/_includes/post-li.html +19 -0
  37. data/_includes/post-ul.html +19 -0
  38. data/_includes/sitemap-url.html +30 -0
  39. data/_layouts/about.html +46 -0
  40. data/_layouts/archive.html +17 -0
  41. data/_layouts/default.html +24 -0
  42. data/_layouts/home.html +31 -0
  43. data/_layouts/page.html +7 -0
  44. data/_layouts/pagenotfound.html +11 -0
  45. data/_layouts/post.html +51 -0
  46. data/_layouts/sitemap.html +5 -0
  47. data/_sass/.DS_Store +0 -0
  48. data/_sass/academic/_base.scss +347 -0
  49. data/_sass/academic/_layout.scss +797 -0
  50. data/_sass/academic/_syntax-highlighting.scss +61 -0
  51. data/_sass/academic.scss +124 -0
  52. data/assets/main.scss +46 -0
  53. data/assets/opensans/OpenSans-Bold.ttf +0 -0
  54. data/assets/opensans/OpenSans-Italic.ttf +0 -0
  55. data/assets/opensans/OpenSans-Regular.ttf +0 -0
  56. metadata +153 -0
@@ -0,0 +1,61 @@
1
+ .highlight .hll { background-color: #ffffcc }
2
+ .highlight .c { color: #999988; font-style: italic } /* Comment */
3
+ .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
4
+ .highlight .k { color: #000000; font-weight: bold } /* Keyword */
5
+ .highlight .o { color: #000000; font-weight: bold } /* Operator */
6
+ .highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */
7
+ .highlight .cp { color: #999999; font-weight: bold; font-style: italic } /* Comment.Preproc */
8
+ .highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */
9
+ .highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
10
+ .highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
11
+ .highlight .ge { color: #000000; font-style: italic } /* Generic.Emph */
12
+ .highlight .gr { color: #aa0000 } /* Generic.Error */
13
+ .highlight .gh { color: #999999 } /* Generic.Heading */
14
+ .highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
15
+ .highlight .go { color: #888888 } /* Generic.Output */
16
+ .highlight .gp { color: #555555 } /* Generic.Prompt */
17
+ .highlight .gs { font-weight: bold } /* Generic.Strong */
18
+ .highlight .gu { color: #aaaaaa } /* Generic.Subheading */
19
+ .highlight .gt { color: #aa0000 } /* Generic.Traceback */
20
+ .highlight .kc { color: #000000; font-weight: bold } /* Keyword.Constant */
21
+ .highlight .kd { color: #000000; font-weight: bold } /* Keyword.Declaration */
22
+ .highlight .kn { color: #000000; font-weight: bold } /* Keyword.Namespace */
23
+ .highlight .kp { color: #000000; font-weight: bold } /* Keyword.Pseudo */
24
+ .highlight .kr { color: #000000; font-weight: bold } /* Keyword.Reserved */
25
+ .highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
26
+ .highlight .m { color: #009999 } /* Literal.Number */
27
+ .highlight .s { color: #d01040 } /* Literal.String */
28
+ .highlight .na { color: #008080 } /* Name.Attribute */
29
+ .highlight .nb { color: #0086B3 } /* Name.Builtin */
30
+ .highlight .nc { color: #445588; font-weight: bold } /* Name.Class */
31
+ .highlight .no { color: #008080 } /* Name.Constant */
32
+ .highlight .nd { color: #3c5d5d; font-weight: bold } /* Name.Decorator */
33
+ .highlight .ni { color: #800080 } /* Name.Entity */
34
+ .highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */
35
+ .highlight .nf { color: #990000; font-weight: bold } /* Name.Function */
36
+ .highlight .nl { color: #990000; font-weight: bold } /* Name.Label */
37
+ .highlight .nn { color: #555555 } /* Name.Namespace */
38
+ .highlight .nt { color: #000080 } /* Name.Tag */
39
+ .highlight .nv { color: #008080 } /* Name.Variable */
40
+ .highlight .ow { color: #000000; font-weight: bold } /* Operator.Word */
41
+ .highlight .w { color: #bbbbbb } /* Text.Whitespace */
42
+ .highlight .mf { color: #009999 } /* Literal.Number.Float */
43
+ .highlight .mh { color: #009999 } /* Literal.Number.Hex */
44
+ .highlight .mi { color: #009999 } /* Literal.Number.Integer */
45
+ .highlight .mo { color: #009999 } /* Literal.Number.Oct */
46
+ .highlight .sb { color: #d01040 } /* Literal.String.Backtick */
47
+ .highlight .sc { color: #d01040 } /* Literal.String.Char */
48
+ .highlight .sd { color: #d01040 } /* Literal.String.Doc */
49
+ .highlight .s2 { color: #d01040 } /* Literal.String.Double */
50
+ .highlight .se { color: #d01040 } /* Literal.String.Escape */
51
+ .highlight .sh { color: #d01040 } /* Literal.String.Heredoc */
52
+ .highlight .si { color: #d01040 } /* Literal.String.Interpol */
53
+ .highlight .sx { color: #d01040 } /* Literal.String.Other */
54
+ .highlight .sr { color: #009926 } /* Literal.String.Regex */
55
+ .highlight .s1 { color: #d01040 } /* Literal.String.Single */
56
+ .highlight .ss { color: #990073 } /* Literal.String.Symbol */
57
+ .highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
58
+ .highlight .vc { color: #008080 } /* Name.Variable.Class */
59
+ .highlight .vg { color: #008080 } /* Name.Variable.Global */
60
+ .highlight .vi { color: #008080 } /* Name.Variable.Instance */
61
+ .highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
@@ -0,0 +1,124 @@
1
+ // Define defaults for each variable.
2
+
3
+ $type-scale-large: (
4
+ h1: 2.941rem,
5
+ h2: 2.111rem,
6
+ h3: 1.663rem,
7
+ h4: 1.333rem,
8
+ p: 1.25rem,
9
+ small: 1.15rem,
10
+ vsmall: 1rem,
11
+ );
12
+
13
+ $type-scale-medium: (
14
+ h1: 2.441rem,
15
+ h2: 1.653em,
16
+ h3: 1.563rem,
17
+ h4: 1.333rem,
18
+ p: 1.25rem,
19
+ small: 1.15rem,
20
+ vsmall: 1rem,
21
+ );
22
+
23
+ $type-scale-small: (
24
+ h1: 2.148rem,
25
+ h2: 1.719rem,
26
+ h3: 1.375rem,
27
+ h4: 1.233rem,
28
+ p: 1.1rem,
29
+ small: 0.95rem,
30
+ vsmall: 0.85rem,
31
+ );
32
+
33
+ $type-line-large: (
34
+ h1: map-get($type-scale-large, h1)*1.1,
35
+ h2: map-get($type-scale-large, h2)*1.2,
36
+ h3: map-get($type-scale-large, h3)*1.2,
37
+ h4: map-get($type-scale-large, h4)*1.2,
38
+ p: map-get($type-scale-large, p)*1.6,
39
+ small: map-get($type-scale-large, small)*1.6,
40
+ vsmall: map-get($type-scale-large, vsmall)*1.6,
41
+ );
42
+
43
+ $type-line-medium: (
44
+ h1: map-get($type-scale-medium, h1)*1.1,
45
+ h2: map-get($type-scale-medium, h2)*0.8,
46
+ h3: map-get($type-scale-medium, h3)*1.3,
47
+ h4: map-get($type-scale-medium, h4)*1.3,
48
+ p: map-get($type-scale-medium, p)*1.6,
49
+ small: map-get($type-scale-medium, small)*1.6,
50
+ vsmall: map-get($type-scale-medium, vsmall)*1.6,
51
+ );
52
+
53
+ $type-line-small: (
54
+ h1: map-get($type-scale-small, h1)*1.1,
55
+ h2: map-get($type-scale-small, h2),
56
+ h3: map-get($type-scale-small, h3)*0.9,
57
+ h4: map-get($type-scale-small, h4)*0.9,
58
+ p: map-get($type-scale-small, p)*1.6,
59
+ small: map-get($type-scale-small, small)*1.6,
60
+ vsmall: map-get($type-scale-small, vsmall)*1.6,
61
+ );
62
+
63
+
64
+ $breakpoint-medium: 75em;
65
+ $breakpoint-small: 45em;
66
+
67
+ @mixin size($level) {
68
+ font-size: map-get($type-scale-large, $level);
69
+ line-height: map-get($type-line-large, $level);
70
+
71
+ @media (max-width: $breakpoint-medium) {
72
+ font-size: map-get($type-scale-medium, $level);
73
+ line-height: map-get($type-line-medium, $level);
74
+ }
75
+ @media (max-width: $breakpoint-small) {
76
+ font-size: map-get($type-scale-small, $level);
77
+ line-height: map-get($type-line-medium, $level);
78
+ }
79
+ }
80
+
81
+ $base-font-family: "PT Serif", serif !default;
82
+ $base-font-size: 16px !default;
83
+ $base-font-weight: 400 !default;
84
+ $small-font-size: $base-font-size * 0.875 !default;
85
+
86
+ $alt-font-family: "Open Sans", sans-serif !default;
87
+ $alt-font-weight: bold !default;
88
+
89
+ $spacing-unit: 50px !default;
90
+
91
+ $text-color: #111 !default;
92
+ $background-color: #fdfdfd !default;
93
+ $brand-color: #97B8D1 !default;
94
+
95
+ $grey-color: #3F3F3F !default;
96
+ $grey-color-light: lighten($grey-color, 50%) !default;
97
+ $grey-color-lighter: lighten($grey-color, 90%) !default;
98
+ $grey-color-dark: darken($grey-color, 25%) !default;
99
+
100
+ // Width of the content area
101
+ $content-width: 700px;
102
+
103
+ $on-palm: 600px !default;
104
+ $on-laptop: 800px !default;
105
+
106
+ // Use media queries like this:
107
+ // @include media-query($on-palm) {
108
+ // .wrapper {
109
+ // padding-right: $spacing-unit / 2;
110
+ // padding-left: $spacing-unit / 2;
111
+ // }
112
+ // }
113
+ @mixin media-query($device) {
114
+ @media screen and (max-width: $device) {
115
+ @content;
116
+ }
117
+ }
118
+
119
+ // Import partials.
120
+ @import
121
+ "academic/base",
122
+ "academic/layout",
123
+ "academic/syntax-highlighting"
124
+ ;
data/assets/main.scss ADDED
@@ -0,0 +1,46 @@
1
+ ---
2
+ # Only the main Sass file needs front matter (the dashes are enough)
3
+ ---
4
+ @charset "utf-8";
5
+
6
+ @import url('https://fonts.googleapis.com/css?family=Open+Sans:800|PT+Serif');
7
+
8
+ // Our variables
9
+ // $base-font-family: "Open Sans", sans-serif;
10
+ $base-font-family: "PT Serif", serif;
11
+ $base-font-size: 20px;
12
+ $base-font-weight: 400;
13
+ $small-font-size: $base-font-size * 0.95;
14
+ $base-line-height: 1.5;
15
+
16
+ $alt-font-family: "Open Sans", sans-serif;
17
+ $alt-font-weight: bold;
18
+
19
+ $spacing-unit: 50px;
20
+
21
+ $text-color: #111;
22
+ $background-color: #fdfdfd;
23
+ $brand-color: #97B8D1;
24
+
25
+ $grey-color: #3F3F3F;
26
+ $grey-color-light: lighten($grey-color, 50%);
27
+ $grey-color-lighter: lighten($grey-color, 70%);
28
+ $grey-color-dark: darken($grey-color, 25%);
29
+
30
+ // Width of the content area
31
+ $content-width: 700px;
32
+
33
+ $on-palm: 500px;
34
+ $on-laptop: 700px;
35
+
36
+ // Minima also includes a mixin for defining media queries.
37
+ // Use media queries like this:
38
+ // @include media-query($on-palm) {
39
+ // .wrapper {
40
+ // padding-right: $spacing-unit / 2;
41
+ // padding-left: $spacing-unit / 2;
42
+ // }
43
+ // }
44
+
45
+ // Import partials from the `minima` theme.
46
+ @import "academic";
Binary file
Binary file
metadata ADDED
@@ -0,0 +1,153 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: kacademic
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.5.8
5
+ platform: ruby
6
+ authors:
7
+ - kevinfjiang
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2022-01-04 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: jekyll-data
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: jekyll
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '3.3'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '3.3'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.12'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.12'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '10.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '10.0'
69
+ description:
70
+ email:
71
+ - kevin.jiang016@gmail.com
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - LICENSE.txt
77
+ - README.md
78
+ - _data/academic_i18n.yml
79
+ - _includes/_i18n/date.html
80
+ - _includes/_i18n/i18n.html
81
+ - _includes/_i18n/lang_selector.html
82
+ - _includes/_i18n/last_modified_at.html
83
+ - _includes/_i18n/link.html
84
+ - _includes/_i18n/sitetitle.html
85
+ - _includes/_icons/Spotify-Icon-Black-Logo.wine.svg
86
+ - _includes/_icons/email.html
87
+ - _includes/_icons/email.svg
88
+ - _includes/_icons/file.html
89
+ - _includes/_icons/file.svg
90
+ - _includes/_icons/github.html
91
+ - _includes/_icons/github.svg
92
+ - _includes/_icons/keybase.html
93
+ - _includes/_icons/keybase.svg
94
+ - _includes/_icons/linkedin.html
95
+ - _includes/_icons/linkedin.svg
96
+ - _includes/_icons/rss.html
97
+ - _includes/_icons/rss.svg
98
+ - _includes/_icons/spotify.html
99
+ - _includes/_icons/spotify.svg
100
+ - _includes/_icons/website.html
101
+ - _includes/_icons/website.svg
102
+ - _includes/calltoaction.html
103
+ - _includes/contactlist.html
104
+ - _includes/footer.html
105
+ - _includes/head.html
106
+ - _includes/header.html
107
+ - _includes/image.html
108
+ - _includes/nav_menu.html
109
+ - _includes/piwik.html
110
+ - _includes/post-li.html
111
+ - _includes/post-ul.html
112
+ - _includes/sitemap-url.html
113
+ - _layouts/about.html
114
+ - _layouts/archive.html
115
+ - _layouts/default.html
116
+ - _layouts/home.html
117
+ - _layouts/page.html
118
+ - _layouts/pagenotfound.html
119
+ - _layouts/post.html
120
+ - _layouts/sitemap.html
121
+ - _sass/.DS_Store
122
+ - _sass/academic.scss
123
+ - _sass/academic/_base.scss
124
+ - _sass/academic/_layout.scss
125
+ - _sass/academic/_syntax-highlighting.scss
126
+ - assets/main.scss
127
+ - assets/opensans/OpenSans-Bold.ttf
128
+ - assets/opensans/OpenSans-Italic.ttf
129
+ - assets/opensans/OpenSans-Regular.ttf
130
+ homepage: https://github.com/kevinfjiang/academic
131
+ licenses:
132
+ - MIT
133
+ metadata: {}
134
+ post_install_message:
135
+ rdoc_options: []
136
+ require_paths:
137
+ - lib
138
+ required_ruby_version: !ruby/object:Gem::Requirement
139
+ requirements:
140
+ - - ">="
141
+ - !ruby/object:Gem::Version
142
+ version: '0'
143
+ required_rubygems_version: !ruby/object:Gem::Requirement
144
+ requirements:
145
+ - - ">="
146
+ - !ruby/object:Gem::Version
147
+ version: '0'
148
+ requirements: []
149
+ rubygems_version: 3.2.3
150
+ signing_key:
151
+ specification_version: 4
152
+ summary: Academic is a Jekyll theme with a focus on simplicity, typography and flexibility.
153
+ test_files: []