Skip to content

Commit

Permalink
Merge pull request #40 from SteinCodeAT/dev-te
Browse files Browse the repository at this point in the history
minor fixes
  • Loading branch information
kalvinter authored May 9, 2024
2 parents 55f31c6 + 31b80e2 commit cf07a3d
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
Binary file added public/fonts/Rubik/static/Rubik-Regular.woff2
Binary file not shown.
4 changes: 2 additions & 2 deletions src/components/StackItem.astro
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ const shortDescription = description.slice(0, minimumDescriptionLength + firstWh

.stack-item .stack-item--text-title {
font-size: 3rem;
font-family: poppins;
font-family: "Poppins";
}

.stack-item--text-sub-title {
font-size: 1.5rem;
font-family: poppins;
font-family: "Poppins";
margin-bottom: 1rem;
}

Expand Down
3 changes: 1 addition & 2 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ new ways of interaction between humans and spaces.
}

.about-me--header-img-wrapper .about-me--title {
font-family: poppins;
font-family: "Times New Roman";
font-size: 6rem;
text-align: center;
width: 100%;
Expand Down Expand Up @@ -493,7 +493,6 @@ new ways of interaction between humans and spaces.
.about-me--header-img-wrapper .about-me--title {
font-size: 3rem;
line-height: 2.1rem;
font-family: "poppins";
}

.contact-line {
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ document.addEventListener("DOMContentLoaded", () => {
let touchendX = 0;
let touchendY = 0;

const minimumTouchDistance = 75;
const minimumTouchDistance = 50;

document.querySelector(".stack-area")?.addEventListener("touchstart", (event) => {
const touchLocation = event.targetTouches[0];
Expand Down
7 changes: 6 additions & 1 deletion src/styles/global.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
@font-face {
font-family: "Rubik";
src: url("/fonts/Rubik/static/Rubik-Regular.ttf");
src: url("/fonts/Rubik/static/Rubik-Regular.woff2");
}

@font-face {
font-family: "Poppins";
src: url("/fonts/Poppins/Poppins-Regular.woff2");
}

:root {
Expand Down
2 changes: 1 addition & 1 deletion src/styles/project-card-page.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ a:has(img):hover {
}

h1 {
font-family: poppins;
font-family: "Poppins";
}

hr {
Expand Down

0 comments on commit cf07a3d

Please sign in to comment.