mirror of https://gitlab.com/curben/blog
fix: consistent header margin and font-size
This commit is contained in:
parent
35ae615862
commit
8614f62257
|
@ -830,12 +830,11 @@ blockquote {
|
||||||
.category-container,
|
.category-container,
|
||||||
.tag-container {
|
.tag-container {
|
||||||
width: 60%;
|
width: 60%;
|
||||||
margin: 0 auto;
|
margin: 1em auto 0;
|
||||||
position: relative;
|
position: relative;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
padding-top: 3em;
|
|
||||||
max-width: 700px;
|
max-width: 700px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -857,7 +856,7 @@ blockquote {
|
||||||
.archive-container .header,
|
.archive-container .header,
|
||||||
.category-container .header,
|
.category-container .header,
|
||||||
.tag-container .header {
|
.tag-container .header {
|
||||||
font-size: 1em;
|
font-size: 1.1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.archive-container .archive-article-header > a,
|
.archive-container .archive-article-header > a,
|
||||||
|
@ -881,7 +880,7 @@ blockquote {
|
||||||
.category-container hr,
|
.category-container hr,
|
||||||
.tag-container hr {
|
.tag-container hr {
|
||||||
width: 60%;
|
width: 60%;
|
||||||
margin: 20px 0 40px;
|
margin: 1em 0;
|
||||||
background-image: -webkit-linear-gradient(
|
background-image: -webkit-linear-gradient(
|
||||||
0deg,
|
0deg,
|
||||||
#d5d5d5,
|
#d5d5d5,
|
||||||
|
@ -944,7 +943,7 @@ blockquote {
|
||||||
|
|
||||||
.article .header {
|
.article .header {
|
||||||
font-size: 1.1em;
|
font-size: 1.1em;
|
||||||
margin: 0.5em 0;
|
margin-top: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.article .main-nav-link:hover {
|
.article .main-nav-link:hover {
|
||||||
|
@ -1131,12 +1130,6 @@ blockquote {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.comments {
|
|
||||||
width: 60%;
|
|
||||||
max-width: 700px;
|
|
||||||
margin: 50px auto 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dark {
|
.dark {
|
||||||
color: #d8d8d8;
|
color: #d8d8d8;
|
||||||
}
|
}
|
||||||
|
@ -1430,20 +1423,10 @@ pre .keyword {
|
||||||
width: 80%;
|
width: 80%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.archive-container,
|
|
||||||
.category-container,
|
|
||||||
.tag-container {
|
|
||||||
padding-top: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.article-title {
|
.article-title {
|
||||||
font-size: 1.8rem;
|
font-size: 1.8rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.comments {
|
|
||||||
width: 80%;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* hide desktop nav */
|
/* hide desktop nav */
|
||||||
.main-nav {
|
.main-nav {
|
||||||
display: none;
|
display: none;
|
||||||
|
|
Loading…
Reference in New Issue