main #3

Merged
limepotato merged 3 commits from main into restyle 2024-06-17 16:19:27 -06:00
5 changed files with 119 additions and 3511 deletions
Showing only changes of commit 5ee172f0af - Show all commits

75
public/css/classes.css Normal file
View file

@ -0,0 +1,75 @@
.navbar-menu {
flex-grow: initial !important;
flex-shrink: initial !important;
}
.navbar {
display: flex;
align-content: center;
justify-content: center;
padding-top: 7px;
padding-bottom: 7px;
}
.navbar-item {
font-size: larger;
padding-right: 10px;
padding-left: 10px;
}
.astro-a {
position: absolute;
top: -32px;
left: 50%;
transform: translatex(-50%);
width: 220px;
height: auto;
z-index: -1;
}
.text-gradient {
background-image: var(--accent-gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-size: 400%;
background-position: 0%;
}
.instructions {
margin-bottom: 2rem;
border: 1px solid rgba(var(--accent-light), 25%);
background: linear-gradient(rgba(var(--accent-dark), 66%), rgba(var(--accent-dark), 33%));
padding: 1.5rem;
border-radius: 8px;
text-align: center;
}
.instructions code {
font-size: 0.8em;
font-weight: bold;
background: rgba(var(--accent-light), 12%);
color: rgb(var(--accent-light));
border-radius: 4px;
padding: 0.3em 0.4em;
text-align: center;
}
.instructions strong {
color: rgb(var(--accent-light));
}
.link-card-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(24ch, 1fr));
gap: 2rem;
padding: 0;
}
.title {
font-size: 55px;
background-image: var(--accent-gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-size: 400%;
background-position: 0%;
}

41
public/css/mystyle.css Normal file
View file

@ -0,0 +1,41 @@
@import "classes.css";
:root {
background: repeat url("/assets/background.png");
-webkit-background-size: repeat;
-moz-background-size: cover;
-o-background-size: cover;
background-size: repeat;
--accent: 250, 179, 135;
--accent-light: 250, 221, 201;
--accent-dark: 149, 106, 81;
--accent-gradient: linear-gradient(45deg, rgb(var(--accent)), rgb(var(--accent-light)) 30%, white 60%);
font-family: system-ui, sans-serif;
}
a:link {
color: #89b4fa
}
a:visited {
color: #b4befe
}
a:hover {
color: #89dceb
}
hr {
width: 32%;
color: #6e738d;
}
body {
color: #cdd6f4
}
p {
color: #cdd6f4
}

File diff suppressed because it is too large Load diff

View file

@ -6,97 +6,5 @@
<meta name="description" content="Personal website of LimePotato"> <meta name="description" content="Personal website of LimePotato">
<meta name="viewport" content="width=device-width" /> <meta name="viewport" content="width=device-width" />
<meta name="generator" content={Astro.generator} /> <meta name="generator" content={Astro.generator} />
<link rel="stylesheet" href="/css/mystyles.css"> <link rel="stylesheet" href="/css/mystyle.css">
<link rel="icon" type="image/svg+xml" href="/assets/favicon.svg" /> <link rel="icon" type="image/svg+xml" href="/assets/favicon.svg" />
<style>
:root{
background: repeat url("/assets/background.png");
-webkit-background-size: repeat;
-moz-background-size: cover;
-o-background-size: cover;
background-size: repeat;
}
</style>
<style is:global>
.navbar-menu {
flex-grow: initial!important;
flex-shrink: initial!important;
}
.navbar {
display: flex
align-content: center;
justify-content: center;
padding-top: 7px;
padding-bottom: 7px;
}
.navbar-item {
font-size: larger;
}
hr {
width: 32%;
color: #6e738d;
}
:root {
--accent: 250, 179, 135;
--accent-light: 250, 221, 201;
--accent-dark: 149, 106, 81;
--accent-gradient: linear-gradient(45deg, rgb(var(--accent)), rgb(var(--accent-light)) 30%, white 60%);
font-family: system-ui, sans-serif;
}
main {
color: white;
font-size: 20px;
line-height: 1.6;
}
.astro-a {
position: absolute;
top: -32px;
left: 50%;
transform: translatex(-50%);
width: 220px;
height: auto;
z-index: -1;
}
h1 {
font-size: 4rem;
font-weight: 700;
line-height: 1;
text-align: center;
margin-bottom: 1em;
}
.text-gradient {
background-image: var(--accent-gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-size: 400%;
background-position: 0%;
}
.instructions {
margin-bottom: 2rem;
border: 1px solid rgba(var(--accent-light), 25%);
background: linear-gradient(rgba(var(--accent-dark), 66%), rgba(var(--accent-dark), 33%));
padding: 1.5rem;
border-radius: 8px;
text-align: center;
}
.instructions code {
font-size: 0.8em;
font-weight: bold;
background: rgba(var(--accent-light), 12%);
color: rgb(var(--accent-light));
border-radius: 4px;
padding: 0.3em 0.4em;
text-align: center;
}
.instructions strong {
color: rgb(var(--accent-light));
}
.link-card-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(24ch, 1fr));
gap: 2rem;
padding: 0;
}
</style>

View file

@ -10,7 +10,7 @@ import Card from "../components/Card.astro";
<center> <center>
<h1 class="title">LimePotato</h1> <h1 class="title">LimePotato</h1>
<marquee Behavior="Alternate"> <marquee Behavior="Alternate">
<h2 class="title"> <h2>
<span class="text-gradient">Hello World</span> <span class="text-gradient">Hello World</span>
</h2> </h2>
</marquee> </marquee>