jekyll-theme-paperwiki 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +57 -0
  4. data/_config.yml +33 -0
  5. data/_includes/collections_sidebar.html +57 -0
  6. data/_includes/global_footer.html +4 -0
  7. data/_includes/global_head.html +27 -0
  8. data/_includes/global_header.html +25 -0
  9. data/_layouts/_dictionary.html +10 -0
  10. data/_layouts/collections.html +15 -0
  11. data/_layouts/default.html +21 -0
  12. data/_layouts/grammar.html +17 -0
  13. data/_layouts/page.html +9 -0
  14. data/_layouts/portal.html +41 -0
  15. data/_layouts/post.html +12 -0
  16. data/_layouts/reference_desk.html +50 -0
  17. data/_layouts/wiki.html +96 -0
  18. data/_layouts/work.html +17 -0
  19. data/_plugins/_gloss.rb +22 -0
  20. data/_plugins/_interlinear.rb +24 -0
  21. data/_plugins/ipa.rb +19 -0
  22. data/_plugins/lang.rb +27 -0
  23. data/_sass/partials/_base.scss +150 -0
  24. data/_sass/partials/_blog.scss +10 -0
  25. data/_sass/partials/_collections.scss +183 -0
  26. data/_sass/partials/_entries.scss +136 -0
  27. data/_sass/partials/_global.scss +111 -0
  28. data/_sass/partials/_glossing.scss +37 -0
  29. data/_sass/partials/_launchpad.scss +123 -0
  30. data/_sass/partials/_page.scss +13 -0
  31. data/_sass/partials/_search.scss +7 -0
  32. data/_sass/style.scss +14 -0
  33. data/_sass/variables/_colors.scss +49 -0
  34. data/_sass/variables/_fonts.scss +126 -0
  35. data/assets/css/style.scss +5 -0
  36. data/assets/fonts/.DS_Store +0 -0
  37. data/assets/fonts/Inter/.DS_Store +0 -0
  38. data/assets/fonts/Inter/Inter-Bold.otf +0 -0
  39. data/assets/fonts/Inter/Inter-Bold.woff +0 -0
  40. data/assets/fonts/Inter/Inter-Bold.woff2 +0 -0
  41. data/assets/fonts/Inter/Inter-Italic.otf +0 -0
  42. data/assets/fonts/Inter/Inter-Italic.woff +0 -0
  43. data/assets/fonts/Inter/Inter-Italic.woff2 +0 -0
  44. data/assets/fonts/Inter/Inter-Regular.otf +0 -0
  45. data/assets/fonts/Inter/Inter-Regular.woff +0 -0
  46. data/assets/fonts/Inter/Inter-Regular.woff2 +0 -0
  47. data/assets/fonts/Inter/LICENSE.txt +94 -0
  48. data/assets/fonts/LiberationMono/.DS_Store +0 -0
  49. data/assets/fonts/LiberationMono/LICENSE +102 -0
  50. data/assets/fonts/LiberationMono/LiberationMono-Bold.ttf +0 -0
  51. data/assets/fonts/LiberationMono/LiberationMono-Italic.ttf +0 -0
  52. data/assets/fonts/LiberationMono/LiberationMono-Regular.ttf +0 -0
  53. data/assets/fonts/LibertinusSerif/LibertinusSerif-Bold.otf +0 -0
  54. data/assets/fonts/LibertinusSerif/LibertinusSerif-Bold.woff2 +0 -0
  55. data/assets/fonts/LibertinusSerif/LibertinusSerif-BoldItalic.otf +0 -0
  56. data/assets/fonts/LibertinusSerif/LibertinusSerif-BoldItalic.woff2 +0 -0
  57. data/assets/fonts/LibertinusSerif/LibertinusSerif-Italic.otf +0 -0
  58. data/assets/fonts/LibertinusSerif/LibertinusSerif-Italic.woff2 +0 -0
  59. data/assets/fonts/LibertinusSerif/LibertinusSerif-Regular.otf +0 -0
  60. data/assets/fonts/LibertinusSerif/LibertinusSerif-Regular.woff2 +0 -0
  61. data/assets/fonts/LibertinusSerif/OFL.txt +93 -0
  62. data/assets/fonts/RemixIcon/.keep +0 -0
  63. data/assets/fonts/RemixIcon/.keep 3 +0 -0
  64. data/assets/fonts/RemixIcon/remixicon.css +2317 -0
  65. data/assets/fonts/RemixIcon/remixicon.eot +0 -0
  66. data/assets/fonts/RemixIcon/remixicon.glyph.json +1 -0
  67. data/assets/fonts/RemixIcon/remixicon.less +2319 -0
  68. data/assets/fonts/RemixIcon/remixicon.svg +6835 -0
  69. data/assets/fonts/RemixIcon/remixicon.symbol.svg +11356 -0
  70. data/assets/fonts/RemixIcon/remixicon.ttf +0 -0
  71. data/assets/fonts/RemixIcon/remixicon.woff +0 -0
  72. data/assets/fonts/RemixIcon/remixicon.woff2 +0 -0
  73. data/assets/images/favicon.png +0 -0
  74. data/assets/js/list.js +2020 -0
  75. data/assets/js/lunr.js +3475 -0
  76. data/assets/js/search.js +46 -0
  77. data/assets/js/toc.js +104 -0
  78. metadata +133 -0
