Skip to content

Commit

Permalink
Update font size
Browse files Browse the repository at this point in the history
  • Loading branch information
akashchandwani committed Jan 24, 2024
1 parent 698ed61 commit e0fc539
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 15 deletions.
4 changes: 2 additions & 2 deletions assets/css/common/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
}

.logo a {
font-size: 24px;
font-weight: 700;
font-size: 20px;
font-weight: 400;
}

.logo a img, .logo a svg {
Expand Down
2 changes: 1 addition & 1 deletion assets/css/common/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
}

.page-header h1 {
font-size: 42px;
font-size: 28px;
}

.pagination {
Expand Down
22 changes: 11 additions & 11 deletions assets/css/common/post-single.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

.post-title {
margin-bottom: 2px;
font-size: 48px;
font-size: 34px;
}

.post-description {
Expand Down Expand Up @@ -44,18 +44,18 @@
}

.post-content h1 {
margin: 24px auto 22px;
font-size: 24px;
margin: 28px auto 24px;
font-size: 28px;
}

.post-content h2 {
margin: 22px auto 20px;
font-size: 22px;
margin: 24px auto 22px;
font-size: 24px;
}

.post-content h3 {
margin: 20px auto 18px;
font-size: 20px;
margin: 22px auto 20px;
font-size: 22px;
}

.post-content h4 {
Expand All @@ -64,13 +64,13 @@
}

.post-content h5 {
margin: 20px auto 18px;
font-size: 20px;
margin: 18px auto 16px;
font-size: 18px;
}

.post-content h6 {
margin: 20px auto 18px;
font-size: 20px;
margin: 18px auto 16px;
font-size: 18px;
}

.post-content a,
Expand Down
50 changes: 50 additions & 0 deletions assets/css/common/profile-mode.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
.buttons,
.main .profile {
display: flex;
justify-content: center;
}

.main .profile {
align-items: center;
min-height: calc(100vh - var(--header-height) - var(--footer-height) - (var(--gap) * 2));
text-align: center;
}

.profile .profile_inner h1 {
font-weight: 400;
font-size: 36px;
}

.profile .profile_inner {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
font-weight: 400;
font-size: 18px;
}

.profile img {
border-radius: 50%;
}

.buttons {
flex-wrap: wrap;
max-width: 400px;
}

.button {
background: var(--tertiary);
border-radius: var(--radius);
margin: 8px;
padding: 6px;
transition: transform 0.1s;
}

.button-inner {
padding: 0 8px;
}

.button:active {
transform: scale(0.96);
}
2 changes: 1 addition & 1 deletion assets/css/core/reset.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ h6 {

body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-size: 20px;
font-size: 18px;
line-height: 1.6;
word-break: break-word;
background: var(--theme);
Expand Down

0 comments on commit e0fc539

Please sign in to comment.