Skip to content

Commit

Permalink
update css
Browse files Browse the repository at this point in the history
  • Loading branch information
johnarban committed Aug 13, 2024
1 parent f25dce6 commit 5b0c8d6
Showing 1 changed file with 21 additions and 17 deletions.
38 changes: 21 additions & 17 deletions src/SplashScreen.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<p class="highlight">Blaze Star Nova</p>
<p>Learn where in the sky to watch for a "new" star!</p>
</div>
<div id="splash-screen-acknowledgements" class="small">
<div id="splash-screen-acknowledgements" class="splash-screen-small">
<span>This Data Story is brought to you by <a href="https://www.cosmicds.cfa.harvard.edu/" target="_blank"
rel="noopener noreferrer">Cosmic Data Stories</a> and <a href="https://www.worldwidetelescope.org/home/"
target="_blank" rel="noopener noreferrer">WorldWide Telescope</a>.</span>
Expand Down Expand Up @@ -59,21 +59,6 @@ function closeSplashScreen() {
justify-content: center;
}
p.highlight {
color: var(--accent-color);
text-transform: uppercase;
font-weight: bolder;
filter: drop-shadow(0 0 0.1rem black);
@media (max-width: 750px) {
font-weight: bold;
}
}
p:not(.highlight) {
background-color: rgba(255, 255, 255, 0.3);
border-radius: 15px;
}
#splash-screen {
color: black;
background-color: #000000;
Expand Down Expand Up @@ -109,8 +94,27 @@ p:not(.highlight) {
margin-inline: 7%;
text-align: center;
}
p.highlight {
color: var(--accent-color);
text-transform: uppercase;
font-weight: bolder;
text-shadow: 0 0 16px black;
filter: drop-shadow(0 0 5px black);
font-size: 1.2em;
@media (max-width: 750px) {
font-weight: bold;
}
}
p:not(.highlight) {
background-color: rgba(255, 255, 255, 0.3);
border-radius: 15px;
margin: 1rem;
}
.small {
.splash-screen-small {
font-size: var(--default-font-size);
font-weight: bold;
margin-top: 1rem;
Expand Down

0 comments on commit 5b0c8d6

Please sign in to comment.