Session and speaker styling updates
This commit is contained in:
parent
24ffcb956b
commit
b8aee0f307
9 changed files with 309 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
21
web/themes/dcb2017/sass/content/_session.scss
Normal file
21
web/themes/dcb2017/sass/content/_session.scss
Normal 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;
|
||||
}
|
||||
}
|
17
web/themes/dcb2017/sass/content/_speaker.scss
Normal file
17
web/themes/dcb2017/sass/content/_speaker.scss
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -16,3 +16,6 @@
|
|||
@import 'components/blocks';
|
||||
@import 'components/forms';
|
||||
@import 'components/views';
|
||||
|
||||
@import 'content/session';
|
||||
@import 'content/speaker';
|
||||
|
|
Reference in a new issue