-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Joey Thompson
authored and
Joey Thompson
committed
Jul 26, 2024
1 parent
61eee15
commit 397544a
Showing
7 changed files
with
30 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,98 +0,0 @@ | ||
body { | ||
background-color: #000; | ||
background-image: radial-gradient(circle, #ffffff 1%, transparent 1%); | ||
background-size: 3px 3px; | ||
} | ||
|
||
.stars { | ||
position: fixed; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
pointer-events: none; | ||
} | ||
|
||
.star { | ||
position: absolute; | ||
background-color: #fff; | ||
border-radius: 50%; | ||
animation: twinkle 1.5s infinite alternate; | ||
|
||
} | ||
|
||
/* Randomly position stars */ | ||
.star:nth-child(1) { | ||
top: 10%; | ||
left: 20%; | ||
width: 2px; | ||
height: 2px; | ||
} | ||
|
||
.star:nth-child(2) { | ||
top: 20%; | ||
left: 50%; | ||
width: 1px; | ||
height: 1px; | ||
} | ||
|
||
.star:nth-child(3) { | ||
top: 30%; | ||
left: 80%; | ||
width: 1.5px; | ||
height: 1.5px; | ||
} | ||
|
||
|
||
@keyframes twinkle { | ||
0% { | ||
opacity: 1; | ||
} | ||
|
||
100% { | ||
opacity: 0.5; | ||
} | ||
} | ||
|
||
.spaceship-error { | ||
background-color: #2a2a2a; | ||
/* Dark gray background */ | ||
color: #ff4d4d; | ||
/* Red color for the error text */ | ||
border: 2px solid #ff4d4d; | ||
/* Red border */ | ||
border-radius: 8px; | ||
/* Rounded corners */ | ||
padding: 10px 20px; | ||
/* Padding for the error message */ | ||
|
||
/* Font family */ | ||
font-size: 16px; | ||
/* Font size */ | ||
text-align: center; | ||
/* Center align text */ | ||
max-width: 300px; | ||
/* Max width for better readability */ | ||
margin: 0 auto; | ||
/* Center horizontally */ | ||
} | ||
|
||
.spaceship-error::before { | ||
content: ''; | ||
/* Empty content for pseudo-element */ | ||
background-image: url('error-icon.png'); | ||
/* URL to your error icon image */ | ||
background-size: cover; | ||
/* Ensure the icon covers the pseudo-element */ | ||
width: 40px; | ||
/* Icon width */ | ||
height: 40px; | ||
/* Icon height */ | ||
display: block; | ||
/* Make the icon a block element */ | ||
margin: 0 auto 10px; | ||
/* Margin below the icon */ | ||
} | ||
|
||
|
||
/* Add more stars as needed */ | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,9 @@ | ||
:root { | ||
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif; | ||
line-height: 1.5; | ||
font-weight: 400; | ||
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap'); | ||
|
||
color-scheme: light dark; | ||
color: rgba(255, 255, 255, 0.87); | ||
|
||
font-synthesis: none; | ||
text-rendering: optimizeLegibility; | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
html { | ||
--font-family: 'Montserrat', sans-serif; | ||
--font-size: 16px; | ||
--font-weight-normal: 400; | ||
--font-weight-bold: 700; | ||
background-color: #121212; | ||
} |