academic-cv-jekyll 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: f048db2a006f47aae34dfc9e01d67efef11d12887495fcb15963662a06bc8891
4
+ data.tar.gz: 8357436321c3e11e62559e7461de66bf04c08cdaafd003be61aba6424ac1cc28
5
+ SHA512:
6
+ metadata.gz: 790f239a93439b9d2b7544b641f7db1369f6cd21a6db2de7c9558f34dc243835490e721974eca7c5dffb38d70e2259b251f99ba5e6c4d450a4876d2f8b70c614
7
+ data.tar.gz: 6ae5f9822b48552723ff2ac08795c7bd692b97171b4e137e5ab28730b215827f27feb1b84ee569620f7f1d50afe3d795656cabe712c716f82a29f9372760f229
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2021 dimprama
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,52 @@
1
+ # academic-cv-jekyll
2
+
3
+ Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
4
+
5
+ To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
6
+
7
+ TODO: Delete this and the text above, and describe your gem
8
+
9
+
10
+ ## Installation
11
+
12
+ Add this line to your Jekyll site's `Gemfile`:
13
+
14
+ ```ruby
15
+ gem "academic-cv-jekyll"
16
+ ```
17
+
18
+ And add this line to your Jekyll site's `_config.yml`:
19
+
20
+ ```yaml
21
+ theme: academic-cv-jekyll
22
+ ```
23
+
24
+ And then execute:
25
+
26
+ $ bundle
27
+
28
+ Or install it yourself as:
29
+
30
+ $ gem install academic-cv-jekyll
31
+
32
+ ## Usage
33
+
34
+ TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
35
+
36
+ ## Contributing
37
+
38
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
39
+
40
+ ## Development
41
+
42
+ To set up your environment to develop this theme, run `bundle install`.
43
+
44
+ Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
45
+
46
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
47
+ To add a custom directory to your theme-gem, please edit the regexp in `academic-cv-jekyll.gemspec` accordingly.
48
+
49
+ ## License
50
+
51
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
52
+
@@ -0,0 +1,20 @@
1
+ {% assign cv = site.data.cv %}
2
+ {% assign title = include.title %}
3
+ {% assign yml = cv[include.yml] %}
4
+
5
+ <div class="row">
6
+ <div class="column"><h2 class="section__title">{{ title }}</h2></div>
7
+ <div class="column">
8
+ {% for item in yml %}
9
+ <div class="content--gap">
10
+ <p class="content__title">{{ item.title }}</p>
11
+ <p class="content__details">{{ item.details }}</p>
12
+ <ul class="content__bullets">
13
+ {% for bullet in item.bullets %}
14
+ <li>{{ bullet }}</li>
15
+ {% endfor %}
16
+ </ul>
17
+ </div>
18
+ {% endfor %}
19
+ </div>
20
+ </div>
@@ -0,0 +1,14 @@
1
+ {% assign cv = site.data.cv %}
2
+ {% assign title = include.title%}
3
+ {% assign yml = cv[include.yml] %}
4
+
5
+ <div class="row">
6
+ <div class="column"><h2 class="section__title">{{ title }}</h2></div>
7
+ <div class="column">
8
+ <ul class="content__bullets">
9
+ {% for item in yml %}
10
+ <li>{{ item }}</li>
11
+ {% endfor %}
12
+ </ul>
13
+ </div>
14
+ </div>
@@ -0,0 +1,8 @@
1
+ {% assign cv = site.data.cv %}
2
+ {% assign title = include.title %}
3
+ {% assign yml = cv[include.yml] %}
4
+
5
+ <div class="row">
6
+ <div class="column"><h2 class="section__title">{{ title }}</h2></div>
7
+ <div class="column">{{ yml }}</div>
8
+ </div>
@@ -0,0 +1,23 @@
1
+ {% assign cv = site.data.cv %}
2
+ {% assign yml = cv[include.yml] %}
3
+
4
+ <h1>{{ yml.name }}</h1>
5
+ <hr>
6
+ <table class="table--details">
7
+ <tr>
8
+ <td>{{ yml.uni }}</td>
9
+ <td>Email: <a href="mailto:{{ yml.email }}">{{ yml.email }}</a></td>
10
+ </tr>
11
+ <tr>
12
+ <td>{{ yml.dept }}</td>
13
+ <td>Phone: <a href="tel:{{ yml.phone }}">{{ yml.phone }}</a></td>
14
+ </tr>
15
+ <tr>
16
+ <td>{{ yml.place }}</td>
17
+ <td>Github: <a href="{{ yml.github.url }}">{{ yml.github.name }}</a></td>
18
+ </tr>
19
+ <tr>
20
+ <td></td>
21
+ <td>Linkedin: <a href="{{ yml.linkedin.url }}">{{ yml.linkedin.name }}</a></td>
22
+ </tr>
23
+ </table>
@@ -0,0 +1,16 @@
1
+ ---
2
+ ---
3
+ <!DOCTYPE html>
4
+ <html>
5
+ <head>
6
+ <meta charset="utf-8">
7
+ <!-- <meta name="viewport" content="width=device-width,initial-scale=1.0"> -->
8
+ <title>{{ site.title }}</title>
9
+ <link rel="stylesheet" href="{{ "assets/css/styles.css" | relative_url }}">
10
+ </head>
11
+ <body>
12
+ <div class="page">
13
+ {{ content }}
14
+ </div>
15
+ </body>
16
+ </html>
data/_sass/main.scss ADDED
@@ -0,0 +1,3 @@
1
+ @import "partials/setup";
2
+ @import "partials/global";
3
+ @import "partials/tables"
@@ -0,0 +1,42 @@
1
+ .page {
2
+ max-width: 800px;
3
+ min-height: 900px;
4
+ margin: 0 auto;
5
+ background-color: map-get($theme-colors, "white");
6
+ box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.514);
7
+ padding: 50px;
8
+ margin-top: 30px;
9
+ margin-bottom: 30px;
10
+ }
11
+
12
+ // 2 column layout
13
+ .row {
14
+ display: grid;
15
+ margin: 10px 0;
16
+ grid-column-gap: 10px;
17
+ grid-row-gap: 20px;
18
+ grid-template-columns: 1fr 2fr;
19
+ }
20
+
21
+ .section__title {
22
+ font-weight: 100;
23
+ }
24
+
25
+ .content{
26
+ &__title {
27
+ font-weight:bold;
28
+ }
29
+
30
+ &__details {
31
+ font-weight:normal;
32
+ font-style: italic;
33
+ }
34
+
35
+ &__bullets {
36
+ margin-left: 20px;
37
+ }
38
+
39
+ &--gap {
40
+ margin-bottom: 10px;
41
+ }
42
+ }
@@ -0,0 +1,31 @@
1
+ $theme-colors: (
2
+ "black": black,
3
+ "dark": #424242,
4
+ "white": white
5
+ );
6
+
7
+ $font-weights: (
8
+ "thin": 300,
9
+ "regular": 400,
10
+ "bold": 700
11
+ );
12
+
13
+ $roundness: 12px;
14
+
15
+ *, *::before, *::after {
16
+ box-sizing: border-box;
17
+ margin: 0;
18
+ padding: 0;
19
+ }
20
+
21
+ body {
22
+ padding: 0;
23
+ margin: 0;
24
+ font-family: 'Roboto Condensed', arial;
25
+ font-size: 1rem;
26
+ color: map-get($theme-colors, "dark");
27
+ }
28
+
29
+ a {
30
+ color: map-get($theme-colors, "dark");
31
+ }
@@ -0,0 +1,4 @@
1
+ .table--details {
2
+ margin: 7px 30px;
3
+ width: 100%;
4
+ }
@@ -0,0 +1,3 @@
1
+ ---
2
+ ---
3
+ @import "main"; // Main partials
metadata ADDED
@@ -0,0 +1,70 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: academic-cv-jekyll
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - dimprama
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2021-03-04 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: '4.2'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '4.2'
27
+ description:
28
+ email:
29
+ - dev@dimitrisprama.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - LICENSE.txt
35
+ - README.md
36
+ - _includes/array.html
37
+ - _includes/list.html
38
+ - _includes/single.html
39
+ - _includes/table.html
40
+ - _layouts/default.html
41
+ - _sass/main.scss
42
+ - _sass/partials/_global.scss
43
+ - _sass/partials/_setup.scss
44
+ - _sass/partials/_tables.scss
45
+ - assets/css/styles.scss
46
+ homepage: https://github.com/dimpram/academic-cv-jekyll
47
+ licenses:
48
+ - MIT
49
+ metadata: {}
50
+ post_install_message:
51
+ rdoc_options: []
52
+ require_paths:
53
+ - lib
54
+ required_ruby_version: !ruby/object:Gem::Requirement
55
+ requirements:
56
+ - - ">="
57
+ - !ruby/object:Gem::Version
58
+ version: '0'
59
+ required_rubygems_version: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: '0'
64
+ requirements: []
65
+ rubygems_version: 3.0.3
66
+ signing_key:
67
+ specification_version: 4
68
+ summary: A simple academic cv template inspired by latex documents made for jekyll.
69
+ Also github pages compatible!
70
+ test_files: []