Skip to content

Commit

Permalink
UHF-8216: Movearchive styles to _new_archive.scss in Etusivu instance
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremysteerio committed May 26, 2023
1 parent 838349d commit e75db45
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 61 deletions.
2 changes: 1 addition & 1 deletion dist/css/styles.min.css

Large diffs are not rendered by default.

60 changes: 0 additions & 60 deletions src/scss/06_components/pages/_news-page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -327,63 +327,3 @@ $-card-teaser-min-width: 280px;
}
}
}

.news-archive__heading {
@include font('h3');
border-bottom: 2px solid $color-black;
display: flex;
flex-flow: column;
justify-content: space-between;
margin-top: 0;
padding-bottom: $spacing-and-half;
width: 100%;

@include breakpoint($breakpoint-m) {
flex-flow: row;
}
}

.news-archive__feed-link {
@include font('button');
align-items: flex-start;
display: flex;
flex-wrap: nowrap;
padding-top: $spacing;
position: relative;

@include breakpoint($breakpoint-m) {
padding-top: $spacing-quarter;
}

.link {
display: block;
margin-inline-start: $spacing-quarter;
text-decoration: none;
width: max-content;

&::after {
bottom: 0;
content: "";
left: 0;
position: absolute;
right: 0;
top: 0;
}

.link-text:after {
@include pseudo-icon('link-external');
@include hover-link-arrow-transition;
margin-inline-start: $spacing-quarter;
pointer-events: none;
}

&:focus-within .link-text::after,
&:hover .link-text::after {
transform: translate($spacing-quarter, -$spacing-quarter);

@media (prefers-reduced-motion) {
transform: none;
}
}
}
}

0 comments on commit e75db45

Please sign in to comment.