Dev schedule config and styling

This commit is contained in:
Rob Davies 2017-06-20 12:26:26 +01:00
parent 62b33791d0
commit f522a186c1
7 changed files with 422 additions and 20 deletions

View file

@ -1,5 +1,5 @@
.view-schedule {
h3 {
.view-grouping-header {
background: $dcb-green;
color: white;
font-size: 1.5em;
@ -18,4 +18,41 @@
p {
margin: 0.5em 0;
}
.node--type-session {
margin-bottom: 3em;
}
.group-wrapper {
@include media-large {
box-sizing: border-box;
float: left;
padding-right: 2em;
h2 {
font-size: 1.2em;
line-height: 1.4;
}
}
h3 {
color: $dcb-grey;
}
}
.view-grouping-content {
overflow: hidden;
&.col-2 .group-wrapper {
@include media-large {
width: 50%;
}
}
&.col-3 .group-wrapper {
@include media-large {
width: 33.33%;
}
}
}
}