Update some style
This commit is contained in:
@@ -30,7 +30,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<hr/>
|
<hr/>
|
||||||
<div class="introduction-text">
|
<div class="introduction-text">
|
||||||
<h2>Hello there!</h2>
|
|
||||||
<section>
|
<section>
|
||||||
<h3><span class="accentuated">About</span> me</h3>
|
<h3><span class="accentuated">About</span> me</h3>
|
||||||
<p>
|
<p>
|
||||||
@@ -136,7 +135,7 @@
|
|||||||
|
|
||||||
const cards = document.querySelectorAll('.introduction-box');
|
const cards = document.querySelectorAll('.introduction-box');
|
||||||
|
|
||||||
cards.forEach(card => { new CardTilter({card : card, tilt : 3, perspective : 1000}) })
|
//cards.forEach(card => { new CardTilter({card : card, tilt : 3, perspective : 1000}) })
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@@ -4,19 +4,24 @@
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
width: 45%;
|
width: 45%;
|
||||||
height: 100%;
|
height: 95%;
|
||||||
|
max-height: 95%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.introduction-box {
|
.introduction-box {
|
||||||
|
height: 100%;
|
||||||
|
|
||||||
min-width: 350px;
|
min-width: 350px;
|
||||||
min-height: 350px;
|
min-height: 350px;
|
||||||
padding: 25px 35px 35px 35px;
|
padding: 25px 35px 35px 35px;
|
||||||
|
|
||||||
|
border: 1px solid var(--background-color);
|
||||||
|
|
||||||
background: white;
|
background: white;
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
|
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
|
||||||
|
|
||||||
overflow: scroll;
|
overflow: scroll
|
||||||
}
|
}
|
||||||
|
|
||||||
.introduction-box hr {
|
.introduction-box hr {
|
||||||
@@ -46,14 +51,14 @@
|
|||||||
|
|
||||||
.profile-picture
|
.profile-picture
|
||||||
{
|
{
|
||||||
width: 100px;
|
width: 85px;
|
||||||
aspect-ratio: 1/1;
|
aspect-ratio: 1/1;
|
||||||
border: solid 1px rgba(0, 0, 0, 0.3);
|
border: solid 1px rgba(0, 0, 0, 0.3);
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.introduction-text {
|
.introduction-text {
|
||||||
font-size: 1.1rem;
|
font-size: 1.05rem;
|
||||||
line-height: 1.25rem;
|
line-height: 1.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -62,7 +67,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.introduction-text > section {
|
.introduction-text > section {
|
||||||
margin-top: 2rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.typer::after {
|
.typer::after {
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
@media (max-width: 860px) {
|
@media (max-width: 860px) {
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
@@ -18,6 +19,11 @@
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.profile-picture
|
||||||
|
{
|
||||||
|
width: 85px;
|
||||||
|
}
|
||||||
|
|
||||||
.projects
|
.projects
|
||||||
{
|
{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
:root {
|
:root {
|
||||||
--primary-color: #5f9a13;
|
--background-color : #1E331A;
|
||||||
|
--accent-color: #5f9a13;
|
||||||
|
--action-color : #e01a4f;
|
||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-scrollbar {
|
::-webkit-scrollbar {
|
||||||
@@ -47,6 +49,8 @@ main {
|
|||||||
.container {
|
.container {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -61,6 +65,11 @@ a {
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a:hover
|
||||||
|
{
|
||||||
|
color: var(--action-color);
|
||||||
|
}
|
||||||
|
|
||||||
.logo
|
.logo
|
||||||
{
|
{
|
||||||
width: 25px;
|
width: 25px;
|
||||||
@@ -68,5 +77,5 @@ a {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.accentuated {
|
.accentuated {
|
||||||
color: var(--primary-color);
|
color: var(--accent-color);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user