Styling complete

This commit is contained in:
Daniel Kluge 2022-10-27 09:01:52 +02:00
parent 7d958d67dc
commit c871d962b5
3 changed files with 38 additions and 9 deletions

View File

@ -80,11 +80,16 @@ export const skills = (sizeCardIcons?: string, sizeBadgeIcons?: string): SkillSe
icon: <Icon path={mdiLanguageCsharp} size={sizeCardIcons} />, icon: <Icon path={mdiLanguageCsharp} size={sizeCardIcons} />,
pct: 40 pct: 40
}], }],
/*colors: { colors: {
background: "#690000", background: "#C3A3F7",
bars: "#fff", bars: "#8771AB",
heading: "#fff" heading: "#55476B",
}*/ useDarkColor: true,
badges: {
background: "#55476B",
useDarkColor: false,
}
}
}, { }, {
title: "Web Technologies", title: "Web Technologies",
skillBars: [{ skillBars: [{
@ -164,7 +169,17 @@ export const skills = (sizeCardIcons?: string, sizeBadgeIcons?: string): SkillSe
}, { }, {
name: "Android", name: "Android",
icon: <Android size={sizeBadgeIcons} /> icon: <Android size={sizeBadgeIcons} />
}] }],
colors: {
background: "#4DEB8C",
bars: "#38AB66",
heading: "#236B40",
useDarkColor: true,
badges: {
background: "#236B40",
useDarkColor: false
}
}
}, { }, {
title: "Languages", title: "Languages",
skillBars: [{ skillBars: [{
@ -180,7 +195,16 @@ export const skills = (sizeCardIcons?: string, sizeBadgeIcons?: string): SkillSe
icon: <Icon path={mdiTranslateVariant} size={sizeCardIcons} />, icon: <Icon path={mdiTranslateVariant} size={sizeCardIcons} />,
pct: 30 pct: 30
}], }],
additional: [] colors: {
background: "#EB783F",
bars: "#AB582E",
heading: "#6B371D",
useDarkColor: true,
badges: {
background: "#6B371D",
useDarkColor: false,
}
}
}] }]
}; };
}; };

View File

@ -1,6 +1,5 @@
import type { NextPage } from "next"; import type { NextPage } from "next";
import { useEffect } from "react"; import { useEffect } from "react";
import Color from "color";
import Layout from "../components/Blog/Layout"; import Layout from "../components/Blog/Layout";
import styles from "../styles/Blog/AboutMe.module.scss"; import styles from "../styles/Blog/AboutMe.module.scss";

View File

@ -46,6 +46,11 @@
padding: 5px; padding: 5px;
background: var(--badge-bg, transparent); background: var(--badge-bg, transparent);
color: var(--badge-color, inherit); color: var(--badge-color, inherit);
margin-right: 10px;
&:last-of-type {
margin-right: 0;
}
& > span { & > span {
align-self: center; align-self: center;
@ -69,6 +74,7 @@
padding: 10px; padding: 10px;
border: 1px solid var(--blog_content-border); border: 1px solid var(--blog_content-border);
border-radius: 0.5em; border-radius: 0.5em;
box-shadow: 2px 2px 5px 0px var(--blog_color);
margin-bottom: 20px; margin-bottom: 20px;
@ -107,7 +113,7 @@
& > div:nth-of-type(3) { & > div:nth-of-type(3) {
text-align: center; text-align: center;
margin-top: -5px; margin-top: -2px;
font-size: small; font-size: small;
} }