Initial commit
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// WIDTHS
|
||||
$width-left-col: 56rem; // 70%
|
||||
$page-width: 80rem;
|
||||
$width-right-col: $page-width - $width-left-col;
|
||||
|
||||
// ANIMATIONS
|
||||
$cubic: 0.63, 0.21, 0.76, 1.58;
|
||||
@@ -0,0 +1,49 @@
|
||||
*,
|
||||
*::after,
|
||||
*::before {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: inherit;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
background-color: $color-background;
|
||||
|
||||
@media print {
|
||||
background-color: $color-white;
|
||||
}
|
||||
}
|
||||
|
||||
.content {
|
||||
// A4 paper
|
||||
width: $page-width;
|
||||
min-height: paper_height($page-width);
|
||||
background-color: $color-white;
|
||||
|
||||
@media screen and (min-width: 60rem) {
|
||||
margin: 6rem 0;
|
||||
@include shadow(1);
|
||||
@include hz-center;
|
||||
}
|
||||
@media print {
|
||||
margin: 0;
|
||||
height: paper_height($page-width) * $pages;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
@media print {
|
||||
@page {
|
||||
margin: 0;
|
||||
size: A4;
|
||||
}
|
||||
}
|
||||
|
||||
::selection {
|
||||
color: $color-white;
|
||||
background-color: darken(rgba($color-primary, 0.6), 10%);
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
@function paper_height($width) {
|
||||
@return $width / 0.70695553;
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
.content {
|
||||
position: absolute;
|
||||
overflow: hidden;
|
||||
|
||||
&__left {
|
||||
float: left;
|
||||
width: $width-left-col;
|
||||
height: 100%;
|
||||
padding: 3rem 4rem;
|
||||
|
||||
@media screen {
|
||||
&::after {
|
||||
content: '2020 © by Inês Almeida | ines-almeida.com';
|
||||
height: 4rem;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
bottom: 0.5rem;
|
||||
color: darken($color-white, 10%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__right {
|
||||
position: absolute;
|
||||
float: right;
|
||||
width: $width-right-col;
|
||||
background-color: $color-right-col;
|
||||
height: 100%;
|
||||
padding: 2rem 3rem;
|
||||
right: 1rem;
|
||||
|
||||
@include shadow(0.5);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
@mixin shadow($distance) {
|
||||
-webkit-box-shadow: $distance * 1rem $distance * 2rem $distance * 3rem rgba($color-grey-dark, $distance * 0.3);
|
||||
-moz-box-shadow: $distance * 1rem $distance * 2rem $distance * 3rem rgba($color-grey-dark, $distance * 0.3);
|
||||
box-shadow: $distance * 1rem $distance * 2rem $distance * 3rem rgba($color-grey-dark, $distance * 0.3);
|
||||
}
|
||||
|
||||
@mixin hz-center {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
@mixin vt-center {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
@mixin all-center {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translateX(-50%) translateY(-50%);
|
||||
}
|
||||
|
||||
@mixin avoid-break {
|
||||
@media print {
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
body {
|
||||
font-family: 'Roboto', sans-serif;
|
||||
font-weight: 300;
|
||||
line-height: 1.7;
|
||||
font-size: 1.12rem;
|
||||
color: $color-grey-dark;
|
||||
}
|
||||
|
||||
.mainHeading {
|
||||
text-transform: uppercase;
|
||||
font-size: 5rem;
|
||||
color: $color-secondary;
|
||||
|
||||
& span {
|
||||
color: $color-primary;
|
||||
}
|
||||
}
|
||||
|
||||
.section__title {
|
||||
font-size: 2.1rem;
|
||||
color: $color-grey-dark;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2 {
|
||||
text-transform: uppercase;
|
||||
font-family: 'Oswald', sans-serif;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
.pageNotFound {
|
||||
padding-top: 8rem;
|
||||
@include hz-center;
|
||||
|
||||
&__text {
|
||||
padding-top: 3rem;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
.avatar {
|
||||
width: 100%;
|
||||
height: $width-right-col - 6rem;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
|
||||
&__container {
|
||||
@include hz-center;
|
||||
width: 100%;
|
||||
clip-path: circle(50% at 50% 56%);
|
||||
height: $width-right-col - 8rem;
|
||||
text-align: center;
|
||||
transition: all 0.3s cubic-bezier($cubic);
|
||||
|
||||
&:hover {
|
||||
width: 110%;
|
||||
}
|
||||
}
|
||||
|
||||
&__img {
|
||||
object-fit: cover;
|
||||
width: 110%;
|
||||
transition: all 0.3s cubic-bezier($cubic);
|
||||
@include all-center;
|
||||
|
||||
&:hover {
|
||||
width: 105%;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
.contact {
|
||||
line-height: 2rem;
|
||||
|
||||
&__item {
|
||||
position: relative;
|
||||
font-size: 1rem;
|
||||
|
||||
& > i {
|
||||
background-color: $color-primary;
|
||||
color: $color-primary-text;
|
||||
font-size: 1rem;
|
||||
text-align: center;
|
||||
border-radius: 50%;
|
||||
padding-top: 0.5rem;
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
margin-right: 0.5rem;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
& > span {
|
||||
@include vt-center;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
.education {
|
||||
&__item {
|
||||
@include avoid-break;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,88 @@
|
||||
.experience {
|
||||
&__item {
|
||||
display: block;
|
||||
@include avoid-break;
|
||||
&:not(:first-child) {
|
||||
padding-top: 1.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
&__header,
|
||||
&__subheader {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 2.4rem;
|
||||
}
|
||||
|
||||
&__job {
|
||||
position: relative;
|
||||
transition: transform 0.2s cubic-bezier($cubic);
|
||||
|
||||
&:hover {
|
||||
transform: translateX(0.5rem);
|
||||
}
|
||||
}
|
||||
|
||||
&__company,
|
||||
&__position {
|
||||
text-align: left;
|
||||
width: 70%;
|
||||
float: left;
|
||||
}
|
||||
|
||||
&__company {
|
||||
color: $color-grey-dark;
|
||||
}
|
||||
|
||||
&__position {
|
||||
text-transform: uppercase;
|
||||
font-size: 1.3rem;
|
||||
color: $color-grey-dark;
|
||||
}
|
||||
|
||||
&__date,
|
||||
&__place {
|
||||
float: right;
|
||||
text-align: right;
|
||||
width: 30%;
|
||||
color: $color-secondary;
|
||||
}
|
||||
|
||||
&__date {
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
&__place {
|
||||
&::before {
|
||||
font-family: 'Material Icons';
|
||||
color: $color-primary;
|
||||
font-size: 1.4rem;
|
||||
content: 'place';
|
||||
display: inline-block;
|
||||
padding-right: 3px;
|
||||
vertical-align: middle;
|
||||
font-weight: 900;
|
||||
}
|
||||
}
|
||||
|
||||
&__bullet {
|
||||
list-style-position: inside;
|
||||
}
|
||||
|
||||
&__badges {
|
||||
display: block;
|
||||
text-align: right;
|
||||
margin-top: 0.5rem;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
&__badge {
|
||||
font-size: 0.9rem;
|
||||
font-weight: 400;
|
||||
display: inline-block;
|
||||
background-color: $color-primary;
|
||||
color: $color-primary-text;
|
||||
border-radius: 1rem;
|
||||
padding: 0.1rem 0.6rem;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
.interests {
|
||||
display: block;
|
||||
-moz-column-count: 2;
|
||||
column-count: 2;
|
||||
width: 100%;
|
||||
text-align: right;
|
||||
@include avoid-break;
|
||||
|
||||
&__item:nth-child(n+4) {
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
.language {
|
||||
&__item {
|
||||
display: table;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&__name,
|
||||
&__level {
|
||||
display: table-cell;
|
||||
width: 50%;
|
||||
}
|
||||
&__level {
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
.section {
|
||||
display: block;
|
||||
margin-bottom: 2rem;
|
||||
|
||||
&__heading {
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
&__title {
|
||||
position: relative;
|
||||
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
border-top: 1px solid;
|
||||
border-bottom: 1px solid;
|
||||
border-color: $color-secondary;
|
||||
width: 50rem;
|
||||
height: 4px;
|
||||
margin-left: 1.5rem;
|
||||
margin-top: 1.5rem;
|
||||
transition: all 0.5s ease-in-out;
|
||||
}
|
||||
|
||||
&:hover::after {
|
||||
border-color: $color-primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
.sideSection {
|
||||
display: block;
|
||||
margin-bottom: 3rem;
|
||||
@include avoid-break;
|
||||
|
||||
&__heading {
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
text-align: center;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
&__title {
|
||||
position: relative;
|
||||
|
||||
&::after,
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
border-top: 1px solid $color-secondary;
|
||||
border-bottom: 1px solid $color-secondary;
|
||||
width: 10rem;
|
||||
height: 4px;
|
||||
margin-top: 1.1rem;
|
||||
}
|
||||
|
||||
&::after {
|
||||
margin-left: 1rem;
|
||||
}
|
||||
|
||||
&::before {
|
||||
margin-left: -11rem;
|
||||
}
|
||||
}
|
||||
|
||||
& li {
|
||||
list-style: none;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
.skills {
|
||||
&__group {
|
||||
& span {
|
||||
font-weight: 700;
|
||||
display: inline-block;
|
||||
|
||||
&::after{
|
||||
content: ":"
|
||||
}
|
||||
|
||||
&:hover ~ li {
|
||||
background-color: $color-primary;
|
||||
color: $color-white;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
& li{
|
||||
display: inline-block;
|
||||
font-weight: 400;
|
||||
transition: all 0.2s ease-in-out;
|
||||
padding: 0 1px;
|
||||
border-radius: 2px;
|
||||
|
||||
&:not(:last-child)::after{
|
||||
content: ", "
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-color: $color-primary;
|
||||
color: $color-white;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
|
||||
// HUGO variables
|
||||
$color-primary: {{ .Site.Params.colorPrimary | default "#e3bfb8"}} !default;
|
||||
$color-primary-text: {{ .Site.Params.colorPrimaryText | default "#fff"}} !default;
|
||||
$color-background: {{ .Site.Params.colorPageBackground | default "#ddd" }} !default;
|
||||
$color-right-col: {{ .Site.Params.colorRightColumnBackground | default "#f5f5f5" }} !default;
|
||||
$color-white: {{ .Site.Params.colorLight | default "#fff"}} !default;
|
||||
$color-secondary: {{ .Site.Params.colorSecondary | default "#aaa"}} !default;
|
||||
$color-grey-dark: {{ .Site.Params.colorDark | default "#666"}} !default;
|
||||
$pages: {{ .Site.Params.pages | default 1}} !default;
|
||||
|
||||
@import "abstract";
|
||||
@import "functions";
|
||||
@import "mixins";
|
||||
@import "layout";
|
||||
@import "base";
|
||||
@import "typography";
|
||||
|
||||
@import "components/section";
|
||||
@import "components/side_section";
|
||||
@import "components/experience";
|
||||
@import "components/education";
|
||||
@import "components/contact";
|
||||
@import "components/avatar";
|
||||
@import "components/skills";
|
||||
@import "components/languages";
|
||||
@import "components/interests";
|
||||
|
||||
@import "components/404";
|
||||
Reference in New Issue
Block a user