mirror of
https://github.com/Floriansylvain/portfolio.git
synced 2026-08-19 19:53:18 +02:00
✨ Added main sections, visual improvements
This commit is contained in:
+94
-28
@@ -10,18 +10,18 @@
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
|
||||
scroll-behavior: smooth;
|
||||
|
||||
color: #fff;
|
||||
font-family: Manrope;
|
||||
font-variation-settings: "wght" 600;
|
||||
}
|
||||
|
||||
body {
|
||||
width: 100%;
|
||||
height: 2000px;
|
||||
margin: 0;
|
||||
|
||||
color: #fff;
|
||||
font-family: Manrope;
|
||||
font-variation-settings: 'wght' 500;
|
||||
|
||||
background-color: #101010;
|
||||
}
|
||||
|
||||
@@ -73,13 +73,26 @@ nav a:nth-child(0n+5) {
|
||||
transition: transform 200ms, opacity 200ms, letter-spacing 200ms;
|
||||
}
|
||||
|
||||
.slide-elements a {
|
||||
opacity: 100%;
|
||||
transform: translateX(0);
|
||||
h2 {
|
||||
letter-spacing: 2px;
|
||||
padding-bottom: 10px;
|
||||
border-bottom: 2px solid #101010;
|
||||
transition: transform 200ms, text-shadow 200ms;
|
||||
}
|
||||
|
||||
h2:first-letter {
|
||||
color: #3AC414;
|
||||
font-variation-settings: 'wght' 600;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.slide-elements a {
|
||||
opacity: 100%;
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
||||
.hamburger {
|
||||
@@ -138,7 +151,7 @@ a {
|
||||
}
|
||||
|
||||
.slide-in {
|
||||
transform: translateY(0);
|
||||
transform: translateY(0) translateX(0) !important;
|
||||
}
|
||||
|
||||
.main-title {
|
||||
@@ -157,11 +170,10 @@ a {
|
||||
text-align: center;
|
||||
|
||||
font-family: Manrope;
|
||||
font-variation-settings: "wght" 600;
|
||||
font-variation-settings: 'wght' 500;
|
||||
font-size: 2em;
|
||||
letter-spacing: 0.1em;
|
||||
color: #fff;
|
||||
text-shadow: #ffff 0 0 0;
|
||||
}
|
||||
|
||||
.main-title h1 {
|
||||
@@ -174,22 +186,9 @@ a {
|
||||
text-shadow: #253622 10px 10px 10px;
|
||||
}
|
||||
|
||||
#content {
|
||||
width: 80%;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
#content img {
|
||||
width: 100%;
|
||||
border-radius: 0.5em;
|
||||
}
|
||||
|
||||
#content > div {
|
||||
padding-top: 55px;
|
||||
}
|
||||
|
||||
#content > div:last-child {
|
||||
margin-bottom: 100vh;
|
||||
h2:hover {
|
||||
transform: translateX(-2px) translateY(-2px);
|
||||
text-shadow: #253622 3px 3px 5px;
|
||||
}
|
||||
|
||||
.to-fade {
|
||||
@@ -199,4 +198,71 @@ a {
|
||||
|
||||
.fade-in {
|
||||
opacity: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
#content > div {
|
||||
padding: 55px 10% 55px 10%;
|
||||
}
|
||||
|
||||
#content > div:nth-child(2n-1) {
|
||||
color: #101010;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
#content > div:nth-child(2n) > h2 {
|
||||
border-bottom: 2px solid #fff;
|
||||
}
|
||||
|
||||
#content img {
|
||||
width: 300px;
|
||||
height: 300px;
|
||||
|
||||
margin: 5px 0 5px 0;
|
||||
|
||||
box-shadow: #0002 0 0 25px;
|
||||
|
||||
transform: scale(0.95) rotate(0);
|
||||
transition: transform 1s, box-shadow 200ms;
|
||||
}
|
||||
|
||||
.grow-in {
|
||||
transform: scale(1) rotate(2deg) !important;
|
||||
}
|
||||
|
||||
.block {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.block > p {
|
||||
margin: 0;
|
||||
padding: 25px 3px 0 3px;
|
||||
}
|
||||
|
||||
#education > div, #experience > div {
|
||||
transform: translateX(-150%);
|
||||
transition: transform 200ms;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
#education h3, #experience h3 {
|
||||
font-variation-settings: 'wght' 600;
|
||||
}
|
||||
|
||||
#education > div:last-child, #experience > div:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#education p + p {
|
||||
font-size: smaller;
|
||||
}
|
||||
|
||||
.degree {
|
||||
font-variation-settings: 'wght' 500;
|
||||
}
|
||||
|
||||
.time-range {
|
||||
font-size: smaller;
|
||||
font-variation-settings: 'wght' 300;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user