Skip to content

Commit

Permalink
Merge pull request #36 from Shayan-Ghani/wiki
Browse files Browse the repository at this point in the history
fix (wiki) : line height compressing text
  • Loading branch information
Shayan-Ghani authored Aug 25, 2024
2 parents 6a47625 + 2968905 commit 16df645
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion artifacts/wiki/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
--font-size-large: 1.6rem;
--font-size-mid: 1.4rem;
--font-size-small: 1rem;
--font-size-phone: 1.2rem;
--margin-small: 1.6rem;
--margin-mid: 3rem;
--margin-large: 5rem;
Expand All @@ -28,7 +29,7 @@ body {
padding: 0;
background-color: var(--bg-primary);
color: var(--clr-text);
line-height: 2rem;
line-height: 2.5rem;
}

header {
Expand Down Expand Up @@ -209,6 +210,11 @@ a:hover {
/* responsive */

@media only screen and (max-width: 768px) {
.container {
line-height: 3rem;
font-size: var(--font-size-phone);
}

nav {
display: none;
}
Expand All @@ -223,6 +229,7 @@ a:hover {
font-size: var(--font-size-small);
overflow-x: auto;
width: 300px;
line-height: var(--font-size-large);
}

.content {
Expand Down

0 comments on commit 16df645

Please sign in to comment.