Improve the UI design

- Optimize the text color in light mode
- Stop iOS Safari input field zooming
- Uniform font size for posts
This commit is contained in:
Cotes Chung 2021-04-12 19:45:01 +08:00
parent a71659ed27
commit efd8d44b12
3 changed files with 4 additions and 6 deletions

View file

@ -357,6 +357,7 @@ footer {
}
.post-content {
font-size: 1.08rem;
line-height: 1.8;
margin-top: 2rem;
overflow-wrap: break-word;
@ -424,8 +425,6 @@ footer {
p {
@include img(true);
font-size: 1.08rem;
}
ul {
@ -905,7 +904,6 @@ $sidebar-display: "sidebar-display";
border-radius: 0;
padding: 0.18rem 0.3rem;
color: var(--text-color);
font-size: 95%;
&:focus {
box-shadow: none;
@ -1430,7 +1428,7 @@ $sidebar-display: "sidebar-display";
}
}
.post-content p {
.post-content {
font-size: 1.03rem;
}

View file

@ -68,7 +68,7 @@
/* --- custom light colors --- */
--highlight-bg-color: #f7f7f7;
--highlighter-rouge-color: #505050;
--highlighter-rouge-color: #2f2f2f;
--highlight-lineno-color: #c2c6cc;
--highlight-lineno-border-color: #e9ecef;
--inline-code-bg: #f3f3f3;

View file

@ -9,7 +9,7 @@
--main-wrapper-bg: white;
--main-border-color: #f3f3f3;
--btn-border-color: #e9ecef;
--text-color: #4a4a4a;
--text-color: #34343c;
--heading-color: black;
--blockquote-border-color: #eee;
--blockquote-text-color: #9a9a9a;