Skip to content

Commit

Permalink
feat: add HTML cv
Browse files Browse the repository at this point in the history
  • Loading branch information
moebiusmania committed Nov 3, 2024
1 parent 4a13ec4 commit d06aafc
Show file tree
Hide file tree
Showing 2 changed files with 495 additions and 0 deletions.
154 changes: 154 additions & 0 deletions public/cv/cv.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@

main {
font-family: "Calibri", sans-serif;
color: #333;
font-size: 16px;
max-width: 800px;
margin: 0 auto;
padding: 0 1em 4em;

& h1,
& h2,
& h3 {
font-family: "Rockwell", sans-serif;
}

& h2 {
font-size: 2.5em;
margin-bottom: 0.2em;
}

& a {
color: rgb(94, 172, 217);
text-decoration: none;

&:hover {
text-decoration: underline;
}
}

& hr {
border: 0;
border-top: 1px solid #ddd;
margin: 2em 0;
}

& section {
& p {
line-height: 1.4;
}

& ul {
& li {
line-height: 1.5;
}
}
}
}

header {
& h1 {
font-size: 2.8em;
line-height: 1;
}

& ul {
list-style-type: none;
padding: 0;

& li {
line-height: 1.3;
}
}
}

figure {
margin: 0;

& img {
display: block;
width: 100%;
height: auto;
min-height: 300px;
background-color: #ddd;
}

& figcaption {
line-height: 1.4;
margin: 1em 0;
}
}

section#skills {
& ul {
list-style-position: inside;
padding: 0;
margin: 0;

& li {
line-height: 1.5;

}
}
}

section#experience,
section#education {
& article {
margin: 1.5em 0 2.5em;

& h3 {
margin: 0.3em 0;
font-size: 1.8em;

& span {
color:rgb(94, 172, 217);
}
}

& ul {
& li {
line-height: 1.5;
}
}

& p {
margin: 0.6em 0;
line-height: 1.4;
}
}
}

/* media queries for above 800px */
@media (min-width: 800px) {
main {
padding-left: 0;
padding-right: 0;

& header {
display: flex;
justify-content: space-between;
align-items: center;

& h1 {
width: 50%;
font-size: 4.3em;
}

& ul{
text-align: right;
}
}

& section#skills {
& div {
display: flex;
gap: 0.5em;
}

& ul {
width: 50%;
}
}
}
}
Loading

0 comments on commit d06aafc

Please sign in to comment.