Commit ee8745e7 by 郑国强

zgq css

parent ae4c7704
body { body {
...@@ -18,20 +18,20 @@ header { ...@@ -18,20 +18,20 @@ header {
display: flex; display: flex;
margin: 0 auto; margin: 0 auto;
width: 1300px; width: 1300px;
height: 87px; height: 66px;
justify-content: space-between; justify-content: space-between;
border-left: 2px solid #4d7bbd;
} }
.little-logo { .little-logo {
float: left; float: left;
margin-left: 24px; margin-left: 24px;
margin-top: 5px;
} }
.nav_user { .nav_user {
float: left; float: left;
font-size: 20px; font-size: 16px;
height: 87px; height: 66px;
line-height: 87px; line-height: 66px;
padding-left: 40px; padding-left: 40px;
color: #fff; color: #fff;
} }
...@@ -40,23 +40,22 @@ header { ...@@ -40,23 +40,22 @@ header {
} }
.nav_main { .nav_main {
width: 40%; /* width: 40%; */
line-height: 87px; line-height: 66px;
height: 87px; height: 66px;
display: flex; display: flex;
justify-content: flex-end; justify-content: flex-end;
flex-wrap: nowrap; flex-wrap: nowrap;
} }
.nav_item { .nav_item {
font-size: 18px; font-size: 16px;
flex: auto; flex: auto;
width: 94px;
box-sizing: border-box; box-sizing: border-box;
height: 100%; height: 100%;
line-height: 87px; line-height: 66px;
text-align: center; text-align: center;
color: #fff; color: #fff;
/* background-color: rgba(49, 68, 94, 0.6); */
cursor: pointer; cursor: pointer;
} }
.nav_item a { .nav_item a {
...@@ -64,9 +63,8 @@ header { ...@@ -64,9 +63,8 @@ header {
width: 100%; width: 100%;
height: 100%; height: 100%;
padding: 0px 1px; padding: 0px 1px;
font-size: 18px; font-size: 16px;
color: #fff; color: #fff;
/* background-color: rgba(49, 68, 94, 0.6); */
} }
.nav_item a:hover { .nav_item a:hover {
background-color: rgb(225, 239, 248); background-color: rgb(225, 239, 248);
...@@ -85,7 +83,6 @@ footer { ...@@ -85,7 +83,6 @@ footer {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
/* background-color: skyblue; */
margin: 20px 0px; margin: 20px 0px;
} }
.footer-item span { .footer-item span {
......
.search_logo, .search_logo,
...@@ -9,10 +9,10 @@ ...@@ -9,10 +9,10 @@
.search_type { .search_type {
position: absolute; position: absolute;
left: -2%; left: 6%;
top: 77%; top: 83%;
width: 202px; width: 106px;
height: 100px; height: 66px;
background-color: rgb(64, 114, 184); background-color: rgb(64, 114, 184);
border: 1px solid black; border: 1px solid black;
font-size: 30px; font-size: 30px;
...@@ -26,12 +26,12 @@ ...@@ -26,12 +26,12 @@
.search_search { .search_search {
margin-top: 10px; margin-top: 10px;
width: 845px; width: 845px;
height: 98px; height: 66px;
border-radius: 20px; border-radius: 20px;
border-bottom-left-radius: 0; border-bottom-left-radius: 0;
border-top-left-radius: 0; border-top-left-radius: 0;
font-size: 30px; font-size: 30px;
line-height: 98px; line-height: 66px;
padding: 10px; padding: 10px;
box-sizing: border-box; box-sizing: border-box;
} }
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
left: 85%; left: 85%;
top: 333px; top: 333px;
width: 154px; width: 154px;
height: 98px; height: 66px;
border-radius: 20px; border-radius: 20px;
background-image: url(../image/search_logo.png); background-image: url(../image/search_logo.png);
background-repeat: no-repeat; background-repeat: no-repeat;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment