Skip to content

Commit

Permalink
Update training & awards sections
Browse files Browse the repository at this point in the history
  • Loading branch information
OmeGak committed Feb 3, 2017
1 parent d03dff0 commit b4aeb47
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 41 deletions.
40 changes: 35 additions & 5 deletions assets/sass/_timeline.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.timeline-entry {
$font-size: 9pt;
$font-size: 9pt;

.timeline-entry {
&:not(:first-of-type) {
margin-top: 1em;
}
Expand All @@ -21,7 +21,6 @@
.entry-details {
font-size: $font-size;
text-align: justify;
margin-top: 0.05cm;
}

.entry-description {
Expand All @@ -30,6 +29,7 @@

.entry-details {
margin-left: 0.5cm;
margin-top: 0.05cm;

ul {
list-style: square;
Expand All @@ -45,12 +45,42 @@

.timeline-row {
display: flex;
align-items: baseline;
font-size: $font-size;

&:not(:first-of-type) {
margin-top: 0.1cm;
}

.time {
margin: 0 1em;
color: $light-gray;
margin-right: 0.1cm;
}

.title {
font-weight: bold;
font-size: 10pt;
}

.location {
color: $light-gray;
}

.description {
ul {
list-style: none;
margin: 0;
padding-left: 0;
}

li {
position: relative;

&::before {
content: '';
color: $light-gray;
left: -1em;
position: absolute;
}
}
}
}
58 changes: 22 additions & 36 deletions partials/main.njk
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,23 @@
</div>
{% endmacro %}

{% macro render_timeline_row(title, year, location) %}
{% macro render_timeline_row(title, year, location, description=none) %}
<div class="timeline-row">
<div class="time">{{ year }}</div>
<div>
<span class="title">{{ title }}</span>
{%- if location -%}
, {{ location }}
{%- endif %}
<div class="">
<span class="title">{{ title }}</span>
{% if location %}
<span class="location">({{ location }})</span>
{% endif %}
</div>
{% if description %}
<div class="description">
<ul>
<li>{{ description }}</li>
</ul>
</div>
{% endif %}
</div>
</div>
{% endmacro %}
Expand Down Expand Up @@ -85,37 +94,14 @@

<section>
<h1>Training</h1>

<div class="timeline-row">
<div class="time">2016</div>
<div>
<span class="title">Certified White Hat</span>, CERN
</div>
</div>

<div class="timeline-row">
<div class="time">2015</div>
<div>
<span class="title">CERN School of Computing</span>, University of Kavala (Greece)
</div>
{# <div class="entry-details">
Computer architecture performance tuning, cloud storage technologies, networking QoS, physics computing, software design for many-cores.
</div> #}
</div>

<div class="timeline-row">
<div class="time">2014</div>
<div>
<span class="title">Advanced Python</span>, CERN
</div>
</div>

<div class="timeline-row">
<div class="time">2013</div>
<div>
<span class="title">Design for Usability</span>, CERN
</div>
</div>
{{ render_timeline_row(title="Certified White Hat", year="2016", location="CERN",
description="Injections, cross-site scripting, request forgery, race conditions, framework exploits, etc.") }}
{{ render_timeline_row(title="CERN School of Computing", year="2015", location="University of Kavala",
description="Multicore programming, architecture performance tuning, cloud storage, networking QoS, data analysis.") }}
{{ render_timeline_row(title="Advanced Python",
year="2014", location="CERN") }}
{{ render_timeline_row(title="Design for Usability",
year="2013", location="CERN") }}
</section>


Expand Down

0 comments on commit b4aeb47

Please sign in to comment.