修复宽度适配失效 #8

This commit is contained in:
小海
2020-04-17 14:41:38 +08:00
parent d54b508236
commit 0a9608b697
2 changed files with 11 additions and 1 deletions

View File

@@ -12,6 +12,7 @@
.info-name { .info-name {
color: white !important; color: white !important;
} }
a { a {
color: white !important; color: white !important;
} }
@@ -113,16 +114,21 @@
#header-logo-title { #header-logo-title {
position: static; position: static;
width: 75%; width: 75%;
margin-left: 20px;
max-width: 100%;
min-width: 200px;
} }
#nav { #nav {
display: none; display: block;
background: white; background: white;
opacity: 0.5; opacity: 0.5;
position: relative; position: relative;
left: 0; left: 0;
top: 0; top: 0;
width: 100%; width: 100%;
max-width: 100%;
flex: none;
li { li {

View File

@@ -64,6 +64,8 @@
@media screen and (max-width: @max-width) { @media screen and (max-width: @max-width) {
#index-container { #index-container {
display: block;
#index-bloger-container { #index-bloger-container {
text-align: center; text-align: center;
width: 100%; width: 100%;
@@ -78,12 +80,14 @@
position: relative; position: relative;
width: 90%; width: 90%;
margin: 0 5%; margin: 0 5%;
max-width: 100% !important;
} }
#index-right { #index-right {
position: relative; position: relative;
width: 90%; width: 90%;
margin: 0 5%; margin: 0 5%;
max-width: 100% !important;
} }
} }
} }