diff --git a/Rules b/Rules index 2bc8e54..61df37f 100644 --- a/Rules +++ b/Rules @@ -14,6 +14,8 @@ require 'socket' # preprocess do + `npm install` + @items.find_all('/posts/**/*').each do |i| year_str = %r{/(\d\d)-\d\d/}.match(i.identifier).captures[0] academic_year = year_str.to_i diff --git a/content/assets/stylesheets/includes/blogpost.scss b/content/assets/stylesheets/includes/blogpost.scss index a23d397..56ef7eb 100644 --- a/content/assets/stylesheets/includes/blogpost.scss +++ b/content/assets/stylesheets/includes/blogpost.scss @@ -8,9 +8,19 @@ margin-bottom:10px; } -.bolder a{ - color:#565C5E; - font-weight: bold; - font-size: 20pt; - font-family: 'Avenir'; +.bolder { + > * { + color:#565C5E; + font-weight: bold; + font-size: 20pt; + font-family: 'Avenir'; + + border-left: 3px solid $zeus-orange; + + padding-left: 10px; + } + + a { + border-left: none; + } } diff --git a/content/assets/stylesheets/includes/eventpage.scss b/content/assets/stylesheets/includes/eventpage.scss index 7eaccc2..31f31cb 100644 --- a/content/assets/stylesheets/includes/eventpage.scss +++ b/content/assets/stylesheets/includes/eventpage.scss @@ -19,3 +19,7 @@ height: 256px; } } + +.event-attributes { + font-size: 1.3em; +} diff --git a/content/assets/stylesheets/includes/events.scss b/content/assets/stylesheets/includes/events.scss index 6fcabf2..46ff669 100644 --- a/content/assets/stylesheets/includes/events.scss +++ b/content/assets/stylesheets/includes/events.scss @@ -58,7 +58,6 @@ .description { font-size: 1.7em; font-weight: 200; - color: #FF7F00; } .time { diff --git a/content/assets/stylesheets/includes/general.scss b/content/assets/stylesheets/includes/general.scss index 68c19e8..dc89cd9 100644 --- a/content/assets/stylesheets/includes/general.scss +++ b/content/assets/stylesheets/includes/general.scss @@ -72,6 +72,39 @@ footer.footer { background-color: #1E64C8; } +.lana-tile { + background-color: $tile-orange; +} + .project-tile { background-color: $turquoise; } + +#tipue_search_input { + background: none; + padding: 12px; + font: inherit; + color: inherit; + + display: flex; + flex-direction: row; + + input { + background: none; + border: none; + -moz-appearance: none; + -webkit-appearance: none; + box-shadow: none; + outline: 0; + margin: 0; + + color: inherit; + } + + &::before { + font: normal normal normal 14px/1 FontAwesome; + content: "\f002 "; + color: inherit; + padding-right: 5px; + } +} diff --git a/content/assets/stylesheets/includes/tiles.scss b/content/assets/stylesheets/includes/tiles.scss index cb7c6a0..2ca46e8 100644 --- a/content/assets/stylesheets/includes/tiles.scss +++ b/content/assets/stylesheets/includes/tiles.scss @@ -13,6 +13,7 @@ a.box { .centering { display: flex; justify-content: center; + align-items: center; } .highlighted{ background: $tile-orange; diff --git a/content/events/16-17/datacenter.md b/content/events/16-17/datacenter.md index 61dfcf9..7b1153d 100644 --- a/content/events/16-17/datacenter.md +++ b/content/events/16-17/datacenter.md @@ -4,7 +4,7 @@ banner: https://emergingtechblog.emc.com/wp-content/uploads/2015/10/AdobeStock_8 description: Zeus bezoekt het datacenter en de supercomputer in S10! created_at: 3-10-2016 time: 10-10-2016 -location: hpc gent +location: Datacenter UGent, S10, Sterre locationlink: 51.023650, 3.712018 --- diff --git a/content/index.erb b/content/index.erb index 1bb91b5..e19eb57 100644 --- a/content/index.erb +++ b/content/index.erb @@ -14,10 +14,9 @@ <%= render '/partials/_tile.*', article: all_events[1], small_text: "Upcoming event" %>
-
-
+
+
-
diff --git a/content/search.erb b/content/search.erb index 33d1e70..0504678 100644 --- a/content/search.erb +++ b/content/search.erb @@ -18,13 +18,13 @@ title: Search
+ <%= asset :css, :main %> + <%= content_for(@item, :head) %> diff --git a/layouts/eventpost.erb b/layouts/eventpost.erb index 99635ed..2052bb8 100644 --- a/layouts/eventpost.erb +++ b/layouts/eventpost.erb @@ -16,13 +16,14 @@

<%= item[:title] %> + <%= fa :search %>

<%= item[:description] %>

-

    +
    • <%= fa 'clock-o', li: true %><%= item[:time].strftime '%A %d %B %Y' %>
    • <%= fa 'map-marker', li: true %><%= item[:location] %>
    diff --git a/layouts/partials/_navbar.erb b/layouts/partials/_navbar.erb index b018e6c..0851fe1 100644 --- a/layouts/partials/_navbar.erb +++ b/layouts/partials/_navbar.erb @@ -18,7 +18,9 @@ <% end %>
- +
+ +