updated packages, and added copy of random projects and devchallenges

This commit is contained in:
Robert McGovern 2022-09-04 12:57:08 +01:00
parent 7a6c0a5b66
commit ee451daa6b
6 changed files with 473 additions and 403 deletions

View File

@ -13,6 +13,12 @@ module.exports = function (eleventyConfig) {
eleventyConfig.addPassthroughCopy({ eleventyConfig.addPassthroughCopy({
"./projects/FrontendMentor": "FrontendMentor", "./projects/FrontendMentor": "FrontendMentor",
}); });
eleventyConfig.addPassthroughCopy({
"./projects/random": "others",
});
eleventyConfig.addPassthroughCopy({
"./projects/devchallenges": "devchallenges",
});
eleventyConfig.addPassthroughCopy({ eleventyConfig.addPassthroughCopy({
"./src/assets/faviconstuff": "/", "./src/assets/faviconstuff": "/",
}); });

841
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -20,6 +20,8 @@
"@11ty/eleventy": "^1.0.0" "@11ty/eleventy": "^1.0.0"
}, },
"dependencies": { "dependencies": {
"@fontsource/black-ops-one": "^4.5.7",
"@fontsource/source-sans-pro": "^4.5.10",
"open-props": "^1.3.9" "open-props": "^1.3.9"
} }
} }

View File

@ -1,8 +1,8 @@
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;600&display=swap'); @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;600&display=swap");
/* /*
* Challenge colors, font * Challenge colors, font
* *
* The font-size for 20px is to make rem clearer for increments * The font-size for 20px is to make rem clearer for increments
* *
* Mobile: 375px (375x1360) * Mobile: 375px (375x1360)
@ -10,7 +10,7 @@
*/ */
:root { :root {
font-family: 'Poppins', sans-serif; font-family: "Poppins", sans-serif;
font-size: 20px; font-size: 20px;
/* Primary Colors */ /* Primary Colors */
@ -77,7 +77,6 @@ body {
font-size: 16px; font-size: 16px;
} }
.middleSection { .middleSection {
margin-top: 2.5rem; margin-top: 2.5rem;
} }
@ -105,7 +104,6 @@ body {
margin-top: 1.8rem; margin-top: 1.8rem;
margin-left: auto; margin-left: auto;
width: 22%; width: 22%;
} }
.column1 { .column1 {
@ -137,7 +135,6 @@ body {
} */ } */
@media screen and (min-width: 1000px) { @media screen and (min-width: 1000px) {
.flexContainer { .flexContainer {
max-width: 1440px; max-width: 1440px;
} }
@ -152,7 +149,7 @@ body {
margin-right: auto; margin-right: auto;
font-size: 15px; font-size: 15px;
} }
.flexContainer { .flexContainer {
width: 78%; width: 78%;
} }
@ -172,12 +169,12 @@ body {
.card-image { .card-image {
margin-top: 2rem; margin-top: 2rem;
} }
.column { .column {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin: auto; margin: auto;
max-width: calc((100% /3) - 1.5rem); max-width: calc((100% / 3) - 1.5rem);
} }
.karma { .karma {

View File

@ -38,7 +38,7 @@ nav.active {
.nav-link[aria-current="page"] { .nav-link[aria-current="page"] {
text-decoration: underline wavy #f8c348 0.15rem; text-decoration: underline wavy #f8c348 0.15rem;
text-underline-offset: 0.5rem; text-underline-offset: 0.5rem;
} }
.nav-container { .nav-container {
display: flex; display: flex;

View File

@ -1,13 +1,15 @@
@import url("https://fonts.googleapis.com/css2?family=Black+Ops+One&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"); @import url("https://fonts.googleapis.com/css2?family=Black+Ops+One&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");
/* /* @import "@fontsource/black-ops-one/index.css";
@import "@fontsource/source-sans-pro";
*/
/*
* Hi, thank you for checking out my CSS. Layout is currently Rev 2. * Hi, thank you for checking out my CSS. Layout is currently Rev 2.
* Plan is to do more interesting ones as I feel more comfortable doing things. * Plan is to do more interesting ones as I feel more comfortable doing things.
* *
* For instance was thinking of swapping to a 3 column affair, with the title running * For instance was thinking of swapping to a 3 column affair, with the title running
* vertically in the first column. Second column is the projects, third the blurb * vertically in the first column. Second column is the projects, third the blurb
* *
* I'd like to add some animations and transitions, and a light and dark theme.
*/ */
:root { :root {
@ -126,8 +128,8 @@ body {
.card__content { .card__content {
z-index: 10; z-index: 10;
background: rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(100px);
-webkit-backdrop-filter: blur(100px); -webkit-backdrop-filter: blur(100px);
backdrop-filter: blur(100px);
align-self: end; align-self: end;
margin: 0.5rem; /*.5rem 2rem;*/ margin: 0.5rem; /*.5rem 2rem;*/
padding: 0.5rem; padding: 0.5rem;