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:
parent
a71659ed27
commit
efd8d44b12
3 changed files with 4 additions and 6 deletions
|
@ -357,6 +357,7 @@ footer {
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-content {
|
.post-content {
|
||||||
|
font-size: 1.08rem;
|
||||||
line-height: 1.8;
|
line-height: 1.8;
|
||||||
margin-top: 2rem;
|
margin-top: 2rem;
|
||||||
overflow-wrap: break-word;
|
overflow-wrap: break-word;
|
||||||
|
@ -424,8 +425,6 @@ footer {
|
||||||
|
|
||||||
p {
|
p {
|
||||||
@include img(true);
|
@include img(true);
|
||||||
|
|
||||||
font-size: 1.08rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
|
@ -905,7 +904,6 @@ $sidebar-display: "sidebar-display";
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
padding: 0.18rem 0.3rem;
|
padding: 0.18rem 0.3rem;
|
||||||
color: var(--text-color);
|
color: var(--text-color);
|
||||||
font-size: 95%;
|
|
||||||
|
|
||||||
&:focus {
|
&:focus {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
|
@ -1430,7 +1428,7 @@ $sidebar-display: "sidebar-display";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-content p {
|
.post-content {
|
||||||
font-size: 1.03rem;
|
font-size: 1.03rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -68,7 +68,7 @@
|
||||||
|
|
||||||
/* --- custom light colors --- */
|
/* --- custom light colors --- */
|
||||||
--highlight-bg-color: #f7f7f7;
|
--highlight-bg-color: #f7f7f7;
|
||||||
--highlighter-rouge-color: #505050;
|
--highlighter-rouge-color: #2f2f2f;
|
||||||
--highlight-lineno-color: #c2c6cc;
|
--highlight-lineno-color: #c2c6cc;
|
||||||
--highlight-lineno-border-color: #e9ecef;
|
--highlight-lineno-border-color: #e9ecef;
|
||||||
--inline-code-bg: #f3f3f3;
|
--inline-code-bg: #f3f3f3;
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
--main-wrapper-bg: white;
|
--main-wrapper-bg: white;
|
||||||
--main-border-color: #f3f3f3;
|
--main-border-color: #f3f3f3;
|
||||||
--btn-border-color: #e9ecef;
|
--btn-border-color: #e9ecef;
|
||||||
--text-color: #4a4a4a;
|
--text-color: #34343c;
|
||||||
--heading-color: black;
|
--heading-color: black;
|
||||||
--blockquote-border-color: #eee;
|
--blockquote-border-color: #eee;
|
||||||
--blockquote-text-color: #9a9a9a;
|
--blockquote-text-color: #9a9a9a;
|
||||||
|
|
Loading…
Reference in a new issue