Skip to content

Commit

Permalink
window watching article fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelmdLow committed Dec 7, 2024
1 parent daa03c7 commit 0764075
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
19 changes: 16 additions & 3 deletions ubyssey/static_src/src/styles/supplement-2024-nocturne.scss
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,16 @@ article > div > * {
}

.sticky-images {
margin-bottom: 100vh;
position: sticky;
top: 0;
margin-bottom: 100vh;
z-index: -100;
#windows {
position: absolute;
right: 0;
padding: 0;
margin: 0;
}
img {
position: absolute;
padding: 0;
Expand Down Expand Up @@ -211,9 +218,11 @@ article > div > * {
.banner h1, .header-container h1 {
font-size: 2em;
}
.content p {
line-height: 1.5em;
}
.content p.large-text {
font-size: 1.25em;
line-height: 1.5em;
}
p.highlight {
opacity: 0.8;
Expand Down Expand Up @@ -276,6 +285,9 @@ a {
}

.window-watching {
display: flex;
flex-direction: column;

.title, .desc {
border: none;
}
Expand Down Expand Up @@ -306,12 +318,13 @@ a {
img {
border: 1px solid #fbe284;
opacity: 0.5;
filter: blur(5px) brightness(0.1);
filter: blur(5px) brightness(0.75);
}
@media ($bp-larger-than-tablet) {
img {
border-radius: 100%;
transition-duration: 1.5s;
filter: blur(5px) brightness(0.1);
}
&:hover img {
border-radius: 0;
Expand Down
2 changes: 1 addition & 1 deletion ubyssey/templates/article/nocturne-window-watching.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
</defs>
</svg>
</a>
<div class="title"><a href="{{self.category.section_page.url}}category/{{self.category.slug}}">Nocturne</a></div>
<div class="title"><a href="/features/category/nocturne/">Nocturne</a></div>
<div class="desc">Creative non-fiction supplement 2024, Edited by <a href="https://ubyssey.ca/authors/fiona-sjaus/">Fiona Sjaus</a></div>
</div>

Expand Down

0 comments on commit 0764075

Please sign in to comment.