various stuff
This commit is contained in:
parent
afc8126c71
commit
c6992b8b7c
9 changed files with 153 additions and 70 deletions
58
content/assets/stylesheets/includes/cammie.scss
Normal file
58
content/assets/stylesheets/includes/cammie.scss
Normal file
|
@ -0,0 +1,58 @@
|
|||
#cammie {
|
||||
object-fit: contain;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.fullpage {
|
||||
min-width: 100%;
|
||||
min-height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
background-color: black;
|
||||
}
|
||||
|
||||
.ctrl {
|
||||
background-color: $cammie-controls-color;
|
||||
color: white;
|
||||
position: absolute;
|
||||
z-index: 100;
|
||||
|
||||
// Chevron centering
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
&:hover {
|
||||
background-color: $zeus_orange;
|
||||
z-index: 200;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
#left {
|
||||
height: 100%;
|
||||
width: 100px;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
#right {
|
||||
height: 100%;
|
||||
width: 100px;
|
||||
top: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
#up {
|
||||
height: 100px;
|
||||
width: 100%;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
#down {
|
||||
height: 100px;
|
||||
width: 100%;
|
||||
bottom: 0;
|
||||
}
|
24
content/assets/stylesheets/includes/general.scss
Normal file
24
content/assets/stylesheets/includes/general.scss
Normal file
|
@ -0,0 +1,24 @@
|
|||
img {
|
||||
max-width: 200px;
|
||||
}
|
||||
|
||||
.fa-ul {
|
||||
list-style: none !important;
|
||||
|
||||
.fa {
|
||||
font-size: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
#navbar {
|
||||
.nav-item {
|
||||
transition: 0.2s;
|
||||
|
||||
font-variant: small-caps;
|
||||
font-size: 1.25em;
|
||||
|
||||
&:hover {
|
||||
transition: 0.2s;
|
||||
}
|
||||
}
|
||||
}
|
6
content/assets/stylesheets/includes/variables.scss
Normal file
6
content/assets/stylesheets/includes/variables.scss
Normal file
|
@ -0,0 +1,6 @@
|
|||
$zeus_orange: #FF7F00;
|
||||
$event-padding: 10px;
|
||||
$navbar-border-color: #CCC;
|
||||
$event-border-color: #DDD;
|
||||
|
||||
$cammie-controls-color: rgba(0, 0, 0, 0.60);
|
|
@ -10,45 +10,10 @@ $family-sans-serif: 'Open Sans', sans-serif;
|
|||
@import "old";
|
||||
@import "../../../node_modules/bulma/bulma";
|
||||
|
||||
.fa-inline {
|
||||
font-size: inherit;
|
||||
vertical-align: inherit;
|
||||
.nav-right {
|
||||
flex: none;
|
||||
}
|
||||
|
||||
// Issue 27 archive list styling
|
||||
|
||||
.archive_list {
|
||||
list-style-type: none;
|
||||
font-family: family-sans-serif;
|
||||
}
|
||||
|
||||
.archive_list > li {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
|
||||
padding: 2em;
|
||||
border: 2px solid darkgrey;
|
||||
border-radius: 8px;
|
||||
|
||||
|
||||
font-size: 2em;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
.archive_list > li:hover{
|
||||
border-color: rgb(66,66,66);
|
||||
}
|
||||
|
||||
.archive_list > li:first-child{
|
||||
margin-left:15%;
|
||||
margin-right:25%; // momenteel hard-coded, betere opl zou dynamische herberekening zijn om meer future-proof te zijn
|
||||
|
||||
}
|
||||
|
||||
.archive_list_ref{
|
||||
border: 2px solid darkgrey;
|
||||
}
|
||||
|
||||
.archive_list_item{
|
||||
font-family: family-sans-serif;
|
||||
}
|
||||
@import "includes/variables";
|
||||
@import "includes/cammie";
|
||||
@import "includes/general";
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
<%= event_calendar %>
|
||||
<%= data_from "hey" %>
|
||||
|
|
24
data/bestuur.yaml
Normal file
24
data/bestuur.yaml
Normal file
|
@ -0,0 +1,24 @@
|
|||
-
|
||||
rol: Voorzitter
|
||||
naam: Wout Schellaert
|
||||
mail: voorzitter@zeus.ugent.be
|
||||
-
|
||||
rol: Vice-voorzitter
|
||||
naam: Isaura Claeys
|
||||
mail: secretaris@zeus.ugent.be
|
||||
-
|
||||
rol: Penningmeester
|
||||
naam: Jeroen De Clerck
|
||||
mail: penning@zeus.ugent.be
|
||||
-
|
||||
rol: Systeembeheerders
|
||||
naam: Rien Maertens & Lorin Werthen
|
||||
mail: admin@zeus.ugent.be
|
||||
-
|
||||
rol: Event manager
|
||||
naam: Eloïse Piret
|
||||
mail: pr@zeus.ugent.be
|
||||
-
|
||||
rol: Projectmanager
|
||||
naam: Feliciaan De Palmenaer
|
||||
mail: project@zeus.ugent.be
|
|
@ -32,6 +32,5 @@
|
|||
<i class="fa fa-calendar"></i>
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
</nav>
|
||||
|
|
5
lib/helpers/data.rb
Normal file
5
lib/helpers/data.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
module DataHelper
|
||||
def data_from(identifier)
|
||||
p `ls data`
|
||||
end
|
||||
end
|
|
@ -7,3 +7,4 @@ include Nanoc::Helpers::Text
|
|||
include ArchiveHelper
|
||||
include IcalHelper
|
||||
include NavigationHelper
|
||||
include DataHelper
|
||||
|
|
Loading…
Reference in a new issue