Skip to content

Commit

Permalink
[#2840] Align the tagline to the left
Browse files Browse the repository at this point in the history
This can be switched back to the right by adding a class of
.tagline-right to the hgroup element if required.
  • Loading branch information
aron committed Aug 13, 2012
1 parent a6fa5a0 commit f7bc1c9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
6 changes: 5 additions & 1 deletion ckan/public/base/css/main.css
Expand Up @@ -6769,13 +6769,17 @@ li .icon-large:before {
.masthead hgroup h2 {
position: absolute;
bottom: -3px;
right: 0;
left: 0;
margin: 0;
font-size: 15px;
font-weight: normal;
line-height: 1.2;
white-space: nowrap;
}
.masthead .tagline-right h2 {
left: auto;
right: 0;
}
.masthead hgroup a {
text-decoration: none;
}
Expand Down
7 changes: 6 additions & 1 deletion ckan/public/base/less/masthead.less
Expand Up @@ -38,14 +38,19 @@
.masthead hgroup h2 {
position: absolute;
bottom: -3px;
right: 0;
left: 0;
margin: 0;
font-size: 15px;
font-weight: normal;
line-height: 1.2;
white-space: nowrap;
}

.masthead .tagline-right h2 {
left: auto;
right: 0;
}

.masthead hgroup a {
text-decoration: none;
}
Expand Down

0 comments on commit f7bc1c9

Please sign in to comment.