Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.exports = {
printWidth: 120,
trailingComma: 'none',
semi: true,
singleQuote: true,
endOfLine: 'auto',
bracketSpacing: true,
bracketSameLine: true,
arrowParens: 'avoid',
singleAttributePerLine: true
};
48 changes: 21 additions & 27 deletions assets/css/acordeon.css → assets/css/acordeons.css
Original file line number Diff line number Diff line change
@@ -1,67 +1,61 @@
.acordeon {
.acordeons {
display: flex;
flex-direction: column;
align-items: center;
margin: 3rem auto;
gap: 2rem;
}

.acordeon {
width: 100%;
margin: 1rem 0;
border: 1px solid #fff;
border-radius: 1rem;
transition: .25s;
transition: all .2s;
}

.acordeon.open,
.acordeon:hover {
background-color: #55569E;
border-color: #55569E;
}

.acordeon .trigger {
.trigger {
font-size: 1.5rem;
font-weight: bold;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
font-size: 1.5rem;
font-weight: 700;
width: 100%;
padding: 1rem 2rem;
background-color: transparent;
color: #fff;
border: none;
}

.acordeon .trigger h2 {
margin: 0;
font-size: 1.5rem;
text-align: start;
}

.acordeon .trigger:hover {
cursor: pointer;
}

.acordeon .trigger::after {
.trigger::after {
content: '';
display: inline-block;
width: 1.5rem;
height: 1.5rem;
background-image: url('../img/icons/open.svg');
background-repeat: no-repeat;
background-size: contain;
background-image: url('../img/icons/arrow-top.svg');
transition: .25s;
background-position: center;
width: 1.5rem;
height: 1rem;
transition: transform .4s;
}

.acordeon.open .trigger::after {
transform: rotate(180deg);
}

.acordeon .content {
.content {
overflow: hidden;
height: 0;
opacity: 0;
transition: opacity .25s ease-in-out;
transition: height 0ms 400ms, opacity 400ms 0ms;
}

.acordeon.open .content {
display: block;
padding: 0 1rem 1rem 2rem;
height: auto;
opacity: 1;
transition: height 0ms 0ms, opacity 600ms 0ms;
}
28 changes: 0 additions & 28 deletions assets/css/experience.css

This file was deleted.

53 changes: 53 additions & 0 deletions assets/css/experiencies.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
.experiencies {
display: flex;
flex-direction: column;
padding-left: 1rem;
gap: 1rem;
}

.experience {
padding: 1rem;
display: flex;
flex-direction: column;
gap: 1rem;
}

.experience p {
display: flex;
align-items: flex-end;
}

.company::before {
content: '';
background-image: url('../img/icons/company.png');
background-repeat: no-repeat;
background-size: contain;
background-position: center;
width: 1.5rem;
height: 1.5rem;
display: inline-block;
margin-right: .5rem;
}

.time {
color: #ccc;
}

.time::before {
content: '';
background-image: url('../img/icons/experience.svg');
background-repeat: no-repeat;
background-size: contain;
background-position: center;
width: 1.5rem;
height: 1.5rem;
display: inline-block;
margin-right: .5rem;
}

@media screen and (max-width: 400px) {
.experiencies {
padding: 1rem 0.25rem;
margin: 0;
}
}
9 changes: 3 additions & 6 deletions assets/css/footer.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
footer {
width: 100%;
display: flex;
flex-direction: row;
justify-content: flex-end;
align-items: center;
padding: 1rem;
}

footer img {
max-width: 100px;
footer a img {
width: 100px;
height: 100px;
}
82 changes: 54 additions & 28 deletions assets/css/global.css
Original file line number Diff line number Diff line change
@@ -1,67 +1,93 @@
* {
box-sizing: border-box;
font-family: 'Open Sans', sans-serif;
outline: 0;
list-style: none;
margin: 0;
padding: 0;
}

@font-face {
font-family: 'Neue Machina';
src: url('../fonts/neue-machina-regular.otf');
src: url('../fonts/neue-machina/neue-machina-regular.otf');
}

body {
font-family: 'Open Sans', sans-serif;
border-radius: 46px;
background-color: #000;
/* background: linear-gradient(140deg, rgba(124, 12, 123, 1) 0%, rgba(16, 47, 73, 1) 10%, rgba(0, 0, 0, 1) 35%, rgba(0, 0, 0, 1) 65%, rgba(16, 47, 73, 1) 80%, rgba(124, 12, 123, 1) 90%);
background-repeat: no-repeat; */
color: #fff;
}

a {
color: #fff;
text-decoration: none;
}

a:hover {
text-decoration: underline;
}

.main {
.container {
margin: 1rem;
padding: 1rem;
padding: 2rem;
border: 1px solid #fff;
border-radius: 1rem;
max-width: 1000px;
}

.main::before,
.main::after {
.container::before {
content: '';
background-image: url('../img/background.svg');
background-image: url('../img/background/top.svg');
background-repeat: no-repeat;
background-size: contain;
display: inline-block;
position: fixed;
top: 0;
left: 0;
width: 140vw;
height: 100vh;
width: 50vh;
height: 50vh;
z-index: -1;
}

.main::after {
.container::after {
content: '';
top: auto;
left: auto;
background-image: url('../img/background/bottom.svg');
background-repeat: no-repeat;
background-size: contain;
display: inline-block;
position: fixed;
bottom: 0;
right: 0;
width: 50vh;
height: 50vh;
z-index: -1;
transform: rotate(180deg);
}

a {
text-decoration: none;
color: #fff;
}

@media only screen and (min-width: 768px) {
.main {
max-width: 1024px;
margin: 1rem auto;
h3 {
display: flex;
align-items: center;
}

@media screen and (max-width: 480px) {
.container {
padding: .25rem;
margin: 0;
}
}

@media screen and (min-width: 768px) {
.container::before {
width: 100vh;
height: 100vh;
}

.main::before,
.main::after {
width: 70vw;
.container::after {
width: 100vh;
height: 100vh;
}
}

@media screen and (min-width: 1000px) {
.container {
margin: 1rem auto;
}
}
Loading