2021-08-01 12:55:25 +01:00
|
|
|
/******** Imports *******/
|
2021-07-02 13:18:52 +01:00
|
|
|
@import "/node_modules/normalize.css/normalize.css";
|
2021-08-01 12:55:25 +01:00
|
|
|
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Share+Tech+Mono&family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap");
|
2021-09-01 20:37:31 +01:00
|
|
|
/*local imports*/
|
2021-09-13 18:03:20 +01:00
|
|
|
@import "templateStyles.css";
|
2021-09-01 20:37:31 +01:00
|
|
|
@import "nav.css";
|
|
|
|
@import "about.css";
|
2021-09-02 22:31:45 +01:00
|
|
|
@import "cv.css";
|
2021-09-13 18:03:20 +01:00
|
|
|
@import "projects.css";
|
2021-07-02 13:18:52 +01:00
|
|
|
|
2021-07-07 00:29:11 +01:00
|
|
|
/****** Root Style ******/
|
2021-07-31 11:49:38 +01:00
|
|
|
:root {
|
2021-08-01 12:55:25 +01:00
|
|
|
/* Colours */
|
2021-08-16 23:46:16 +01:00
|
|
|
--mainHue: 79;
|
|
|
|
--mainSat: 62%;
|
|
|
|
--mainLight: 51%;
|
|
|
|
--primaryDefault: hsla(var(--mainHue), var(--mainSat), var(--mainLight), 1);
|
|
|
|
--primaryHover: hsla(var(--mainHue), var(--mainSat), calc(var(--mainLight) - 10%), 1);
|
|
|
|
--timelineItemBrdr: hsla(var(--mainHue), var(--mainSat), calc(var(--mainLight) - 20%), 1);
|
|
|
|
--errorDefault: hsla(0, var(--mainSat), var(--mainLight), 1);
|
2021-07-07 00:29:11 +01:00
|
|
|
--grey: hsla(0, 0%, 39%, 1);
|
2021-09-13 18:03:20 +01:00
|
|
|
--notAvailableDefault: hsla(0, 0%, 39%, 1);
|
|
|
|
--notAvailableHover: hsla(0, 0%,32%, 1);
|
|
|
|
--mutedGrey: hsla(0, 0%, 78%, 1);
|
2021-07-31 11:49:38 +01:00
|
|
|
--mutedBlack: hsla(0, 0%, 0%, 0.25);
|
2021-08-16 23:46:16 +01:00
|
|
|
--navBack: hsla(0, 0%, 30%, 1);
|
2021-07-02 13:18:52 +01:00
|
|
|
|
2021-08-01 12:55:25 +01:00
|
|
|
/* Font Sizes */
|
2021-07-07 00:29:11 +01:00
|
|
|
--titleFS: 2.25rem;
|
|
|
|
--generalFS: 1.125rem;
|
|
|
|
--headingFS: 1.5rem;
|
|
|
|
}
|
|
|
|
|
2021-07-09 17:14:02 +01:00
|
|
|
|
2021-07-31 15:39:40 +01:00
|
|
|
|
2021-09-06 19:20:44 +01:00
|
|
|
/**** Media Queries *****/
|
2021-07-31 16:39:53 +01:00
|
|
|
|
2021-09-06 19:20:44 +01:00
|
|
|
@media screen and (max-width: 90em) {
|
2021-07-09 17:14:02 +01:00
|
|
|
|
2021-09-06 19:20:44 +01:00
|
|
|
/****** CV Styles *******/
|
2021-07-07 00:29:11 +01:00
|
|
|
|
2021-09-06 19:20:44 +01:00
|
|
|
section#curriculumvitae .cvGrid {
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2021-07-07 00:29:11 +01:00
|
|
|
|
2021-09-06 19:20:44 +01:00
|
|
|
section#curriculumvitae .cvGrid > div {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2021-07-19 20:00:26 +01:00
|
|
|
|
2021-09-06 19:20:44 +01:00
|
|
|
section#curriculumvitae .cvGrid > div:first-child {
|
|
|
|
padding-bottom: 2.5em;
|
|
|
|
margin-bottom: 2.5em;
|
|
|
|
border-bottom: 5px #FFFFFF solid;
|
|
|
|
}
|
2021-07-19 20:00:26 +01:00
|
|
|
|
2021-09-06 19:20:44 +01:00
|
|
|
section#curriculumvitae .cvGrid h2 {
|
|
|
|
margin-left: 5em;
|
|
|
|
}
|
2021-07-09 17:14:02 +01:00
|
|
|
|
2021-09-06 19:20:44 +01:00
|
|
|
section#curriculumvitae .cvGrid .timeline {
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
2021-07-09 17:14:02 +01:00
|
|
|
|
2021-07-19 20:00:26 +01:00
|
|
|
}
|
|
|
|
|
2021-09-06 19:20:44 +01:00
|
|
|
@media screen and (max-width: 75em) {
|
2021-07-09 17:14:02 +01:00
|
|
|
|
2021-09-06 19:20:44 +01:00
|
|
|
/*** Template Styles ****/
|
|
|
|
|
|
|
|
section#about, section#curriculumvitae h1 {
|
|
|
|
padding: 0 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*** Navigation Styles **/
|
|
|
|
|
|
|
|
/** Default Nav Styles **/
|
|
|
|
|
|
|
|
nav {
|
|
|
|
display: block;
|
|
|
|
height: 50px;
|
|
|
|
width: 100%;
|
|
|
|
background-color: var(--navBack);
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav a h1{
|
|
|
|
margin-left: 1ch;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav .nav-btn {
|
|
|
|
display: inline-block;
|
|
|
|
position: absolute;
|
|
|
|
right: 75px;
|
|
|
|
top: -360px;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav ul {
|
|
|
|
position: fixed;
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
background-color: #333;
|
|
|
|
transition: all 0.4s ease-in;
|
|
|
|
overflow-y: hidden;
|
|
|
|
padding-left: 0;
|
|
|
|
margin-top: 7px;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav ul li a {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
transform: translateX(-30px);
|
|
|
|
transition: all 0.4s ease-in;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-btn label {
|
|
|
|
display: inline-block;
|
|
|
|
cursor: pointer;
|
|
|
|
width: 60px;
|
|
|
|
height: 50px;
|
|
|
|
position: fixed;
|
|
|
|
-webkit-transform: rotate(0deg);
|
|
|
|
-moz-transform: rotate(0deg);
|
|
|
|
-o-transform: rotate(0deg);
|
|
|
|
transform: rotate(0deg);
|
|
|
|
-webkit-transition: .5s ease-in;
|
|
|
|
-moz-transition: .5s ease-in;
|
|
|
|
-o-transition: .5s ease-in;
|
|
|
|
transition: .5s ease-in;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-btn label span {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
height: 5px;
|
|
|
|
width: 100%;
|
|
|
|
background-color: #FFFFFF;
|
|
|
|
opacity: 1;
|
|
|
|
right: 0;
|
|
|
|
top: 20px;
|
|
|
|
-webkit-transform: rotate(0deg);
|
|
|
|
-moz-transform: rotate(0deg);
|
|
|
|
-o-transform: rotate(0deg);
|
|
|
|
transform: rotate(0deg);
|
|
|
|
-webkit-transition: .25s ease-in;
|
|
|
|
-moz-transition: .25s ease-in;
|
|
|
|
-o-transition: .25s ease-in;
|
|
|
|
transition: .25s ease-in;
|
|
|
|
}
|
|
|
|
|
|
|
|
/** Burger Not Clicked **/
|
|
|
|
|
|
|
|
nav #nav-check:not(:checked) ~ ul{
|
|
|
|
height: auto;
|
|
|
|
max-height: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav #nav-check:not(:checked) ~ .nav-btn label span:nth-child(1) {
|
|
|
|
top: 8px;
|
|
|
|
-webkit-transform-origin: left center;
|
|
|
|
-moz-transform-origin: left center;
|
|
|
|
-o-transform-origin: left center;
|
|
|
|
transform-origin: left center;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav #nav-check:not(:checked) ~ .nav-btn label span:nth-child(2) {
|
|
|
|
top: 23px;
|
|
|
|
-webkit-transform-origin: left center;
|
|
|
|
-moz-transform-origin: left center;
|
|
|
|
-o-transform-origin: left center;
|
|
|
|
transform-origin: left center;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav #nav-check:not(:checked) ~ .nav-btn label span:nth-child(3) {
|
|
|
|
top: 38px;
|
|
|
|
-webkit-transform-origin: left center;
|
|
|
|
-moz-transform-origin: left center;
|
|
|
|
-o-transform-origin: left center;
|
|
|
|
transform-origin: left center;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav .nav-btn label:hover, nav #nav-check:checked ~ .nav-btn label {
|
|
|
|
background-color: rgba(-1, 0, 0, 0.3);
|
|
|
|
}
|
2021-07-09 17:14:02 +01:00
|
|
|
|
2021-09-06 19:20:44 +01:00
|
|
|
/**** Burger Clicked ****/
|
|
|
|
|
|
|
|
nav #nav-check:checked ~ ul{
|
|
|
|
max-height: 50vh;
|
|
|
|
overflow-y: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav #nav-check:checked ~ ul li a {
|
|
|
|
opacity: 1;
|
|
|
|
transform: translateX(0px);
|
|
|
|
}
|
|
|
|
|
|
|
|
nav #nav-check:checked ~ ul li:nth-child(1) a {
|
|
|
|
transition-delay: 0.15s;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav #nav-check:checked ~ ul li:nth-child(2) a {
|
|
|
|
transition-delay: 0.25s;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav #nav-check:checked ~ ul li:nth-child(3) a {
|
|
|
|
transition-delay: 0.35s;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav #nav-check:checked ~ ul li:nth-child(4) a {
|
|
|
|
transition-delay: 0.45s;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav #nav-check:checked ~ ul li:nth-child(5) a {
|
|
|
|
transition-delay: 0.55s;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav #nav-check:checked ~ .nav-btn label span:first-child {
|
|
|
|
-webkit-transform: rotate(45deg);
|
|
|
|
-moz-transform: rotate(45deg);
|
|
|
|
-o-transform: rotate(45deg);
|
|
|
|
transform: rotate(45deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
nav #nav-check:checked ~ .nav-btn label span:nth-child(2){
|
|
|
|
width: 0;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav #nav-check:checked ~ .nav-btn label span:last-child {
|
|
|
|
-webkit-transform: rotate(-45deg);
|
|
|
|
-moz-transform: rotate(-45deg);
|
|
|
|
-o-transform: rotate(-45deg);
|
|
|
|
transform: rotate(-45deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
/***** About Styles *****/
|
|
|
|
|
|
|
|
section#about div {
|
|
|
|
padding: 0.1em 2.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/****** CV Styles *******/
|
|
|
|
|
|
|
|
section#curriculumvitae .cvGrid {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2021-07-09 17:14:02 +01:00
|
|
|
}
|
|
|
|
|
2021-09-06 19:20:44 +01:00
|
|
|
@media screen and (max-width: 55em) {
|
|
|
|
|
|
|
|
/****** CV Styles *******/
|
|
|
|
|
|
|
|
section#curriculumvitae .cvGrid .timeline, section#curriculumvitae .cvGrid .timeline#work {
|
|
|
|
margin: 0 auto;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
section#curriculumvitae .timeline:before {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
section#curriculumvitae .timelineItem, section#curriculumvitae .timelineItem:nth-child(2n) {
|
|
|
|
width: 95%;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
section#curriculumvitae .timelineItem:before {
|
|
|
|
right: unset;
|
|
|
|
left: unset;
|
|
|
|
border:none
|
|
|
|
}
|
|
|
|
|
2021-07-19 20:00:26 +01:00
|
|
|
}
|
|
|
|
|
2021-09-06 19:20:44 +01:00
|
|
|
@media screen and (max-width: 31em) {
|
|
|
|
|
|
|
|
/*** Template Styles ****/
|
|
|
|
|
|
|
|
section#about, section#curriculumvitae h1 {
|
|
|
|
padding: 0 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*** Navigation Styles **/
|
|
|
|
|
|
|
|
header div h1 {
|
|
|
|
text-align: center;
|
|
|
|
height: 5.125rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***** About Styles *****/
|
|
|
|
|
|
|
|
section#about div {
|
|
|
|
padding: 0.1em 1em;
|
|
|
|
}
|
|
|
|
|
2021-08-16 23:46:16 +01:00
|
|
|
}
|