@@ -0,0 +1,150 @@
1
+ /*------------------------------------*\
2
+ # BASE STYLING
3
+ # styling universal to all pages
4
+ \*------------------------------------*/
5
+
6
+ * {
7
+ /* Correct box-sizing in IE. */
8
+ box-sizing: border-box;
9
+
10
+ /* Hard reset on spacing, for the insane. */
11
+ margin: 0;
12
+ padding: 0;
13
+
14
+ color: $color-bodytext;
15
+ line-height: $lineheight-body;
16
+ }
17
+
18
+ body {
19
+ width: 85%;
20
+
21
+ display: grid;
22
+ grid-template-columns: repeat(12, 1fr);
23
+
24
+ margin: 0 auto;
25
+
26
+ background-color: $color-bodybg;
27
+ font-family: $fontfamily-body;
28
+ font-size: $fontsize-body;
29
+ }
30
+
31
+ main {
32
+ width: 100%;
33
+
34
+ grid-column: span 12 / auto;
35
+
36
+ display: grid;
37
+ grid-template-columns: repeat(12, 1fr);
38
+
39
+ background-color: $color-contentbg;
40
+ }
41
+
42
+ h1,
43
+ h2,
44
+ h3 {
45
+ font-family: $fontfamily-header;
46
+ font-weight: normal;
47
+ }
48
+
49
+ h1 {
50
+ font-size: $fontsize-h1;
51
+ padding: 0 0 0.19em;
52
+ }
53
+
54
+ h2 {
55
+ font-size: $fontsize-h2;
56
+ padding: 0.32em 0 0.61em;
57
+ }
58
+
59
+ h3 {
60
+ font-size: $fontsize-h3;
61
+ font-variant: small-caps;
62
+ padding: 0.71em 0 0.9em 0;
63
+ color: #828077;
64
+ // opacity: 0.8;
65
+ }
66
+
67
+ a,
68
+ a:link,
69
+ a:active {
70
+ color: $color-link;
71
+ transition: .2s;
72
+ }
73
+
74
+ a:hover {
75
+ color: $color-linkhover;
76
+ }
77
+ /*
78
+ a:visited {
79
+ color: $color-linkvisited;
80
+ }
81
+ */
82
+ a:active {
83
+ color: $color-linkactive;
84
+ }
85
+
86
+ p {
87
+ margin-bottom: 1.75em;
88
+ }
89
+
90
+ hr {
91
+ margin: 2*1.75rem 6em 2*1.68rem;
92
+
93
+ border-style: solid;
94
+ border-color: $color-hr;
95
+ }
96
+
97
+ img {
98
+ border: 0;
99
+ }
100
+
101
+ blockquote {
102
+ margin-left: 3em;
103
+ margin-right: 3em;
104
+ margin-bottom: 1.75rem;
105
+ padding-left: 1em;
106
+
107
+ border-left: 0.25em solid $color-linen;
108
+
109
+ cite {
110
+ display: block;
111
+ width: 100%;
112
+ text-align: right;
113
+ }
114
+ }
115
+
116
+ ul ul {
117
+ list-style-type: circle;
118
+ }
119
+
120
+ sup,
121
+ sub {
122
+ font-size: $fontsize-small;
123
+ line-height: 0;
124
+ }
125
+
126
+ figcaption {
127
+ font-size: $fontsize-small;
128
+ text-align: center;
129
+ }
130
+
131
+ code,
132
+ pre,
133
+ kbd,
134
+ samp {
135
+ font-family: $fontfamily-code;
136
+ }
137
+
138
+ code,
139
+ kbd,
140
+ .ipa {
141
+ padding: 0.1em 0.2em;
142
+
143
+ background-color: $color-codebg;
144
+ color: $color-codetext;
145
+ border-radius: 0.3em;
146
+ }
147
+
148
+ input[type="search"] {
149
+ background-color: $color-searchbg;
150
+ }
@@ -0,0 +1,10 @@
1
+ /*------------------------------------*\
2
+ # BLOG STYLING
3
+ #
4
+ \*------------------------------------*/
5
+
6
+ .blog-list {
7
+ list-style-type: none;
8
+ padding-left: 0;
9
+ margin-left: 0;
10
+ }
@@ -0,0 +1,183 @@
1
+ /*------------------------------------*\
2
+ # REFERENCE DESK STYLING
3
+ \*------------------------------------*/
4
+
5
+ .collections-sidebar {
6
+ grid-column: span 2 / auto;
7
+ padding: 4.5em 2em;
8
+
9
+ background-color: $color-paperdark;
10
+
11
+ font-size: $fontsize-small;
12
+
13
+ ul {
14
+ margin-bottom: 0;
15
+ padding-left: 0;
16
+ list-style-type: none;
17
+ }
18
+ }
19
+
20
+ .collections-content {
21
+ grid-column: span 10 / auto;
22
+
23
+ // display: grid;
24
+ // grid-template-columns: repeat(12, 1fr);
25
+ // grid-gap: 2em;
26
+
27
+ padding: 1.56em 2em 1.56em*2;
28
+
29
+ h1 {
30
+ grid-column: span 12 / auto;
31
+ }
32
+
33
+ ul {
34
+ list-style-type: none;
35
+ }
36
+ }
37
+
38
+ .reference-desk {
39
+ display: grid;
40
+ grid-template-columns: repeat(12, 1fr);
41
+ grid-gap: 2em;
42
+ }
43
+
44
+ .collections-portals {
45
+ grid-column: span 12 / auto;
46
+
47
+ display: grid;
48
+ grid-template-columns: repeat(12, 1fr);
49
+
50
+ }
51
+
52
+ .collections-portals_header {
53
+ grid-column: span 12 / auto;
54
+ }
55
+
56
+ .collections-portals_grid {
57
+ grid-column: span 12 / auto;
58
+
59
+ display: grid;
60
+ grid-template-columns: repeat(12, 1fr);
61
+ grid-gap: 1em;
62
+
63
+ // padding: 0 0 0 3em;
64
+ }
65
+
66
+ .portal {
67
+ grid-column: span 2 / auto;
68
+ padding: 1em;
69
+ }
70
+
71
+ .collections-portal_card {
72
+ grid-column: span 3 / auto;
73
+
74
+ padding: 28px 28px;
75
+
76
+ border-radius: 1.5rem;
77
+ border: 1px solid $color-projectborder;
78
+
79
+ text-decoration: none;
80
+ color: $color-bodytext;
81
+
82
+ header {
83
+ display: flex;
84
+
85
+ font-family: $fontfamily-header;
86
+ font-size: $fontsize-med;
87
+ }
88
+
89
+ .portal-icon {
90
+ margin-right: 0.4em;
91
+ padding: 0;
92
+
93
+ color: $color-bodytext;
94
+ font-size: 1em;
95
+
96
+ transition: 0.2s;
97
+ }
98
+ }
99
+
100
+ .collections-portal_card:link {
101
+ color: $color-bodytext;
102
+ }
103
+
104
+ .collections-portal_card:hover {
105
+ .portal-icon {
106
+ color: $color-projectcard;
107
+
108
+ transition: 0.2s;
109
+ }
110
+ color: $color-bodytext;
111
+ }
112
+
113
+ .collections-portal_card:visited {
114
+ color: $color-bodytext;
115
+ }
116
+
117
+
118
+
119
+ .collections-wrapper {
120
+ grid-column: span 12 / auto;
121
+
122
+ display: grid;
123
+ grid-template-columns: repeat(12, 1fr);
124
+ grid-gap: 1em;
125
+ }
126
+
127
+ .collections-featured {
128
+ grid-column: span 7 / auto;
129
+ }
130
+ .collections-facts {
131
+ grid-column: span 5 / auto;
132
+ }
133
+ .collections-recent {
134
+ grid-column: span 6 / auto;
135
+ }
136
+
137
+ .collections-featured,
138
+ .collections-facts,
139
+ .collections-recent {
140
+ padding: 14px 28px;
141
+
142
+ border-radius: 1.5rem;
143
+ border: 1px solid $color-projectborder;
144
+ }
145
+
146
+
147
+
148
+ .portal-list {
149
+ // border: 1px solid pink;
150
+ // padding: 8px;
151
+ }
152
+
153
+ .portal-cat {
154
+ // border: 1px solid coral;
155
+ // padding: 8px;
156
+ margin-bottom: 1rem;
157
+ }
158
+
159
+ .portal-subcat_list {
160
+ // border: 1px solid orange;
161
+ // padding: 8px;
162
+ }
163
+
164
+ .portal-subcat_inline {
165
+ padding-left: 1rem;
166
+ // border: 1px solid gold;
167
+ // padding: 8px;
168
+ }
169
+
170
+ .portal-subcat {
171
+ font-size: $fontsize-small;
172
+ text-transform: uppercase;
173
+ // border: 1px solid darkgoldenrod;
174
+ // padding: 8px;
175
+ }
176
+
177
+ .portal-tag {
178
+ // border: 1px solid goldenrod;
179
+ // padding: 8px;
180
+ font-size: $fontsize-small;
181
+ // text-transform: uppercase;
182
+ margin-right: 0.65rem;
183
+ }
@@ -0,0 +1,136 @@
1
+ /*------------------------------------*\
2
+ # ENTRY STYLING
3
+ # wiki pages, works, and grammars
4
+ \*------------------------------------*/
5
+
6
+
7
+ .entry {
8
+ padding: 1.56em 2em;
9
+
10
+ border-left: 1px solid $color-articleborder;
11
+ border-right: 1px solid $color-articleborder;
12
+
13
+ ul {
14
+ margin: 0 2rem 1.75rem;
15
+ ul {
16
+ margin-bottom: 0;
17
+ margin-right: 0;
18
+ }
19
+ }
20
+ }
21
+
22
+ .entry-wiki {
23
+ grid-column: span 7 / auto;
24
+
25
+ h1 {
26
+ margin-bottom: 0;
27
+ padding-bottom: 0;
28
+ }
29
+ }
30
+
31
+ .entry-work,
32
+ .entry-grammar {
33
+ grid-column: span 10 / auto;
34
+ }
35
+
36
+ .entry-index {
37
+ position: -webkit-sticky; /* Safari */
38
+ position: sticky;
39
+ top: 0;
40
+ align-self: start;
41
+
42
+ grid-column: span 2 / auto;
43
+
44
+ padding: 4.5em 1em 2em 0.75em;
45
+
46
+ font-size: $fontsize-small;
47
+ }
48
+
49
+ .entry-index ol {
50
+ list-style: none;
51
+ padding-left: 1rem;
52
+ /* This is an arbitrary name as the value. */
53
+ counter-reset: counter-index;
54
+ }
55
+
56
+ .entry-index ol ol {
57
+ /* Indent the nested lists. */
58
+ padding-left: 1em;
59
+ margin-bottom: 0;
60
+ }
61
+
62
+ .entry-index ol li::before {
63
+ counter-increment: counter-index;
64
+ /* Concatenate the nested counters. */
65
+ content: counters(counter-index, ".") " ";
66
+ }
67
+
68
+
69
+ .entry-summary {}
70
+
71
+ .entry-quickstats {
72
+ grid-column: span 3 / auto;
73
+ padding: 0.5em;
74
+ }
75
+
76
+ .stats-image {
77
+ padding: 0.2em 0.2em 0.1em 0.2em;
78
+ max-width: 100%;
79
+ }
80
+
81
+ .stats-facts {
82
+ font-size: $fontsize-small;
83
+ }
84
+
85
+ .stats-table {
86
+ border-collapse: separate;
87
+ border-spacing: 3px;
88
+ border: none;
89
+ width: 100%;
90
+ td {
91
+ padding: 0.5em;
92
+ }
93
+ tr td:first-child {
94
+ text-align: right;
95
+ padding-right: 0.5em;
96
+ background-color: $color-linen;
97
+ }
98
+ tr td:last-child {
99
+ background-color: $color-paperdark;
100
+ }
101
+ }
102
+
103
+
104
+
105
+ .entry-tags {
106
+ margin-bottom: 2em;
107
+ font-size: $fontsize-small;
108
+ text-transform: uppercase;
109
+
110
+ ul {
111
+ display: inline-flex;
112
+ flex-wrap: wrap;
113
+ list-style-type: none;
114
+ margin: 0 1em 0 0;
115
+ // border: 1px solid pink;
116
+ }
117
+
118
+ ul ul {
119
+ display: inline-flex;
120
+ flex-wrap: wrap;
121
+ margin-right: .5em;
122
+ // border: 1px solid pink;
123
+ }
124
+
125
+ li {
126
+ // display: inline-flex;
127
+ // flex-wrap: wrap;
128
+ padding-right: .5em;
129
+ // border: 1px solid pink;
130
+ color: #9f9b97;
131
+ }
132
+
133
+ a {
134
+ text-decoration: none;
135
+ }
136
+ }
@@ -0,0 +1,111 @@
1
+ /*------------------------------------*\
2
+ # GLOBAL STYLING
3
+ # components universal to all pages
4
+ \*------------------------------------*/
5
+
6
+ .global-header,
7
+ .global-footer {
8
+ width: 100%;
9
+
10
+ grid-column: span 12 / auto;
11
+ }
12
+
13
+ .global-header {
14
+ padding: 1.205em 1.75em;
15
+
16
+ display: flex;
17
+ align-items: center;
18
+ justify-content: space-between;
19
+
20
+ background-color: $color-globalbg;
21
+ border-bottom: 1px solid $color-globalborder;
22
+
23
+ a,
24
+ a:link,
25
+ a:hover,
26
+ a:visited {
27
+ color: $color-bodytext;
28
+ }
29
+ }
30
+
31
+ .global-footer {
32
+ background-color: $color-globalbg;
33
+ border-top: 1px solid $color-globalborder;
34
+ padding: 1.75em;
35
+
36
+ font-size: $fontsize-small;
37
+ text-align: center;
38
+ }
39
+
40
+ .global-logo {
41
+ padding: 0;
42
+ margin: 0;
43
+
44
+ font-size: $fontsize-med;
45
+ font-variant-caps: small-caps;
46
+
47
+ a {
48
+ text-decoration: none;
49
+ }
50
+ }
51
+
52
+ .global-favicon {
53
+ max-width: 1em;
54
+ margin-right: 0.25em;
55
+ margin-bottom: -0.16em;
56
+ }
57
+
58
+ .global-search {
59
+ padding-bottom: 4px;
60
+ // border-bottom: 1px solid $color-bodytext;
61
+ }
62
+
63
+ .global-searchbar {
64
+ padding: 0 0.5em;
65
+ border: 1px solid #f5f2ef;
66
+ border-radius: 8px;
67
+ font-size: $fontsize-small;
68
+ transition: 0.25s;
69
+ }
70
+
71
+ .global-searchbar::placeholder {
72
+ text-transform: uppercase;
73
+ }
74
+
75
+ .global-searchbar:hover {
76
+ border: 1px solid $color-globalsearchbar;
77
+ }
78
+
79
+ .global-searchbar:focus {
80
+ outline: none;
81
+ border-color: $color-globalsearchbar;
82
+ box-shadow: 0 0 10px $color-globalsearchbar;
83
+ transition: 0.25s;
84
+ }
85
+
86
+ .global-search_submit {
87
+ background: none;
88
+ border: 0;
89
+
90
+ font-size: $fontsize-small;
91
+ }
92
+
93
+ .global-nav {
94
+ display: flex;
95
+ align-items: center;
96
+ justify-content: space-between;
97
+ }
98
+
99
+ .global-nav-link {
100
+ display: inline-block;
101
+
102
+ margin-right: 1.75rem;
103
+
104
+ font-size: $fontsize-small;
105
+ text-decoration: none;
106
+ text-transform: uppercase;
107
+ }
108
+
109
+ .global-nav-link:visited {
110
+ color: $color-bodytext;
111
+ }
@@ -0,0 +1,37 @@
1
+ /*------------------------------------*\
2
+ # GLOSS STYLING
3
+ # styles for interlinear glossing
4
+ \*------------------------------------*/
5
+
6
+ .interlinear_gloss {
7
+ border-collapse: collapse;
8
+ margin-left: 3%;
9
+ margin-top: 0;
10
+ margin-bottom: 1.75rem;
11
+ td {
12
+ padding: 0 0 0 0.8em;
13
+ }
14
+ td:first-child {
15
+ border-left: 2px solid $color-pistachio;
16
+ }
17
+ }
18
+
19
+ .gloss {
20
+ font-style: normal;
21
+ font-variant: small-caps;
22
+ text-transform: uppercase;
23
+ font-size: 80%;
24
+ text-decoration: none;
25
+ border-bottom: 1px dotted $color-kiwi; //#7eab4e;
26
+ &:hover {
27
+ cursor: help;
28
+ }
29
+ }
30
+ /*
31
+ .ipa,
32
+ .script,
33
+ .trans {
34
+ font-style: normal;
35
+ font-size: 80%;
36
+ }
37
+ */