This commit is contained in:
Lorin Werthen 2016-10-03 19:21:29 +02:00
parent 2c6018bb8b
commit 21dc9929f6
6 changed files with 25 additions and 22 deletions

View file

@ -48,3 +48,7 @@ footer.footer {
vertical-align: inherit; vertical-align: inherit;
} }
} }
::selection {
background: $zeus-orange; /* WebKit/Blink Browsers */
}

View file

@ -1,6 +1,3 @@
a.box {
color: #000;
}
#homepage { #homepage {
.box { .box {
@ -8,11 +5,12 @@ a.box {
&.highlighted { &.highlighted {
background-color: $highlighted-box-colour; background-color: $highlighted-box-colour;
color: $highlighted-text-colour;
.content { .content {
color: $highlighted-text-colour;
h1, h2 { h1, h2 {
color: white; color: $highlighted-text-colour;
} }
} }
} }

View file

@ -1,10 +1,14 @@
// Colours // Colours
$zeus-orange: #FF7F00; $zeus-orange: #FF7F00;
$zeus-blue: #00C4FF;
$navbar-border-color: #CCC; $navbar-border-color: #CCC;
$event-border-color: #DDD; $event-border-color: #DDD;
$orange: $zeus-orange; $orange: $zeus-orange;
$blue: $zeus-blue;
$primary: $orange; $primary: $orange;
$link-visited: inherit; $link-visited: inherit;
$box-colour: #EEE; $box-colour: #EEE;

View file

@ -5,15 +5,13 @@
<meta property="og:url" content="<%= url_for(item) %>" /> <meta property="og:url" content="<%= url_for(item) %>" />
<% end %> <% end %>
<section class="hero is-medium is-info is-bold"> <section class="hero is-medium is-info">
<div class="hero-head"> <div class="hero-head">
<%= render '/partials/_navbar.*', zeus_logo_color: :white %> <%= render '/partials/_navbar.*', zeus_logo_color: :white %>
</div> </div>
<div class="hero-body "> <div class="hero-body">
<div class="container"> <div class="container">
<div class="columns"> <div class="columns">
<div class="column"> <div class="column">
<p class="title is-1"> <p class="title is-1">
<b> <b>
@ -25,16 +23,15 @@
</p> </p>
<p class="subtitle is-3"> <p class="subtitle is-3">
<ul class="fa-ul"> <ul class="fa-ul">
<li><%= fa 'clock-o', li: true %><%= item[:time] %></li> <li><%= fa 'clock-o', li: true %><%= item[:time].strftime '%A %d %B %Y' %></li>
<li><%= fa 'globe', li: true %><%= item[:location] %></li> <li><%= fa 'globe', li: true %><%= item[:location] %></li>
</ul> </ul>
</p> </p>
</div> </div>
<div class="is-narrow column banner-image"> <div class="is-narrow column banner-image">
<img src=<%= item[:banner] %> > <img src="<%= item[:banner] %>" >
</div> </div>
</div> </div>
</div> </div>
</div> </div>
@ -43,7 +40,7 @@
<section class="section"> <section class="section">
<div class="columns"> <div class="columns">
<div class="column is-8 is-offset-2"> <div class="column is-8 is-offset-2">
<div class="content has-text-justified"> <div class="content has-text-justified is-medium">
<%= yield %> <%= yield %>
</div> </div>
</div> </div>

View file

@ -7,6 +7,6 @@
"license": "MIT", "license": "MIT",
"repository": "https://github.com/ZeusWPI/zeus.ugent.be", "repository": "https://github.com/ZeusWPI/zeus.ugent.be",
"dependencies": { "dependencies": {
"bulma": "^0.1.2" "bulma": "^0.2.1"
} }
} }