Skip to content

Commit

Permalink
adjusting text spacing for certain screen width
Browse files Browse the repository at this point in the history
  • Loading branch information
Jgerbrandt committed Aug 1, 2024
1 parent bf4db22 commit 99c2421
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions bio-rocket/src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -271,4 +271,21 @@
margin-bottom: 60%;
}
}
@media (min-width: 1536px) and (max-width: 1745px) {
.text-container {
position: absolute;
top: 4vh;
right: 1%;
color: white;
font-size: 3em;
}
.triangle {
position: relative;
width: 0;
height: 0;
transform: rotate(-90deg);
border-left: 50vw solid transparent;
border-bottom: 65vw solid #62A945;
}
}
</style>

0 comments on commit 99c2421

Please sign in to comment.