jekyll-theme-minimal-academic 1.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e4902fe7b8a0a31410bd02206a33f1d8e449f8bae3949e697d5acfb37fa429c3
4
- data.tar.gz: a48a4bed9212c4cbd097e2920469e95da4555df1db1562a7f631c66abf2b4f9a
3
+ metadata.gz: e3eae5804a82d9bf0babdd46317b04924487f66e436c39907fda017971f5fb05
4
+ data.tar.gz: d1961a5fa2e21ff3175919cd4a2f4f2ec7da52be9659b93ee25ffa551c7f8fab
5
5
  SHA512:
6
- metadata.gz: 5896922de92e4a91a7504822439de3543f494fc5671854c658a0ff2bc81675d0698ac06ce681b34aff2abd0ae8e8a20e952cb243e22c82fad429c62eae075f03
7
- data.tar.gz: dc9fd21ca476bd5bfcfaa8aa70b35b99ac60b85c282d8a1460a69dd284408627ab3dba7a0e5821c5f30806918a973fe1e1516b9eebb92cb815b8b232c1676276
6
+ metadata.gz: 05d718236853eae8f477a1f751060a8822e8151895ecbfc2a4deb7a44552794e1f6357a188f0867152851d3038411762c60eebd64bbd916cba005d29f9bdfc7e
7
+ data.tar.gz: 59d5f75845fe4dd44160b43354bf9501505cb5d96b0ca479b37bd44fc901af247870c97b3b6a5d0fdd9068ad90e4402b5a4f9fbeb8835bfda8410431546ae302
data/LICENSE ADDED
@@ -0,0 +1,116 @@
1
+ CC0 1.0 Universal
2
+
3
+ Statement of Purpose
4
+
5
+ The laws of most jurisdictions throughout the world automatically confer
6
+ exclusive Copyright and Related Rights (defined below) upon the creator and
7
+ subsequent owner(s) (each and all, an "owner") of an original work of
8
+ authorship and/or a database (each, a "Work").
9
+
10
+ Certain owners wish to permanently relinquish those rights to a Work for the
11
+ purpose of contributing to a commons of creative, cultural and scientific
12
+ works ("Commons") that the public can reliably and without fear of later
13
+ claims of infringement build upon, modify, incorporate in other works, reuse
14
+ and redistribute as freely as possible in any form whatsoever and for any
15
+ purposes, including without limitation commercial purposes. These owners may
16
+ contribute to the Commons to promote the ideal of a free culture and the
17
+ further production of creative, cultural and scientific works, or to gain
18
+ reputation or greater distribution for their Work in part through the use and
19
+ efforts of others.
20
+
21
+ For these and/or other purposes and motivations, and without any expectation
22
+ of additional consideration or compensation, the person associating CC0 with a
23
+ Work (the "Affirmer"), to the extent that he or she is an owner of Copyright
24
+ and Related Rights in the Work, voluntarily elects to apply CC0 to the Work
25
+ and publicly distribute the Work under its terms, with knowledge of his or her
26
+ Copyright and Related Rights in the Work and the meaning and intended legal
27
+ effect of CC0 on those rights.
28
+
29
+ 1. Copyright and Related Rights. A Work made available under CC0 may be
30
+ protected by copyright and related or neighboring rights ("Copyright and
31
+ Related Rights"). Copyright and Related Rights include, but are not limited
32
+ to, the following:
33
+
34
+ i. the right to reproduce, adapt, distribute, perform, display, communicate,
35
+ and translate a Work;
36
+
37
+ ii. moral rights retained by the original author(s) and/or performer(s);
38
+
39
+ iii. publicity and privacy rights pertaining to a person's image or likeness
40
+ depicted in a Work;
41
+
42
+ iv. rights protecting against unfair competition in regards to a Work,
43
+ subject to the limitations in paragraph 4(a), below;
44
+
45
+ v. rights protecting the extraction, dissemination, use and reuse of data in
46
+ a Work;
47
+
48
+ vi. database rights (such as those arising under Directive 96/9/EC of the
49
+ European Parliament and of the Council of 11 March 1996 on the legal
50
+ protection of databases, and under any national implementation thereof,
51
+ including any amended or successor version of such directive); and
52
+
53
+ vii. other similar, equivalent or corresponding rights throughout the world
54
+ based on applicable law or treaty, and any national implementations thereof.
55
+
56
+ 2. Waiver. To the greatest extent permitted by, but not in contravention of,
57
+ applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
58
+ unconditionally waives, abandons, and surrenders all of Affirmer's Copyright
59
+ and Related Rights and associated claims and causes of action, whether now
60
+ known or unknown (including existing as well as future claims and causes of
61
+ action), in the Work (i) in all territories worldwide, (ii) for the maximum
62
+ duration provided by applicable law or treaty (including future time
63
+ extensions), (iii) in any current or future medium and for any number of
64
+ copies, and (iv) for any purpose whatsoever, including without limitation
65
+ commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes
66
+ the Waiver for the benefit of each member of the public at large and to the
67
+ detriment of Affirmer's heirs and successors, fully intending that such Waiver
68
+ shall not be subject to revocation, rescission, cancellation, termination, or
69
+ any other legal or equitable action to disrupt the quiet enjoyment of the Work
70
+ by the public as contemplated by Affirmer's express Statement of Purpose.
71
+
72
+ 3. Public License Fallback. Should any part of the Waiver for any reason be
73
+ judged legally invalid or ineffective under applicable law, then the Waiver
74
+ shall be preserved to the maximum extent permitted taking into account
75
+ Affirmer's express Statement of Purpose. In addition, to the extent the Waiver
76
+ is so judged Affirmer hereby grants to each affected person a royalty-free,
77
+ non transferable, non sublicensable, non exclusive, irrevocable and
78
+ unconditional license to exercise Affirmer's Copyright and Related Rights in
79
+ the Work (i) in all territories worldwide, (ii) for the maximum duration
80
+ provided by applicable law or treaty (including future time extensions), (iii)
81
+ in any current or future medium and for any number of copies, and (iv) for any
82
+ purpose whatsoever, including without limitation commercial, advertising or
83
+ promotional purposes (the "License"). The License shall be deemed effective as
84
+ of the date CC0 was applied by Affirmer to the Work. Should any part of the
85
+ License for any reason be judged legally invalid or ineffective under
86
+ applicable law, such partial invalidity or ineffectiveness shall not
87
+ invalidate the remainder of the License, and in such case Affirmer hereby
88
+ affirms that he or she will not (i) exercise any of his or her remaining
89
+ Copyright and Related Rights in the Work or (ii) assert any associated claims
90
+ and causes of action with respect to the Work, in either case contrary to
91
+ Affirmer's express Statement of Purpose.
92
+
93
+ 4. Limitations and Disclaimers.
94
+
95
+ a. No trademark or patent rights held by Affirmer are waived, abandoned,
96
+ surrendered, licensed or otherwise affected by this document.
97
+
98
+ b. Affirmer offers the Work as-is and makes no representations or warranties
99
+ of any kind concerning the Work, express, implied, statutory or otherwise,
100
+ including without limitation warranties of title, merchantability, fitness
101
+ for a particular purpose, non infringement, or the absence of latent or
102
+ other defects, accuracy, or the present or absence of errors, whether or not
103
+ discoverable, all to the greatest extent permissible under applicable law.
104
+
105
+ c. Affirmer disclaims responsibility for clearing rights of other persons
106
+ that may apply to the Work or any use thereof, including without limitation
107
+ any person's Copyright and Related Rights in the Work. Further, Affirmer
108
+ disclaims responsibility for obtaining any necessary consents, permissions
109
+ or other rights required for any use of the Work.
110
+
111
+ d. Affirmer understands and acknowledges that Creative Commons is not a
112
+ party to this document and has no duty or obligation with respect to this
113
+ CC0 or use of the Work.
114
+
115
+ For more information, please see
116
+ <http://creativecommons.org/publicdomain/zero/1.0/>
@@ -0,0 +1,84 @@
1
+ # The Minimal Academic theme
2
+
3
+ [![LICENSE](https://img.shields.io/github/license/yaoyao-liu/minimal-academic)](https://github.com/yaoyao-liu/minimal-academic/blob/master/LICENSE)
4
+ [![gem](https://img.shields.io/gem/v/jekyll-theme-minimal-academic)](https://rubygems.org/gems/jekyll-theme-minimal-academic)
5
+
6
+ *This is the source code of my homepage. I build this website based on [minimal](https://github.com/orderedlist/minimal).*
7
+ <br>
8
+ *Feel free to use the source code anywhere you like.*
9
+
10
+ ![Thumbnail](https://raw.githubusercontent.com/yaoyao-liu/minimal-academic/master/thumbnail.png)
11
+
12
+ ## Features
13
+
14
+ - Simple and elegant personal homepage theme
15
+ - Jekyll theme, deploy automatically by GitHub pages
16
+ - Support Markdown
17
+ - Support dark mode
18
+
19
+ ## Usage
20
+
21
+ To use this theme, add the following to your site's `_config.yml`:
22
+
23
+ ```yaml
24
+ remote_theme: yaoyao-liu/minimal-academic
25
+ ```
26
+
27
+ ## Customizing
28
+
29
+ ### Configuration variables
30
+
31
+ Minimal Academic theme will respect the following variables, if set in your site's `_config.yml`:
32
+
33
+ ```yaml
34
+ title: Yaoyao Liu
35
+ affiliation: MPI for Informatics
36
+ email: yaoyao.liu (at) mpi-inf.mpg.de
37
+ google_scholar: https://scholar.google.com/citations?user=Uf9GqRsAAAAJ
38
+ github_link: https://github.com/yaoyao-liu/
39
+ linkedin: https://www.linkedin.com/in/liuyaoyao/
40
+ avatar: /assets/img/avatar.png
41
+ favicon: /assets/img/favicon.png
42
+ favicon_dark: /assets/img/favicon-dark.png
43
+ description: Yaoyao Liu is a Ph.D. student in computer science. His research lies in few-shot learning, meta learning, continual learning, and image generation.
44
+ remote_theme: yaoyao-liu/minimal-academic
45
+ ```
46
+ ### Editing `index.md`
47
+
48
+ Edit `index.md` and add your personal information (e.g. publications, research).
49
+
50
+ ### Stylesheet
51
+
52
+ If you'd like to add your own custom styles:
53
+
54
+ 1. Create a file called `/assets/css/style.scss` in your site
55
+ 2. Add the following content to the top of the file, exactly as shown:
56
+
57
+ ```scss
58
+ ---
59
+ ---
60
+
61
+ @import "{{ site.theme }}";
62
+ ```
63
+ 3. Add any custom CSS (or Sass, including imports) you'd like immediately after the `@import` line
64
+
65
+ ### Layouts
66
+
67
+ If you'd like to change the theme's HTML layout:
68
+
69
+ 1. [Copy the original template](https://github.com/yaoyao-liu/minimal-academic/blob/master/_layouts/homepage.html) from the theme's repository<br />(*Pro-tip: click "raw" to make copying easier*)
70
+ 2. Create a file called `/_layouts/homepage.html` in your site
71
+ 3. Paste the default layout content copied in the first step
72
+ 4. Customize the layout as you'd like
73
+
74
+ ## License
75
+
76
+ This work is licensed under a [Creative Commons Zero v1.0 Universal](https://github.com/yaoyao-liu/minimal-academic/blob/master/LICENSE) License.
77
+
78
+ ## Acknowledgements
79
+
80
+ Our project use the source code from the following repositories:
81
+
82
+ * [pages-themes/minimal](https://github.com/pages-themes/minimal)
83
+
84
+ * [orderedlist/minimal](https://github.com/orderedlist/minimal)
@@ -0,0 +1,95 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{ site.lang | default: "en-US" }}">
3
+ <head>
4
+ <title>{{ site.title }} | {{site.affiliation}}</title>
5
+
6
+ <meta charset="UTF-8">
7
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
8
+ <meta name="viewport" content="width=device-width, initial-scale=1">
9
+ <meta name="description" content="{{ site.description }}">
10
+ <meta name="keywords" content="{{ site.title }}">
11
+ <link rel="canonical" href="{{ site.canonical }}"/>
12
+
13
+ <link rel="icon" media="(prefers-color-scheme:dark)" href="{{ site.favicon_dark }}" type="image/png" />
14
+ <link rel="icon" media="(prefers-color-scheme:light)" href="{{ site.favicon }}" type="image/png" />
15
+ <script src="https://unpkg.com/favicon-switcher@1.2.2/dist/index.js" crossorigin="anonymous" type="application/javascript"></script>
16
+
17
+ <link rel=stylesheet href=https://cdnjs.cloudflare.com/ajax/libs/academicons/1.8.6/css/academicons.min.css integrity="sha256-uFVgMKfistnJAfoCUQigIl+JfUaP47GrRKjf6CTPVmw=" crossorigin=anonymous>
18
+ <link rel=stylesheet href=https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css integrity="sha256-+N4/V/SbAFiW1MPBCXnfnP9QSN3+Keu+NlB+0ev/YKQ=" crossorigin=anonymous>
19
+
20
+ <link rel="stylesheet" href="./assets/css/style.css">
21
+ </head>
22
+ <body>
23
+ <div class="wrapper">
24
+ <header>
25
+ <center>
26
+
27
+ {% if site.avatar %}
28
+ <a class="image avatar"><img src="{{site.avatar}}" alt="" onContextMenu="return false" /></a>
29
+ {% endif %}
30
+
31
+ <h1>{{ site.title }}</h1>
32
+
33
+ <p>{{ site.affiliation }}
34
+
35
+ <br>
36
+
37
+ {% if site.email %}
38
+ {{ site.email }}</p>
39
+ {% endif %}
40
+
41
+ </center>
42
+ </header>
43
+ <section>
44
+
45
+ {{ content }}
46
+
47
+ <br>
48
+
49
+ <p><small>Powered by the <a href="https://github.com/yaoyao-liu/minimal-academic" target="_blank" rel="noopener">Minimal Academic</a> theme for Jekyll.</small></p>
50
+
51
+ </section>
52
+ <footer>
53
+ <center>
54
+ <style>
55
+ .social-icons a{display:inline-block;height:3rem;width:3rem;background-color:#495057;color:#fff!important;border-radius:100%;text-align:center;font-size:1.5rem;line-height:3.1rem;margin-right:1rem}.social-icons a:last-child{margin-right:0}.social-icons a:hover{background-color:#000000}
56
+ </style>
57
+ <div class="social-icons">
58
+
59
+ {% if site.linkedin %}
60
+ <a href="{{ site.linkedin }}" target="_blank">
61
+ <i class="fab fa-linkedin-in"></i>
62
+ </a>
63
+ {% endif %}
64
+ {% if site.google_scholar %}
65
+ <a href="{{ site.google_scholar}}" target="_blank">
66
+ <i class="ai ai-google-scholar" style="font-size:1.6rem"></i>
67
+ </a>
68
+ {% endif %}
69
+ {% if site.github_link %}
70
+ <a href="{{ site.github_link }}" target="_blank">
71
+ <i class="fab fa-github"></i>
72
+ </a>
73
+ {% endif %}
74
+ </div>
75
+
76
+
77
+ <br>
78
+ <br>
79
+ <br>
80
+ </center>
81
+ </footer>
82
+ </div>
83
+ <script src="{{ "/assets/js/scale.fix.js" | relative_url }}"></script>
84
+ {% if site.google_analytics %}
85
+ <script>
86
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
87
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
88
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
89
+ })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
90
+ ga('create', '{{ site.google_analytics }}', 'auto');
91
+ ga('send', 'pageview');
92
+ </script>
93
+ {% endif %}
94
+ </body>
95
+ </html>
Binary file
File without changes
@@ -0,0 +1,448 @@
1
+ @import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,400;0,500;0,600;1,600&display=swap');
2
+
3
+ body {
4
+ background-color: #fff;
5
+ padding:0px;
6
+ font: 16.0px/1.5 Crimson Pro, serif;
7
+ color:#595959;
8
+ font-weight:400;
9
+ margin:0
10
+ }
11
+
12
+ autocolor{
13
+ color:#494949;
14
+ }
15
+
16
+ lightonly {
17
+ visibility: visible;
18
+ }
19
+
20
+ darkonly {
21
+ visibility: hidden;
22
+ }
23
+
24
+ education {
25
+ font-weight: 500;
26
+ font-size: 115%;
27
+ }
28
+ papertitle {
29
+ font-weight: 600;
30
+ font-size: 100%;
31
+ }
32
+
33
+ @media (prefers-color-scheme: dark) {
34
+ body {
35
+ background-color: #20212b;
36
+ color: #dadbdf;
37
+ }
38
+
39
+ h3, h4, h5, h6 {
40
+ color:#dadbdf;
41
+ }
42
+
43
+ autocolor{
44
+ color:#dadbdf;
45
+ }
46
+
47
+ lightonly {
48
+ visibility: hidden;
49
+ }
50
+
51
+ darkonly {
52
+ visibility: visible;
53
+ }
54
+
55
+ papertitle {
56
+ color:#eeeff0;
57
+ }
58
+
59
+ }
60
+
61
+
62
+ .image {
63
+ border-radius: 0.35em;
64
+ border: 0;
65
+ display: inline-block;
66
+ position: relative;
67
+ }
68
+
69
+ .image:before {
70
+ -moz-transition: opacity 0.2s ease-in-out;
71
+ -webkit-transition: opacity 0.2s ease-in-out;
72
+ -ms-transition: opacity 0.2s ease-in-out;
73
+ transition: opacity 0.2s ease-in-out;
74
+ border-radius: 0.35em;
75
+ content: '';
76
+ display: block;
77
+ height: 100%;
78
+ left: 0;
79
+ opacity: 0.5;
80
+ position: absolute;
81
+ top: 0;
82
+ width: 100%;
83
+ }
84
+
85
+ .image.avatar {
86
+ border-radius: 100%;
87
+ }
88
+
89
+ .image.avatar:before {
90
+ display: none;
91
+ }
92
+
93
+ .image.avatar img {
94
+ border-radius: 100%;
95
+ width: 50%;
96
+ padding:20px;
97
+ }
98
+
99
+ #header .image.avatar {
100
+ margin: 0 0 1em 0;
101
+ width: 8.00em;
102
+ }
103
+
104
+ h1, h3, h4, h5, h6 {
105
+ font-weight: 600;
106
+ color:#043361;
107
+ margin:0 0 20px;
108
+ }
109
+
110
+ h2 {
111
+ color:#043361;
112
+ margin:2px 0px 15px;
113
+ font-size: 157%;
114
+ }
115
+
116
+ @media (prefers-color-scheme: dark) {
117
+ h1, h3, h4, h5, h6 {
118
+ color:rgb(62, 183, 240);
119
+ }
120
+
121
+ h2 {
122
+ color:rgb(62, 183, 240);
123
+ }
124
+ }
125
+
126
+ p, ul, ol, table, pre, dl {
127
+ margin:0 0 20px;
128
+ }
129
+
130
+ h1, h2, h3 {
131
+ line-height:1.1;
132
+ }
133
+
134
+ h1 {
135
+ font-size:28px;
136
+ font-weight: 500;
137
+ }
138
+
139
+ h2 {
140
+ font-weight: 500;
141
+ }
142
+
143
+ h3, h4, h5, h6 {
144
+ color:#494949;
145
+ font-weight: 500;
146
+ }
147
+
148
+ a {
149
+ color:#39c;
150
+ text-decoration:none;
151
+ }
152
+
153
+ a:hover {
154
+ color:#069;
155
+ }
156
+
157
+ @media (prefers-color-scheme: dark) {
158
+ a {
159
+ color:rgb(62, 183, 240);
160
+ }
161
+ }
162
+
163
+ a small {
164
+ font-size:11px;
165
+ color:#777;
166
+ margin-top:-0.3em;
167
+ display:block;
168
+ }
169
+
170
+ a:hover small {
171
+ color:#777;
172
+ }
173
+
174
+ .wrapper {
175
+ width:960px;
176
+ margin:0 auto;
177
+ }
178
+
179
+ blockquote {
180
+ border-left:1px solid #e5e5e5;
181
+ margin:0;
182
+ padding:0 0 0 20px;
183
+ font-style:italic;
184
+ }
185
+
186
+ code, pre {
187
+ font-family:Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal, Consolas, Liberation Mono, DejaVu Sans Mono, Courier New, monospace;
188
+ color:#333;
189
+ }
190
+
191
+ pre {
192
+ max-width:500px;
193
+ padding:8px 15px;
194
+ background: #f8f8f8;
195
+ border-radius:5px;
196
+ border:1px solid #e5e5e5;
197
+ overflow-x: auto;
198
+ }
199
+
200
+ table {
201
+ width:100%;
202
+ border-collapse:collapse;
203
+ }
204
+
205
+ th, td {
206
+ text-align:left;
207
+ padding:5px 10px;
208
+ border-bottom:1px solid #e5e5e5;
209
+ }
210
+
211
+ dt {
212
+ color:#444;
213
+ font-weight:500;
214
+ }
215
+
216
+ th {
217
+ color:#444;
218
+ }
219
+
220
+ img {
221
+ max-width:100%;
222
+ }
223
+
224
+ header {
225
+ width:220px;
226
+ float:left;
227
+ position:fixed;
228
+ -webkit-font-smoothing:subpixel-antialiased;
229
+ padding-top:4.0em
230
+ }
231
+
232
+
233
+
234
+ header ul {
235
+ list-style:none;
236
+ height:40px;
237
+ padding:0;
238
+ background: #f4f4f4;
239
+ border-radius:5px;
240
+ border:1px solid #e0e0e0;
241
+ width:270px;
242
+ }
243
+
244
+ header li {
245
+ width:89px;
246
+ float:left;
247
+ border-right:1px solid #e0e0e0;
248
+ height:40px;
249
+ }
250
+
251
+ header li:first-child a {
252
+ border-radius:5px 0 0 5px;
253
+ }
254
+
255
+ header li:last-child a {
256
+ border-radius:0 5px 5px 0;
257
+ }
258
+
259
+ header ul a {
260
+ line-height:1;
261
+ font-size:11px;
262
+ color:#999;
263
+ display:block;
264
+ text-align:center;
265
+ padding-top:6px;
266
+ height:34px;
267
+ }
268
+
269
+ header ul a:hover {
270
+ color:#999;
271
+ }
272
+
273
+ header ul a:active {
274
+ background-color:#f0f0f0;
275
+ }
276
+
277
+ strong {
278
+ color:#222;
279
+ font-weight:500;
280
+ }
281
+
282
+ @media (prefers-color-scheme: dark) {
283
+ strong {
284
+ color:#eeeff0;
285
+ }
286
+ }
287
+
288
+ header ul li + li + li {
289
+ border-right:none;
290
+ width:89px;
291
+ }
292
+
293
+ header ul a strong {
294
+ font-size:14px;
295
+ display:block;
296
+ color:#222;
297
+ }
298
+
299
+ section {
300
+ width:650px;
301
+ float:right;
302
+ padding-top:4.0em;
303
+ padding-bottom:50px;
304
+ }
305
+
306
+ small {
307
+ font-size:11px;
308
+ }
309
+
310
+ hr {
311
+ border:0;
312
+ background:#e5e5e5;
313
+ height:1px;
314
+ margin:0 0 20px;
315
+ }
316
+
317
+ footer {
318
+ width:220px;
319
+ float:left;
320
+ position:fixed;
321
+ bottom:30px;
322
+ -webkit-font-smoothing:subpixel-antialiased;
323
+ }
324
+
325
+ @media print, screen and (max-width: 960px) {
326
+
327
+ div.wrapper {
328
+ width:auto;
329
+ margin:0;
330
+ }
331
+
332
+
333
+ header, section, footer {
334
+ float:none;
335
+ position:static;
336
+ width:auto;
337
+ }
338
+
339
+ header {
340
+ padding-right:320px;
341
+ }
342
+
343
+ section {
344
+ border:1px solid #e5e5e5;
345
+ border-width:1px 0;
346
+ padding:20px 0;
347
+ margin:0 0 20px;
348
+ }
349
+
350
+ header a small {
351
+ display:inline;
352
+ }
353
+
354
+ header ul {
355
+ position:absolute;
356
+ right:50px;
357
+ top:52px;
358
+ }
359
+
360
+
361
+ .image.avatar img {
362
+ border-radius: 100%;
363
+ width: 30%;
364
+ padding:20px;
365
+ }
366
+ #head1o2 {
367
+ visibility: hidden;
368
+ }
369
+
370
+ #head2o2 {
371
+ visibility: hidden;
372
+ }
373
+
374
+ }
375
+
376
+ @media print, screen and (max-width: 960px) {
377
+ body {
378
+ word-wrap:break-word;
379
+ padding:15px;
380
+ }
381
+
382
+ header {
383
+ padding:0;
384
+ }
385
+
386
+ header ul, header p.view {
387
+
388
+ }
389
+
390
+ pre, code {
391
+ word-wrap:normal;
392
+ }
393
+ }
394
+
395
+ @media print, screen and (max-width: 480px) {
396
+ body {
397
+ padding:15px;
398
+ }
399
+
400
+ header ul {
401
+ width:99%;
402
+ }
403
+
404
+ header li, header ul li + li + li {
405
+ width:33%;
406
+ }
407
+
408
+ .image.avatar img {
409
+ border-radius: 100%;
410
+ width: 40%;
411
+ padding:20px;
412
+ }
413
+ #head1o2 {
414
+ visibility: hidden;
415
+ }
416
+
417
+ #head2o2 {
418
+ visibility: hidden;
419
+ }
420
+
421
+ }
422
+
423
+ @media print {
424
+ body {
425
+ padding:0.4in;
426
+ font-size:12pt;
427
+ color:#444;
428
+ }
429
+ }
430
+
431
+ .biblink {
432
+ text-decoration:none;
433
+ display: inline;
434
+ margin-right: 0px;
435
+ }
436
+
437
+ .fakelink {
438
+ text-decoration: none;
439
+ cursor: pointer;
440
+ }
441
+
442
+ .bibref {
443
+ font-size: 70%;
444
+ margin-top: 10px;
445
+ margin-left: 0px;
446
+ display:none;
447
+ font-family: monospace;
448
+ }
@@ -0,0 +1,209 @@
1
+ .highlight table td { padding: 5px; }
2
+ .highlight table pre { margin: 0; }
3
+ .highlight .cm {
4
+ color: #999988;
5
+ font-style: italic;
6
+ }
7
+ .highlight .cp {
8
+ color: #999999;
9
+ font-weight: bold;
10
+ }
11
+ .highlight .c1 {
12
+ color: #999988;
13
+ font-style: italic;
14
+ }
15
+ .highlight .cs {
16
+ color: #999999;
17
+ font-weight: bold;
18
+ font-style: italic;
19
+ }
20
+ .highlight .c, .highlight .cd {
21
+ color: #999988;
22
+ font-style: italic;
23
+ }
24
+ .highlight .err {
25
+ color: #a61717;
26
+ background-color: #e3d2d2;
27
+ }
28
+ .highlight .gd {
29
+ color: #000000;
30
+ background-color: #ffdddd;
31
+ }
32
+ .highlight .ge {
33
+ color: #000000;
34
+ font-style: italic;
35
+ }
36
+ .highlight .gr {
37
+ color: #aa0000;
38
+ }
39
+ .highlight .gh {
40
+ color: #999999;
41
+ }
42
+ .highlight .gi {
43
+ color: #000000;
44
+ background-color: #ddffdd;
45
+ }
46
+ .highlight .go {
47
+ color: #888888;
48
+ }
49
+ .highlight .gp {
50
+ color: #555555;
51
+ }
52
+ .highlight .gs {
53
+ font-weight: bold;
54
+ }
55
+ .highlight .gu {
56
+ color: #aaaaaa;
57
+ }
58
+ .highlight .gt {
59
+ color: #aa0000;
60
+ }
61
+ .highlight .kc {
62
+ color: #000000;
63
+ font-weight: bold;
64
+ }
65
+ .highlight .kd {
66
+ color: #000000;
67
+ font-weight: bold;
68
+ }
69
+ .highlight .kn {
70
+ color: #000000;
71
+ font-weight: bold;
72
+ }
73
+ .highlight .kp {
74
+ color: #000000;
75
+ font-weight: bold;
76
+ }
77
+ .highlight .kr {
78
+ color: #000000;
79
+ font-weight: bold;
80
+ }
81
+ .highlight .kt {
82
+ color: #445588;
83
+ font-weight: bold;
84
+ }
85
+ .highlight .k, .highlight .kv {
86
+ color: #000000;
87
+ font-weight: bold;
88
+ }
89
+ .highlight .mf {
90
+ color: #009999;
91
+ }
92
+ .highlight .mh {
93
+ color: #009999;
94
+ }
95
+ .highlight .il {
96
+ color: #009999;
97
+ }
98
+ .highlight .mi {
99
+ color: #009999;
100
+ }
101
+ .highlight .mo {
102
+ color: #009999;
103
+ }
104
+ .highlight .m, .highlight .mb, .highlight .mx {
105
+ color: #009999;
106
+ }
107
+ .highlight .sb {
108
+ color: #d14;
109
+ }
110
+ .highlight .sc {
111
+ color: #d14;
112
+ }
113
+ .highlight .sd {
114
+ color: #d14;
115
+ }
116
+ .highlight .s2 {
117
+ color: #d14;
118
+ }
119
+ .highlight .se {
120
+ color: #d14;
121
+ }
122
+ .highlight .sh {
123
+ color: #d14;
124
+ }
125
+ .highlight .si {
126
+ color: #d14;
127
+ }
128
+ .highlight .sx {
129
+ color: #d14;
130
+ }
131
+ .highlight .sr {
132
+ color: #009926;
133
+ }
134
+ .highlight .s1 {
135
+ color: #d14;
136
+ }
137
+ .highlight .ss {
138
+ color: #990073;
139
+ }
140
+ .highlight .s {
141
+ color: #d14;
142
+ }
143
+ .highlight .na {
144
+ color: #008080;
145
+ }
146
+ .highlight .bp {
147
+ color: #999999;
148
+ }
149
+ .highlight .nb {
150
+ color: #0086B3;
151
+ }
152
+ .highlight .nc {
153
+ color: #445588;
154
+ font-weight: bold;
155
+ }
156
+ .highlight .no {
157
+ color: #008080;
158
+ }
159
+ .highlight .nd {
160
+ color: #3c5d5d;
161
+ font-weight: bold;
162
+ }
163
+ .highlight .ni {
164
+ color: #800080;
165
+ }
166
+ .highlight .ne {
167
+ color: #990000;
168
+ font-weight: bold;
169
+ }
170
+ .highlight .nf {
171
+ color: #990000;
172
+ font-weight: bold;
173
+ }
174
+ .highlight .nl {
175
+ color: #990000;
176
+ font-weight: bold;
177
+ }
178
+ .highlight .nn {
179
+ color: #555555;
180
+ }
181
+ .highlight .nt {
182
+ color: #000080;
183
+ }
184
+ .highlight .vc {
185
+ color: #008080;
186
+ }
187
+ .highlight .vg {
188
+ color: #008080;
189
+ }
190
+ .highlight .vi {
191
+ color: #008080;
192
+ }
193
+ .highlight .nv {
194
+ color: #008080;
195
+ }
196
+ .highlight .ow {
197
+ color: #000000;
198
+ font-weight: bold;
199
+ }
200
+ .highlight .o {
201
+ color: #000000;
202
+ font-weight: bold;
203
+ }
204
+ .highlight .w {
205
+ color: #bbbbbb;
206
+ }
207
+ .highlight {
208
+ background-color: #f8f8f8;
209
+ }
Binary file
@@ -0,0 +1,4 @@
1
+ ---
2
+ ---
3
+
4
+ @import "jekyll-theme-minimal-academic";
Binary file
Binary file
@@ -0,0 +1,27 @@
1
+ (function(document) {
2
+ var metas = document.getElementsByTagName('meta'),
3
+ changeViewportContent = function(content) {
4
+ for (var i = 0; i < metas.length; i++) {
5
+ if (metas[i].name == "viewport") {
6
+ metas[i].content = content;
7
+ }
8
+ }
9
+ },
10
+ initialize = function() {
11
+ changeViewportContent("width=device-width, minimum-scale=1.0, maximum-scale=1.0");
12
+ },
13
+ gestureStart = function() {
14
+ changeViewportContent("width=device-width, minimum-scale=0.25, maximum-scale=1.6");
15
+ },
16
+ gestureEnd = function() {
17
+ initialize();
18
+ };
19
+
20
+
21
+ if (navigator.userAgent.match(/iPhone/i)) {
22
+ initialize();
23
+
24
+ document.addEventListener("touchstart", gestureStart, false);
25
+ document.addEventListener("touchend", gestureEnd, false);
26
+ }
27
+ })(document);
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-minimal-academic
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.0'
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yaoyao Liu
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-04-08 00:00:00.000000000 Z
12
+ date: 2020-04-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll
@@ -93,7 +93,20 @@ email:
93
93
  executables: []
94
94
  extensions: []
95
95
  extra_rdoc_files: []
96
- files: []
96
+ files:
97
+ - LICENSE
98
+ - README.md
99
+ - _layouts/homepage.html
100
+ - _sass/.DS_Store
101
+ - _sass/fonts.scss
102
+ - _sass/jekyll-theme-minimal-academic.scss
103
+ - _sass/rouge-github.scss
104
+ - assets/.DS_Store
105
+ - assets/css/style.scss
106
+ - assets/img/avatar.png
107
+ - assets/img/favicon-dark.png
108
+ - assets/img/favicon.png
109
+ - assets/js/scale.fix.js
97
110
  homepage: https://github.com/yaoyao-liu/minimal-academic
98
111
  licenses:
99
112
  - CC0-1.0