mirror of
https://github.com/Unkn0wnCat/KevinK.dev.js.git
synced 2025-04-29 02:07:39 +02:00
Adjust accessibility
This commit is contained in:
parent
ffc7c9e291
commit
70f50b78bb
6 changed files with 42 additions and 14 deletions
|
@ -45,13 +45,18 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background: $accentColor;
|
background: $accentColorDarker;
|
||||||
color: white;
|
color: white;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
box-shadow: 0 0 33px -10px rgba($accentColor, 0.5);
|
box-shadow: 0 0 33px -10px rgba($accentColor, 0.5);
|
||||||
transition: box-shadow 0.25s;
|
transition: box-shadow 0.25s;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
text-shadow: 0 0 10px black;
|
||||||
|
|
||||||
|
@media(prefers-color-scheme: light) {
|
||||||
|
background-color: $accentColor;
|
||||||
|
}
|
||||||
|
|
||||||
svg {
|
svg {
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
$layoutWidth: 1200px;
|
$layoutWidth: 1200px;
|
||||||
$accentColor: #e52b3e;
|
$accentColor: #e52b3e;
|
||||||
|
$accentColorDarker: darken($accentColor, 5);
|
||||||
$background: #070707;
|
$background: #070707;
|
||||||
$lightBackground: #fff;
|
$lightBackground: #fff;
|
||||||
$textColor: white;
|
$textColor: white;
|
||||||
|
|
|
@ -7,7 +7,7 @@ export default function LanguageSwitcher() {
|
||||||
const { languages, originalPath } = useI18next();
|
const { languages, originalPath } = useI18next();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={styles.languageModal} id="languageChooser">
|
<div className={styles.languageModal} id="languageChooser" role="dialog">
|
||||||
<div className={styles.languageModalInner}>
|
<div className={styles.languageModalInner}>
|
||||||
<h2>
|
<h2>
|
||||||
Languages (
|
Languages (
|
||||||
|
|
|
@ -68,9 +68,6 @@ section > article,
|
||||||
}
|
}
|
||||||
|
|
||||||
article {
|
article {
|
||||||
p {
|
|
||||||
text-align: justify;
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: $accentColor;
|
color: $accentColor;
|
||||||
|
|
|
@ -113,7 +113,7 @@ const IndexPage = (props) => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Layout title="Kevin Kandlbinder" transparentTopbar={true} description={t("siteDescription")}
|
<Layout title="Kevin Kandlbinder" transparentTopbar={true} description={t("siteDescription")}
|
||||||
image={meta.siteUrl + "/owner.jpg"}
|
image={"/owner.jpg"}
|
||||||
speakable={{
|
speakable={{
|
||||||
"@type": "SpeakableSpecification",
|
"@type": "SpeakableSpecification",
|
||||||
"xPath": [
|
"xPath": [
|
||||||
|
|
|
@ -241,21 +241,46 @@
|
||||||
color: #e52b3e;
|
color: #e52b3e;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.skill_language {
|
|
||||||
color: #6848da;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.skill_platform {
|
&.skill_platform {
|
||||||
color: #e5752b;
|
color: #e5752b;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.skill_os {
|
|
||||||
color: #2b66e5;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.skill_program {
|
&.skill_program {
|
||||||
color: #18bb20;
|
color: #18bb20;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.skill_os {
|
||||||
|
color: #6d94e9;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.skill_language {
|
||||||
|
color: #886af5;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@media(prefers-color-scheme: light) {
|
||||||
|
|
||||||
|
&.skill_os {
|
||||||
|
color: #2b66e5;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.skill_language {
|
||||||
|
color: #6848da;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.skill_framework {
|
||||||
|
color: #db1e31;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.skill_platform {
|
||||||
|
color: #aa4f12;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.skill_program {
|
||||||
|
color: #17681b;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue