Skip to content

Commit

Permalink
Merge branch 'resurrection' of https://github.com/kubgus/kubgus.githu…
Browse files Browse the repository at this point in the history
…b.io into resurrection
  • Loading branch information
kubgus committed Jun 19, 2024
2 parents b7ba4d1 + ab5a231 commit 76c2ea9
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 5 deletions.
16 changes: 16 additions & 0 deletions src/layouts/navbar-for-article.astro
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,22 @@ const dateString = new Date(frontmatter.date).toLocaleString("en-US", { month: "
---

<style>
main {
padding-inline: 28vw;
}

@media (max-width: 1000px) {
main {
padding-inline: 10vw;
}
}

@media (max-width: 480px) {
main {
padding-inline: 3vw;
}
}

.article-header {
border-bottom: 1px solid var(--secondary-background-dark);

Expand Down
6 changes: 3 additions & 3 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const title = "Jakub Gustafik";
---

<style>
@media (max-width: 768px) {
@media (max-width: 1000px) {
main {
text-align: center;
}
Expand All @@ -73,7 +73,7 @@ const title = "Jakub Gustafik";
justify-content: space-between;
}

@media (max-width: 768px) {
@media (max-width: 1000px) {
#hero {
flex-direction: column-reverse;
align-items: center;
Expand Down Expand Up @@ -120,7 +120,7 @@ const title = "Jakub Gustafik";
}
}

@media (max-width: 768px) {
@media (max-width: 1000px) {
#link-bar {
justify-content: center;
align-items: center;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/article.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ pre.astro-code {
blockquote {
border-left: 0.25rem solid var(--primary-accent-dark);
padding-left: 1rem;
}
}
8 changes: 7 additions & 1 deletion src/styles/default-padding.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@ main {
justify-content: center;
gap: 2.5rem;

padding: 6rem 13vw;
padding: 6rem 20vw;
}

@media (max-width: 1420px) {
main {
padding-inline: 10vw;
}
}

@media (max-width: 768px) {
Expand Down

0 comments on commit 76c2ea9

Please sign in to comment.