diff --git a/content/assets/stylesheets/includes/cammie.scss b/content/assets/stylesheets/includes/cammie.scss new file mode 100644 index 0000000..d12944c --- /dev/null +++ b/content/assets/stylesheets/includes/cammie.scss @@ -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; +} diff --git a/content/assets/stylesheets/includes/general.scss b/content/assets/stylesheets/includes/general.scss new file mode 100644 index 0000000..0cd7e50 --- /dev/null +++ b/content/assets/stylesheets/includes/general.scss @@ -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; + } + } +} diff --git a/content/assets/stylesheets/includes/variables.scss b/content/assets/stylesheets/includes/variables.scss new file mode 100644 index 0000000..10f3021 --- /dev/null +++ b/content/assets/stylesheets/includes/variables.scss @@ -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); diff --git a/content/assets/stylesheets/main.scss b/content/assets/stylesheets/main.scss index ca7022d..03a8ab5 100644 --- a/content/assets/stylesheets/main.scss +++ b/content/assets/stylesheets/main.scss @@ -7,5 +7,13 @@ $link-visited: $orange; @import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,700); $family-sans-serif: 'Open Sans', sans-serif; + @import "../../../node_modules/bulma/bulma"; -@import "includes/old"; + +.nav-right { + flex: none; +} + +@import "includes/variables"; +@import "includes/cammie"; +@import "includes/general"; diff --git a/content/ical.ics.erb b/content/ical.ics.erb index 2b4d96e..16afb87 100644 --- a/content/ical.ics.erb +++ b/content/ical.ics.erb @@ -1 +1,2 @@ <%= event_calendar %> +<%= data_from "hey" %> diff --git a/data/bestuur.yaml b/data/bestuur.yaml new file mode 100644 index 0000000..de39dc2 --- /dev/null +++ b/data/bestuur.yaml @@ -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 diff --git a/layouts/partials/_navbar.erb b/layouts/partials/_navbar.erb index cc69bd0..86ac7d2 100644 --- a/layouts/partials/_navbar.erb +++ b/layouts/partials/_navbar.erb @@ -1,37 +1,36 @@ diff --git a/lib/helpers/data.rb b/lib/helpers/data.rb new file mode 100644 index 0000000..bab537c --- /dev/null +++ b/lib/helpers/data.rb @@ -0,0 +1,5 @@ +module DataHelper + def data_from(identifier) + p `ls data` + end +end diff --git a/lib/helpers_.rb b/lib/helpers_.rb index 686ba03..254700f 100644 --- a/lib/helpers_.rb +++ b/lib/helpers_.rb @@ -7,3 +7,4 @@ include Nanoc::Helpers::Text include ArchiveHelper include IcalHelper include NavigationHelper +include DataHelper