Skip to content

Commit

Permalink
enhancement(app): Fix spacing for hobbies list
Browse files Browse the repository at this point in the history
  • Loading branch information
djsiddz committed Feb 7, 2024
1 parent a94f3b2 commit 4ea2934
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/pages/about.astro
Original file line number Diff line number Diff line change
Expand Up @@ -39,23 +39,27 @@ const hobbies = ["Space Exploration", "Writing", "Space Photography"];
.hobbies {
display: inline-flex;
flex-wrap: wrap;
gap: 1rem;
row-gap: 0;
column-gap: 1rem;
list-style-position: inside;
margin-top: 0;
}
.hobbies li {
padding: 0 0 0 1rem;
}
.hobbies li::marker {
content: "πŸš€";
content: "πŸš€ ";
}
.hobbies li:nth-child(3n)::marker {
content: "πŸͺ";
content: "πŸͺ ";
}
.hobbies li:nth-child(3n-1)::marker {
content: "🌎";
content: "🌎 ";
}
@media (orientation: portrait) {
.hobbies {
padding-left: 0;
}
.pageContent {
padding: 2rem 0;
text-align: left;
Expand Down

0 comments on commit 4ea2934

Please sign in to comment.