修复宽度适配失效 #8
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user