Updates and fixes for tables and such

This commit is contained in:
Lorin Werthen 2018-10-14 17:10:53 +02:00
parent 1d99d83ca2
commit 70ad6ce17b
No known key found for this signature in database
GPG key ID: F11FFC921E0E08E0
13 changed files with 100 additions and 99 deletions

View file

@ -1 +1 @@
2.3.1 2.5.0

View file

@ -31,7 +31,13 @@ before_install:
- openssl aes-256-cbc -K $encrypted_6059a4f451fd_key -iv $encrypted_6059a4f451fd_iv - openssl aes-256-cbc -K $encrypted_6059a4f451fd_key -iv $encrypted_6059a4f451fd_iv
-in id_rsa.enc -out deploy_key -d -in id_rsa.enc -out deploy_key -d
- echo -e "[zeus.ugent.be]:2222 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBC87/Q3H8f7ghmA+iCtKGaNyk0fx3Z36Xrn+eGv8a4pD7MXeu6Uwr0aN5HnkcbRWXFtMwnAU3ptoP90vH7qu99w=\n[herbert.ugent.be]:2222 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGLnJMh2DgqpVnHxOmeV6KffvzZGEVfniq0NFHRGZoL4f7Uc8xeG9gn3cc7lCL02F9LwWZNwR4gSqhGt/RK2S54=\n" >> ~/.ssh/known_hosts - echo -e "[zeus.ugent.be]:2222 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBC87/Q3H8f7ghmA+iCtKGaNyk0fx3Z36Xrn+eGv8a4pD7MXeu6Uwr0aN5HnkcbRWXFtMwnAU3ptoP90vH7qu99w=\n[herbert.ugent.be]:2222 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGLnJMh2DgqpVnHxOmeV6KffvzZGEVfniq0NFHRGZoL4f7Uc8xeG9gn3cc7lCL02F9LwWZNwR4gSqhGt/RK2S54=\n" >> ~/.ssh/known_hosts
- npm install # Repo for newer Node.js versions
- curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
# Repo for Yarn
- sudo apt-key adv --keyserver pgp.mit.edu --recv D101F7899D41F3C3
- echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
- sudo apt-get update -qq
- sudo apt-get install -y -qq yarn
script: script:
- bundle exec nanoc --env=prod - bundle exec nanoc --env=prod
- bundle exec nanoc --env=prod check --deploy - bundle exec nanoc --env=prod check --deploy

1
.yarnrc Normal file
View file

@ -0,0 +1 @@
--modules-folder content/node_modules

View file

@ -15,15 +15,15 @@ GEM
coffee-script-source (1.12.2) coffee-script-source (1.12.2)
colored (1.2) colored (1.2)
concurrent-ruby (1.0.5) concurrent-ruby (1.0.5)
cri (2.10.1) cri (2.15.1)
colored (~> 1.2) colored (~> 1.2)
ddmemoize (1.0.0) ddmemoize (1.0.0)
ddmetrics (~> 1.0) ddmetrics (~> 1.0)
ref (~> 2.0) ref (~> 2.0)
ddmetrics (1.0.0) ddmetrics (1.0.1)
ddplugin (1.0.2) ddplugin (1.0.2)
execjs (2.7.0) execjs (2.7.0)
ffi (1.9.23) ffi (1.9.25)
formatador (0.2.5) formatador (0.2.5)
guard (2.14.2) guard (2.14.2)
formatador (>= 0.2.4) formatador (>= 0.2.4)
@ -35,7 +35,7 @@ GEM
shellany (~> 0.0) shellany (~> 0.0)
thor (>= 0.18.1) thor (>= 0.18.1)
guard-compat (1.2.1) guard-compat (1.2.1)
guard-nanoc (2.1.2) guard-nanoc (2.1.4)
guard (~> 2.8) guard (~> 2.8)
guard-compat (~> 1.0) guard-compat (~> 1.0)
nanoc (>= 4.3.8, < 5.0) nanoc (>= 4.3.8, < 5.0)
@ -45,6 +45,7 @@ GEM
htmlcompressor (0.4.0) htmlcompressor (0.4.0)
icalendar (2.4.1) icalendar (2.4.1)
json (2.1.0) json (2.1.0)
json_schema (0.19.1)
kramdown (1.16.2) kramdown (1.16.2)
libv8 (3.16.14.19) libv8 (3.16.14.19)
listen (3.1.5) listen (3.1.5)
@ -54,13 +55,14 @@ GEM
lumberjack (1.0.13) lumberjack (1.0.13)
method_source (0.9.0) method_source (0.9.0)
mini_portile2 (2.3.0) mini_portile2 (2.3.0)
nanoc (4.9.2) nanoc (4.10.0)
addressable (~> 2.5) addressable (~> 2.5)
cri (~> 2.8) cri (~> 2.15)
ddmemoize (~> 1.0) ddmemoize (~> 1.0)
ddmetrics (~> 1.0) ddmetrics (~> 1.0)
ddplugin (~> 1.0) ddplugin (~> 1.0)
hamster (~> 3.0) hamster (~> 3.0)
json_schema (~> 0.19)
parallel (~> 1.12) parallel (~> 1.12)
ref (~> 2.0) ref (~> 2.0)
slow_enumerator_tools (~> 1.0) slow_enumerator_tools (~> 1.0)
@ -76,7 +78,7 @@ GEM
pry (0.11.3) pry (0.11.3)
coderay (~> 1.1.0) coderay (~> 1.1.0)
method_source (~> 0.9.0) method_source (~> 0.9.0)
public_suffix (3.0.2) public_suffix (3.0.3)
rack (2.0.5) rack (2.0.5)
rainpress (1.0.1) rainpress (1.0.1)
rb-fsevent (0.10.3) rb-fsevent (0.10.3)
@ -98,7 +100,7 @@ GEM
libv8 (~> 3.16.14.15) libv8 (~> 3.16.14.15)
ref ref
thor (0.20.0) thor (0.20.0)
tomlrb (1.2.6) tomlrb (1.2.7)
typogruby (1.0.18) typogruby (1.0.18)
rubypants rubypants
uglifier (4.1.10) uglifier (4.1.10)
@ -136,4 +138,4 @@ DEPENDENCIES
yui-compressor yui-compressor
BUNDLED WITH BUNDLED WITH
1.14.6 1.16.4

