Skip to content

Commit

Permalink
Tweaked header alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
ronan committed Jan 27, 2025
1 parent 92ae93c commit fdfbf20
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
10 changes: 6 additions & 4 deletions dist/main.compiled.css
Original file line number Diff line number Diff line change
Expand Up @@ -3653,6 +3653,7 @@ html .layout .l-sidebar + .l-content{
vertical-align: baseline;
font-size: 3rem;
line-height: 1;
line-height: .75rem;
}

@media (min-width: 992px){
Expand All @@ -3663,7 +3664,7 @@ html .layout .l-sidebar + .l-content{
}

.header-identity-wrapper .logo {
line-height: 0.6;
line-height: 0.8;
}

.header-identity-wrapper .header-site-name-wrapper{
Expand Down Expand Up @@ -3817,6 +3818,7 @@ html .layout .l-sidebar + .l-content{
vertical-align: baseline;
font-size: 3rem;
line-height: 1;
line-height: .75rem;
}

@media (min-width: 992px){
Expand All @@ -3827,7 +3829,7 @@ html .layout .l-sidebar + .l-content{
}

.header-identity-wrapper .block-theme-hooks-stanford-decanter-identity-bar .block-content a {
line-height: 0.6;
line-height: 0.8;
}

.global-footer a.block-theme-hooks-stanford-decanter-identity-bar .block-content a{
Expand Down Expand Up @@ -4368,8 +4370,8 @@ html .layout .l-sidebar + .l-content{
.l-header .block-system-main-menu .block-content{
z-index: 10;
width: 100%;
padding-left: 1rem;
padding-right: 1rem;
padding-left: 0.5rem;
padding-right: 0.5rem;
}

@media (min-width: 768px){
Expand Down
6 changes: 3 additions & 3 deletions src/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,8 @@ html .layout {
}

.logo {
@apply text-5xl lg:text-7xl flex max-w-160 max-h-100 mt-auto align-baseline;
line-height: 0.6;
@apply text-5xl lg:text-7xl flex max-w-160 max-h-100 mt-auto align-baseline leading-3;
line-height: 0.8;
}

.header-site-name-wrapper {
Expand Down Expand Up @@ -554,7 +554,7 @@ html .layout {
}
}
.block-content {
@apply px-10 md:p-0 md:ml-0 md:mr-0 md:mt-0 z-10 w-full;
@apply px-5 md:p-0 md:ml-0 md:mr-0 md:mt-0 z-10 w-full;

.menu-dropdown {
@apply absolute md:static left-0 right-0 mt-10;
Expand Down

0 comments on commit fdfbf20

Please sign in to comment.