Skip to content

Commit

Permalink
Fix footer spacing on larger and smaller screens
Browse files Browse the repository at this point in the history
  • Loading branch information
hackartisan committed Oct 7, 2024
1 parent e95565f commit b77ab55
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 11 deletions.
34 changes: 24 additions & 10 deletions src/components/LuxLibraryFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -143,15 +143,14 @@ export default {
.contact-info-layout {
@media (min-width: 900px) {
border-right: 1px solid rgba(255, 255, 255, 0.3);
.contact-info-layout div {
padding-left: 1.5rem;
> div {
padding-left: 8px;
}
}
@media (max-width: 899px) {
/* on phone sizes it stacks */
border-bottom: 1px solid rgba(255, 255, 255, 0.3);
.contact-info-layout div {
padding-left: 0;
}
}
}
Expand Down Expand Up @@ -206,7 +205,9 @@ export default {
line-height: var(--line-height-heading);
color: var(--color-white);
background: var(--color-gray-100);
padding-top: 1em;
@media (min-width: 900px) {
padding-top: 1em;
}
&.dark {
.lux-library-links a {
Expand Down Expand Up @@ -251,6 +252,10 @@ export default {
}
@media (max-width: 899px) {
flex-direction: column;
> div {
padding-bottom: 8px;
padding-top: 8px;
}
}
}
Expand All @@ -264,6 +269,8 @@ export default {
}
@media (max-width: 899px) {
flex-direction: column;
padding-top: 10px;
padding-bottom: 8px;
}
}
Expand Down Expand Up @@ -298,8 +305,13 @@ export default {
}
&.center-panel {
align-content: center;
text-align: center;
@media (min-width: 900px) {
align-content: center;
text-align: center;
}
@media (max-width: 899px) {
padding-top: 1em;
}
}
h2 {
Expand All @@ -325,20 +337,22 @@ export default {
@media (max-width: 899px) {
padding: 0rem 2rem 0rem 0rem;
align-content: flex-start;
margin-bottom: 0px;
}
li:not(:last-child) {
padding-bottom: 1rem;
}
li {
line-height: var(--line-height-heading);
font-size: var(--font-size-base);
padding-bottom: 1rem;
a {
text-decoration: underline;
text-underline-offset: 3px;
}
}
}
}
</style>

<docs>
Expand Down
5 changes: 4 additions & 1 deletion src/components/_LuxUniversityAccessibility.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ export default {
font-family: var(--font-family-heading);
font-size: var(--font-size-base);
line-height: var(--line-height-heading);
padding-left: 8px;
@media (min-width: 900px) {
padding-left: 8px;
}
:deep(.lux-link) {
box-shadow: none;
Expand Down

0 comments on commit b77ab55

Please sign in to comment.