Improvements to main page, proper scaling.

This commit is contained in:
Violet 2023-09-22 13:57:15 +00:00 committed by GitHub
parent ce2a54dfaf
commit ef590b0f2f
2 changed files with 26 additions and 18 deletions

View file

@ -5,7 +5,8 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css"
integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
<link rel="stylesheet" href="./style.css"> <link rel="stylesheet" href="./style.css">
<title>Violet's Purgatory</title> <title>Violet's Purgatory</title>
@ -13,20 +14,15 @@
<body class="centered"> <body class="centered">
<div id="card"> <div id="card">
<h1>Violets Purgatory</h1> <h1><img src="https://api.lanyard.rest/534132311781015564.png" class="pfp" style="max-width: 125px;"> Violets&nbsp;Purgatory</h1>
<p>Hi! I'm Violet, a teenage web and game developer.</p>
<p><br> Hi! I'm Violet, a teenage web and game developer.</p>
<p>My main engine is Godot, and i'm currently bouncing between projects, but I am mainly focusing on a space <p>My main engine is Godot, and i'm currently bouncing between projects, but I am mainly focusing on a space
shooter and a boss rush right now.</p> shooter and a boss rush right now.</p>
<p>If you have any issues with the site, put up an issue on codeberg!</p> <p>If you have any issues with the site, put up an issue on codeberg!</p>
<br> <hr>
<p style="color: rgb(255, 125, 125)">Keep in mind that, in general, work on everything may be slowed down for now as I enter college and work on robotics.</p>
<p>If you need to reach out to me for any reason, please go check my socials! I prefer Revolt, and it will likely be fastest.</p>
<div id="links"> <div id="links">
<a href="/socials/">Socials</a> <a href="/socials/">Socials</a>
<a href="/portfolios/">Portfolios</a>
<a href="/AAAA/">SomethingElse</a>
</div> </div>
</div> </div>
</body> </body>

View file

@ -16,7 +16,9 @@
h1 { h1 {
color: rgb(225, 215, 255); color: rgb(225, 215, 255);
font-size: 3rem; font-size: 2.5rem;
margin: 0;
padding: 10px;
} }
h2 { h2 {
@ -42,9 +44,11 @@ body {
#card { #card {
border: rgb(225, 225, 255) 5px solid; border: rgb(225, 225, 255) 5px solid;
border-radius: 25px; border-radius: 25px;
width: 90%; max-width: 95%;
height: 90%; max-height: 95%;
padding: 30px; /* max-width: 1200px; */
/* max-height: 650px; */
padding: 5px;
background-color: var(--bg-color-2); background-color: var(--bg-color-2);
background-image: linear-gradient(var(--bg-color-1), var(--bg-color-2)); background-image: linear-gradient(var(--bg-color-1), var(--bg-color-2));
overflow: auto; overflow: auto;
@ -54,7 +58,7 @@ body {
text-align: center; text-align: center;
border: rgb(225, 225, 255) 4px solid; border: rgb(225, 225, 255) 4px solid;
border-radius: 25px; border-radius: 25px;
padding: 20px; padding: 5px;
margin: 20px; margin: 20px;
background-color: var(--bg-color-2); background-color: var(--bg-color-2);
background-image: linear-gradient(var(--bg-color-1), var(--bg-color-2)); background-image: linear-gradient(var(--bg-color-1), var(--bg-color-2));
@ -71,6 +75,11 @@ body {
align-items: flex-end !important; align-items: flex-end !important;
} */ } */
#links {
margin: 0;
padding: 0;
}
a { a {
border: 2px white solid; border: 2px white solid;
border-radius: 0px; border-radius: 0px;
@ -86,19 +95,22 @@ a {
a:hover { a:hover {
background-color: rgb(60, 50, 75); background-color: rgb(60, 50, 75);
transform: scale(1.225); transform: scale(1.2);
color: white; color: white;
transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1); transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
} }
p { p {
color: white; color: white;
font-size: 1.25rem; font-size: 1.2rem;
padding: 0;
margin: 5px;
} }
img { img {
width: 100%; width: 30%;
max-width: 150px; max-width: 150px;
min-width: 100px;
border: rgb(175, 75, 200) 4px solid; border: rgb(175, 75, 200) 4px solid;
border-radius: 50%; border-radius: 50%;
transform: scale(0.9); transform: scale(0.9);