Optimized the sidebar in extra small screens.

This commit is contained in:
Cotes Chung 2019-11-12 16:18:54 +08:00
parent 2208b43bae
commit 274038fcc0
1 changed files with 10 additions and 1 deletions

View File

@ -159,7 +159,6 @@ body {
#avatar img { #avatar img {
width: 100%; width: 100%;
height: 100%; height: 100%;
display: block;
background-size: cover; background-size: cover;
background-repeat: no-repeat; background-repeat: no-repeat;
-webkit-transition: all .5s !important; -webkit-transition: all .5s !important;
@ -1246,6 +1245,16 @@ div.tooltip-inner { /* Overrided BS4 Tooltip */
padding-bottom: 10rem; /* footer height */ padding-bottom: 10rem; /* footer height */
} }
#avatar>a {
width: 5rem;
height: 5rem;
}
#site-subtitle {
margin-left: 1.8rem;
margin-right: 1.8rem;
}
#post-wrap h1 { #post-wrap h1 {
margin-top: 2.2rem; margin-top: 2.2rem;
font-size: 1.55rem; font-size: 1.55rem;