Skip to content

Commit

Permalink
Logo lockup adjustments
Browse files Browse the repository at this point in the history
Site affiliation <div> element will always be present in the template, but may not be filled. This adjust the display of the site title to better vertically center it on the 'N'
  • Loading branch information
skoolbus39 committed Dec 17, 2015
1 parent 80ad389 commit 8f93b61
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions wdn/templates_4.1/less/layouts/header.less
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
// !Site Affiliation
#wdn_site_affiliation {
display: block;
min-height: 0.451em;
padding-bottom: 0.191em;
.rem(12,13);
font-style: italic;
Expand All @@ -92,6 +93,7 @@
overflow: hidden;

@media @bp768 {
min-height: 0.563em;
padding: 0.1em 0 0.254em;
}

Expand All @@ -108,7 +110,7 @@
.brand-font();
.rem(30,38);
text-transform: uppercase;
line-height: 1.425; // vertically centers site title in between slab serifs of Nebraska 'N'
line-height: 1;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
Expand All @@ -134,10 +136,6 @@
}
}

#wdn_site_affiliation + & {
line-height: 1;
}

a {
color: @heading-text;
text-decoration: none;
Expand Down

0 comments on commit 8f93b61

Please sign in to comment.