New design
This commit is contained in:
parent
bde7a4ca90
commit
c0ba8016c3
|
@ -17,8 +17,8 @@ export default {
|
||||||
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500&display=swap');
|
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500&display=swap');
|
||||||
|
|
||||||
html, body, #app {
|
html, body, #app {
|
||||||
height: 100%;
|
|
||||||
scroll-behavior: smooth;
|
scroll-behavior: smooth;
|
||||||
|
background-color: #192236;
|
||||||
}
|
}
|
||||||
|
|
||||||
#app {
|
#app {
|
||||||
|
@ -33,8 +33,4 @@ html, body, #app {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
|
||||||
background-color: #192236;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|
BIN
src/assets/banner_website.png
Normal file
BIN
src/assets/banner_website.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 MiB |
BIN
src/assets/banner_website.png.old
Normal file
BIN
src/assets/banner_website.png.old
Normal file
Binary file not shown.
After Width: | Height: | Size: 903 KiB |
BIN
src/assets/profile.png
Normal file
BIN
src/assets/profile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7 MiB |
|
@ -1,116 +1,92 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="header">
|
<header>
|
||||||
<div class="headContents">
|
<a class="pfp" href="https://www.pixiv.net/en/artworks/118037520">
|
||||||
<h1>Hello, I'm Keyemail or Patrick.</h1>
|
<img src="@/assets/profile.png"/>
|
||||||
<p>
|
|
||||||
I specialize in IT and web development-related stuff, but I also love doing a variety of different hobbies such as Flight Simulator, or learning Japanese.
|
|
||||||
I daily run an Arch Linux machine as my main system and support Linux in every way. I'm glad to meet you!
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<a href="https://www.pixiv.net/en/artworks/115330417" target="_blank">
|
|
||||||
<img alt="Profile Picture" src="../assets/profile_circle.png"/>
|
|
||||||
</a>
|
</a>
|
||||||
|
<h1>Keyemail</h1>
|
||||||
|
</header>
|
||||||
|
<div class="intro">
|
||||||
|
<h1>Hi, I'm Keyemail or Patrick.</h1>
|
||||||
|
<p>I specialize in IT and web development-related stuff, but I also love doing a variety of different hobbies such as Flight Simulator, or learning Japanese. I daily run an Arch Linux machine as my main system and support Linux in every way. I'm glad to meet you! </p>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.header {
|
header {
|
||||||
position: relative;
|
|
||||||
color: white;
|
|
||||||
height: 100%;
|
|
||||||
font-family: 'Rubik', sans-serif;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
margin-top: 20px;
|
||||||
|
background-image: url(@/assets/banner_website.png);
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: cover;
|
||||||
|
background-position: center 20%;
|
||||||
|
height: 180px;
|
||||||
|
width: 100%;
|
||||||
|
background-color: black;
|
||||||
|
border-radius: 10px;
|
||||||
|
font-family: 'Rubik', sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.headContents {
|
header h1 {
|
||||||
height: fit-content;
|
color: white;
|
||||||
|
margin-left: 20px;
|
||||||
|
font-size: 3rem;
|
||||||
|
-webkit-text-stroke: 1px black;
|
||||||
}
|
}
|
||||||
|
|
||||||
.headContents h1{
|
.pfp {
|
||||||
font-weight: 500;
|
height: 130px !important;
|
||||||
font-size: 50px
|
width: 130px !important;
|
||||||
|
border: solid;
|
||||||
|
border-width: 4px;
|
||||||
|
border-radius: 50%;
|
||||||
|
border-color: white;
|
||||||
|
overflow: hidden;
|
||||||
|
margin-left: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.headContents p {
|
.pfp img {
|
||||||
margin-top: 40px;
|
width:100%;
|
||||||
font-weight: 400;
|
height:100%;
|
||||||
font-size: 30px;
|
object-fit: cover;
|
||||||
width: 900px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.header img {
|
.intro {
|
||||||
width: 400px;
|
|
||||||
height: 400px;
|
|
||||||
justify-self: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.workinprogress {
|
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
margin-top: 200px;
|
align-items: center;
|
||||||
|
margin-top: 90px;
|
||||||
|
width: 100%;
|
||||||
color: white;
|
color: white;
|
||||||
font-family: 'Rubik', sans-serif;
|
font-family: 'Rubik', sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
.intro h1 {
|
||||||
|
font-size: 4rem;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-size: 30px;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 1376px){
|
.intro p {
|
||||||
.workinprogress{
|
margin-top: 15px;
|
||||||
font-size: 20px;
|
font-size: 2rem;
|
||||||
}
|
font-weight: 400;
|
||||||
|
text-align: center;
|
||||||
|
max-width: 1200px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 1360px) {
|
@media screen and (max-width: 450px){
|
||||||
.header {
|
header {
|
||||||
justify-content: center;
|
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
margin-top: 80px;
|
height: 240px;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
.intro h1 {
|
||||||
.headContents{
|
font-size: 3rem;
|
||||||
text-align: center;
|
|
||||||
}
|
}
|
||||||
|
.intro p {
|
||||||
.header img{
|
font-size: 1.8rem;
|
||||||
margin-top: 60px;
|
|
||||||
width: 350px;
|
|
||||||
height: 350px;
|
|
||||||
padding-bottom: 60px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media only screen and (max-width: 990px){
|
|
||||||
.headContents p {
|
|
||||||
width: auto;
|
|
||||||
}
|
|
||||||
.workinprogress {
|
|
||||||
font-size: 15px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media only screen and (max-width: 720px) {
|
|
||||||
.workinprogress {
|
|
||||||
font-size: 10px;
|
|
||||||
}
|
|
||||||
.header {
|
|
||||||
height: auto;
|
|
||||||
margin-top: 100px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media only screen and (max-height: 720px) {
|
|
||||||
.header {
|
|
||||||
height: auto;
|
|
||||||
margin-top: 100px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media only screen and (max-width: 380px) {
|
|
||||||
.header img {
|
|
||||||
width: 100%;
|
|
||||||
height: auto;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in a new issue