Speaker profile tweaks

This commit is contained in:
Rob Davies 2017-05-26 10:05:19 +01:00
parent 564149e6d8
commit 7e86175a11
11 changed files with 64 additions and 15 deletions

View file

@ -20,7 +20,8 @@ h3 {
font-size: 1.6em; }
h1, h2, h3, h4 {
font-weight: 600; }
font-weight: 600;
margin-bottom: 0.4em; }
h1, h2 {
text-transform: uppercase; }
@ -383,4 +384,15 @@ nav.menu--main {
.node--type-speaker .profile-info {
padding-left: 9em; } }
.node--type-speaker.node--view-mode-speaker-profile {
margin-bottom: 2em; }
.speaker-twitter {
background: url("../images/twitter-1.png") no-repeat left center transparent;
padding: 0 10px 0 20px; }
.speaker-drupal {
background: url("../images/drop-1.png") no-repeat left center transparent;
padding: 0 10px 0 20px; }
/*# sourceMappingURL=style.css.map */

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 922 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 858 B

View file

@ -27,6 +27,7 @@ h3 {
h1, h2, h3, h4 {
font-weight: 600;
margin-bottom: 0.4em
}
h1, h2 {

View file

@ -14,4 +14,18 @@
padding-left: 9em;
}
}
&.node--view-mode-speaker-profile {
margin-bottom: 2em;
}
}
.speaker-twitter {
background: url('../images/twitter-1.png') no-repeat left center transparent;
padding: 0 10px 0 20px;
}
.speaker-drupal {
background: url('../images/drop-1.png') no-repeat left center transparent;
padding: 0 10px 0 20px;
}

View file

@ -104,6 +104,7 @@
<span class="speaker-drupal"><a href="https://www.drupal.org/u/{{ node.field_drupal_org_handle.value }}">{{ node.field_drupal_org_handle.value }}</a></span>
{% endif %}
</div>
{{ content.field_organisation }}
{{ content.body }}
</div>
</div>