View file

@ -14,10 +14,11 @@ These instructions will get you a copy of the project up and running on your loc
### Prerequisites ### Prerequisites
You will need Ruby (gem) and Node.js (npm). Installation instructions are listed below. You will need Ruby (gem), yarn and pandoc. Installation instructions are listed below.
* [Ruby](https://www.ruby-lang.org/en/documentation/installation/) * [Ruby](https://www.ruby-lang.org/en/documentation/installation/)
* [Node.js](https://nodejs.org/en/download/package-manager/) * [yarn](yarnpkg.com/en/docs/install)
* [pandoc](https://pandoc.org/installing.html)
### Installing ### Installing

13
Rules
View file

@ -11,7 +11,7 @@ require 'icalendar'
# #
preprocess do preprocess do
`npm install` `yarn`
# We don't want to compile old blogposts in development # We don't want to compile old blogposts in development
ignore_old_content('blog', 'events', 'about/verslagen') if development? ignore_old_content('blog', 'events', 'about/verslagen') if development?
@ -46,7 +46,7 @@ compile '/blog/*' do
layout '/default.*' layout '/default.*'
filter :erb filter :erb
filter :html_press filter :html_press if production?
end end
# #
@ -60,7 +60,7 @@ compile '/events/*' do
layout '/default.*' layout '/default.*'
filter :erb filter :erb
filter :html_press filter :html_press if production?
end end
compile '/events/*/*' do compile '/events/*/*' do
@ -71,7 +71,7 @@ compile '/events/*/*' do
layout '/default.*' layout '/default.*'
filter :erb filter :erb
filter :html_press filter :html_press if production?
end end
compile '/events/*/*', rep: :text do compile '/events/*/*', rep: :text do
@ -98,7 +98,7 @@ compile '/blog/*/*.md' do
layout '/default.*' layout '/default.*'
filter :erb filter :erb
filter :html_press filter :html_press if production?
end end
compile '/blog/*/*.md', rep: :text do compile '/blog/*/*.md', rep: :text do
@ -149,7 +149,7 @@ compile '/**/*.erb' do
layout '/generic.*' layout '/generic.*'
layout '/default.*' layout '/default.*'
filter :html_press filter :html_press if production?
end end
compile '/**/*.md' do compile '/**/*.md' do
@ -175,6 +175,7 @@ end
ignore '/assets/stylesheets/includes/**/*' ignore '/assets/stylesheets/includes/**/*'
ignore '/data/**/*' ignore '/data/**/*'
ignore '/node_modules/**/*'
compile '/assets/stylesheets/**/*.scss' do compile '/assets/stylesheets/**/*.scss' do
filter :sass, syntax: :scss, style: :compressed filter :sass, syntax: :scss, style: :compressed

View file

@ -34,7 +34,7 @@ narrow_page: true
Mail us all at: <a href='mailto:bestuur@zeus.ugent.be'>bestuur@zeus.ugent.be</a> Mail us all at: <a href='mailto:bestuur@zeus.ugent.be'>bestuur@zeus.ugent.be</a>
</blockquote> </blockquote>
<table class="table"> <table class="table board-table">
<thead> <thead>
<tr> <tr>
<th>Function</th> <th>Function</th>

View file

@ -1,7 +1,6 @@
@media only screen and (max-width: 425px) { @include mobile {
table { table.board-table {
border-collapse: inherit; border-collapse: inherit;
}
thead { thead {
> tr { > tr {
visibility: collapse; visibility: collapse;
@ -37,31 +36,24 @@
grid-area: func; grid-area: func;
border: none; border: none;
} }
}
tbody {
> tr > td:nth-child(3):before { > tr > td:nth-child(3):before {
content: "E-mail: "; content: "E-mail: ";
font-weight: bold; font-weight: bold;
} }
}
tbody {
> tr > td:nth-child(2):before { > tr > td:nth-child(2):before {
content: "Name: "; content: "Name: ";
font-weight: bold; font-weight: bold;
} }
}
tbody {
> tr > td:nth-child(1):before { > tr > td:nth-child(1):before {
content: "Function: "; content: "Function: ";
font-weight: bold; font-weight: bold;
} }
}
tbody {
> tr > td:nth-child(4):before { > tr > td:nth-child(4):before {
grid-area: link; grid-area: link;
} }
} }
} }
}
#contact-icons { #contact-icons {
display: flex; display: flex;

View file

@ -64,6 +64,9 @@
#ledenformulier { #ledenformulier {
color: $zeus-orange; color: $zeus-orange;
@include desktop {
transform: rotate(10deg); transform: rotate(10deg);
} }
} }
}

