summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/index.html.haml6
-rw-r--r--source/stylesheets/base.css.scss1
-rw-r--r--source/stylesheets/custom.scss8
3 files changed, 13 insertions, 2 deletions
diff --git a/source/index.html.haml b/source/index.html.haml
index 5d17f84..0bba68b 100644
--- a/source/index.html.haml
+++ b/source/index.html.haml
@@ -20,8 +20,10 @@ title: sublab - Ein Hackerspace in Leipzig
%p CryptoCon14 - 22. bis 25. Mai 2014
.row
- - %w(Montag Dienstag Mittwoch Donnerstag Freitag Samstag Sonntag).each do |dow|
- .columns.small-12.medium-6.large-3
+ - %w(Montag Dienstag Mittwoch Donnerstag Freitag Samstag Sonntag).each_with_index do |dow, i|
+ - dow_classes = ["columns", "small-12", "medium-4", "large-1", "dow-columns"]
+ - dow_classes << "end" if i == 6
+ %div{class: dow_classes}
%h5= dow
%ul
%li= lorem.words(3)
diff --git a/source/stylesheets/base.css.scss b/source/stylesheets/base.css.scss
index bcef650..63c9321 100644
--- a/source/stylesheets/base.css.scss
+++ b/source/stylesheets/base.css.scss
@@ -1,3 +1,4 @@
@import "normalize.scss";
@import "foundation.scss";
+@import "custom.scss";
diff --git a/source/stylesheets/custom.scss b/source/stylesheets/custom.scss
new file mode 100644
index 0000000..a9f195f
--- /dev/null
+++ b/source/stylesheets/custom.scss
@@ -0,0 +1,8 @@
+// sublab specific stlyesheet customizations
+
+// use 7 columns for week overview on index
+.dow-columns {
+ @media #{$large-up} {
+ @include grid-column($columns: 1.7);
+ }
+}