修复宽度适配失效 #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 {
color: white !important;
}
a {
color: white !important;
}
@@ -113,16 +114,21 @@
#header-logo-title {
position: static;
width: 75%;
margin-left: 20px;
max-width: 100%;
min-width: 200px;
}
#nav {
display: none;
display: block;
background: white;
opacity: 0.5;
position: relative;
left: 0;
top: 0;
width: 100%;
max-width: 100%;
flex: none;
li {

View File

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