View file

@ -1,7 +1,7 @@
@import "includes/variables"; @import "includes/variables";
@import "../../../node_modules/bulma/bulma"; @import "../../node_modules/bulma/bulma";
@import "../../../node_modules/bulma-divider/divider"; @import "../../node_modules/bulma-divider/divider";
.nav-right { .nav-right {
flex: none; flex: none;

18
package-lock.json generated
View file

@ -1,18 +0,0 @@
{
"name": "zeus.ugent.be",
"version": "0.0.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"bulma": {
"version": "0.7.1",
"resolved": "https://registry.npmjs.org/bulma/-/bulma-0.7.1.tgz",
"integrity": "sha512-wRSO2LXB+qI9Pyz2id+uZr4quz5aftSN7Ay1ysr1+krzVp3utD+Ci4CeKuZdrYGc800t65b7heXBL6qw2Wo/lQ=="
},
"bulma-divider": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/bulma-divider/-/bulma-divider-0.0.1.tgz",
"integrity": "sha1-qcW1TwzgKg6FjTOPTlggN4dRKks="
}
}
}

View file

@ -7,7 +7,7 @@
"license": "MIT", "license": "MIT",
"repository": "https://github.com/ZeusWPI/zeus.ugent.be", "repository": "https://github.com/ZeusWPI/zeus.ugent.be",
"dependencies": { "dependencies": {
"bulma": "0.7.1", "bulma": "0.7.2",
"bulma-divider": "~0.0.1" "bulma-divider": "~0.0.1"
} }
} }

13
yarn.lock Normal file
View file

@ -0,0 +1,13 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
bulma-divider@~0.0.1:
version "0.0.2"
resolved "https://registry.yarnpkg.com/bulma-divider/-/bulma-divider-0.0.2.tgz#435e34f27217ebb938cf0ee9ff1b68f66d539dc6"
integrity sha1-Q1408nIX67k4zw7p/xto9m1TncY=
bulma@0.7.2:
version "0.7.2"
resolved "https://registry.yarnpkg.com/bulma/-/bulma-0.7.2.tgz#8e944377b74c7926558830d38d8e19eaf49f5fb6"
integrity sha512-6JHEu8U/1xsyOst/El5ImLcZIiE2JFXgvrz8GGWbnDLwTNRPJzdAM0aoUM1Ns0avALcVb6KZz9NhzmU53dGDcQ==