Add image to the homepage

This commit is contained in:
Sophie Marie 2023-04-26 20:47:55 -05:00
parent dec09dcc18
commit 29d29c06ce
Signed by: IDeletedSystem64
GPG Key ID: F5D997A1BEF778ED
3 changed files with 18 additions and 6 deletions

BIN
img/FlutterUndulate.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

View File

@ -27,5 +27,6 @@
<input type="button" onclick="location.href='/projects/index.html';" value="Projects">
</div>
</div>
<img loading="lazy" class="home" src="/img/FlutterUndulate.png" alt="fluttershy undulate in ms paint">
</div>
</body>

View File

@ -36,14 +36,21 @@ body {
}
.container {
height: 100vh;
display: flex;
flex-direction: column;
flex-direction: row;
}
div.main {
margin-top: 30vh;
margin-left: 10vh;
height: 100%;
align-items: center;
margin: auto;
}
img.home {
height: 70vh;
width: auto;
align-self: center;
padding: 5%;
}
/* Website layout */
@ -56,6 +63,7 @@ img.webbutton{
/* Web buttons :) */
/* Did you know: I wish I wasn't doing this right now? */
/* Better web site for mobile users coming soon(tm) */
@media (max-width: 64em) {
h1 {
font-size: 56pt;
@ -67,11 +75,14 @@ img.webbutton{
font-size: 26pt;
}
div.main {
margin-left: 0vh;
margin-top: 35vh;
}
.container {
flex-wrap: wrap;
align-items: center;
}
img.home {
display: none;
}
}