Skip to content

Commit

Permalink
update footer
Browse files Browse the repository at this point in the history
  • Loading branch information
filipslezaklab committed Oct 3, 2023
1 parent d86c249 commit b7d1229
Show file tree
Hide file tree
Showing 13 changed files with 326 additions and 83 deletions.
44 changes: 34 additions & 10 deletions scss/components/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -74,26 +74,40 @@ footer {
list-style: none;
padding: 0;
margin: 0;
gap: 10px;
row-gap: 12px;

@include media-breakpoint-up(lg) {
gap: 10px;
}

li {
display: flex;
flex-flow: row;
align-items: flex-end;
justify-content: flex-start;
width: 100%;
height: 48px;
justify-content: flex-start;
align-items: flex-start;

@include media-breakpoint-up(lg) {
height: 48px;
align-items: flex-end;
}

a {
height: 100%;
text-decoration: none;
@include typography(paragraph);
cursor: pointer;
position: relative;
height: auto;

color: #000;

@include typography(paragraph);

font-size: 18px;

@include media-breakpoint-up(lg) {
height: 100%;
@include typography(paragraph);
}

&:visited {
color: #000;
}
Expand All @@ -108,11 +122,13 @@ footer {
}

& > .internal {
padding-bottom: 12px;
@include media-breakpoint-down(lg) {
grid-row: 2;
grid-column: 1 / 2;
}
@include media-breakpoint-up(lg) {
padding: 0;
grid-row: 1;
grid-column: 2 / 3;
}
Expand All @@ -134,14 +150,22 @@ footer {
a {
position: relative;

@include media-breakpoint-down(lg) {
padding-right: 20px;
}

&::after {
position: absolute;
display: block;
content: "";
top: -20px;
right: -25px;
top: -5px;
right: -5px;
user-select: none;
transform: scale(0.6) rotate(-45deg);
transform: rotate(-45deg);

@include media-breakpoint-up(lg) {
right: -25px;
}
}
}
}
Expand Down
6 changes: 5 additions & 1 deletion scss/components/_nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ nav {
align-self: center;
justify-content: flex-start;
box-sizing: border-box;
padding: 0 var(--spacing-xl);
padding: 0 16px;

@include media-breakpoint-up(lg) {
padding: 0 var(--spacing-xl);
}

& > ul {
display: none;
Expand Down
2 changes: 1 addition & 1 deletion scss/pages/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ main {
}

@include media-breakpoint-up(lg) {
padding: 480px 146px 370px 146px;
padding: 170px var(--spacing-xl) var(--spacing-xxl) var(--spacing-xl);
}
}

Expand Down
69 changes: 56 additions & 13 deletions src/assets/css/pages/article.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/assets/css/pages/article.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

69 changes: 56 additions & 13 deletions src/assets/css/pages/contact.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b7d1229

Please sign in to comment.