Skip to content

Commit

Permalink
style(www): small style tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Nate Moore committed Apr 15, 2021
1 parent f28cebc commit ea33d7b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
17 changes: 15 additions & 2 deletions www/astro/components/Space.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,18 @@ import Planets from './Planets.astro';
import Stars from './Stars.astro';
---

<Planets />
<Stars />
<div class="space">
<Planets />
<Stars />
</div>

<style lang="scss">
.space {
position: fixed;
inset: 0;
width: 100vw;
min-height: 100vh;
height: 100%;
overflow: hidden;
}
</style>
2 changes: 2 additions & 0 deletions www/astro/components/Tagline.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
<style lang="scss">
.title {
font-family: var(--font-sans);
font-weight: 400;
font-size: 2.5rem;
line-height: 1.1;

@media (min-width: 50em) {
font-size: 1.525rem;
Expand Down
4 changes: 3 additions & 1 deletion www/public/global.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
:root {
--font-sans: "IBM Plex Sans", system-ui;
--font-sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
--font-mono: "IBM Plex Mono", Consolas, "Andale Mono WT", "Andale Mono",
"Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono",
"Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco,
Expand All @@ -14,6 +14,8 @@
html {
display: grid;
width: 100%;
max-width: 100vw;
overflow-x: hidden;
height: 100%;
background-color: #000014;
}
Expand Down

0 comments on commit ea33d7b

Please sign in to comment.