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 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">
<title>Violet's Purgatory</title>
@ -13,20 +14,15 @@
<body class="centered">
<div id="card">
<h1>Violets Purgatory</h1>
<p>Hi! I'm Violet, a teenage web and game developer.</p>
<h1><img src="https://api.lanyard.rest/534132311781015564.png" class="pfp" style="max-width: 125px;"> Violets&nbsp;Purgatory</h1>
<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
shooter and a boss rush right now.</p>
<p>If you have any issues with the site, put up an issue on codeberg!</p>
<br>
<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>
<hr>
<div id="links">
<a href="/socials/">Socials</a>
<a href="/portfolios/">Portfolios</a>
<a href="/AAAA/">SomethingElse</a>
</div>
</div>
</body>

View file

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