Merge branch 'master' into template-search

This commit is contained in:
Jimmy Cai
2020-10-04 16:05:02 +02:00
9 changed files with 42 additions and 34 deletions
+6 -14
View File
@@ -75,10 +75,14 @@
}
.article-title {
font-size: 2.4rem;
font-weight: 600;
margin: 10px 0;
color: var(--card-text-color-main);
font-size: 2.2rem;
@media (min-width: $on-desktop-large) {
font-size: 2.4rem;
}
a {
color: var(--card-text-color-main);
@@ -88,14 +92,6 @@
}
}
@media (min-width: $on-desktop-large) {
font-size: 2.4rem;
}
@media (max-width: $on-desktop) {
font-size: 2rem;
}
& + .article-subtitle {
margin-top: 0;
}
@@ -103,18 +99,14 @@
.article-subtitle {
font-weight: normal;
font-size: 1.8rem;
color: var(--card-text-color-secondary);
margin: 5px 0;
line-height: 1.5;
font-size: 1.75rem;
@media (min-width: $on-desktop-large) {
font-size: 2rem;
}
@media (max-width: $on-desktop) {
font-size: 1.6rem;
}
}
.article-time {
+8 -2
View File
@@ -126,7 +126,8 @@
list-style: none;
display: flex;
flex-direction: column;
margin-top: 25px;
margin-top: var(--sidebar-element-separation);
margin-bottom: 0;
overflow-y: auto;
@media (min-width: $on-desktop-large) {
@@ -179,6 +180,11 @@
height: 25px;
stroke-width: 1.33;
margin-right: 40px;
@media (max-width: $on-desktop-large) {
width: 20px;
height: 20px;
}
}
a {
@@ -188,7 +194,7 @@
color: var(--body-text-color);
font-size: 1.5rem;
@media (max-width: $on-desktop) {
@media (max-width: $on-desktop-large) {
font-size: 1.4rem;
}
}
+12 -7
View File
@@ -12,6 +12,14 @@
flex-direction: column;
flex-shrink: 0;
--sidebar-avatar-size: 150px;
--sidebar-element-separation: 25px;
@media (max-width: $on-desktop-large) {
--sidebar-avatar-size: 120px;
--sidebar-element-separation: 20px;
}
@media (max-width: $on-phone) {
width: 100%;
padding: 30px 0;
@@ -49,6 +57,7 @@
.site-info {
z-index: 1;
transition: box-shadow 0.5s ease;
@media (max-width: $on-phone) {
padding: 15px 30px;
}
@@ -56,14 +65,10 @@
.site-avatar {
position: relative;
margin: 0;
margin-bottom: 25px;
width: 150px;
height: 150px;
width: var(--sidebar-avatar-size);
height: var(--sidebar-avatar-size);
@media (max-width: $on-desktop-large) {
height: 120px;
width: 120px;
}
margin-bottom: var(--sidebar-element-separation);
.site-logo {
width: 100%;