Session and speaker styling updates

This commit is contained in:
Rob Davies 2017-05-22 15:13:53 +01:00
parent 24ffcb956b
commit b8aee0f307
9 changed files with 309 additions and 1 deletions

View file

@ -13,6 +13,18 @@ a:visited {
}
}
h1 {
font-size: 2.4em;
}
h2 {
font-size: 2em;
}
h3 {
font-size: 1.6em;
}
h1, h2, h3, h4 {
font-weight: 600;
}

View file

@ -0,0 +1,21 @@
.node--type-session {
.field--name-field-category,
.field--name-field-level,
.field--name-field-length {
padding-right: 5em;
@include media-tablet {
float: left;
font-weight: 600;
.field__label {
display: none;
}
}
}
.field--name-body {
clear: both;
padding: 0.5em 0;
}
}

View file

@ -0,0 +1,17 @@
.node--type-speaker {
.node__content {
position: relative;
}
@include media-tablet {
.profile-picture {
position: absolute;
top: 0;
left: 0;
}
.profile-info {
padding-left: 9em;
}
}
}

View file

@ -16,3 +16,6 @@
@import 'components/blocks';
@import 'components/forms';
@import 'components/views';
@import 'content/session';
@import 'content/speaker';