(One intermediate revision by one other user not shown) | |||
Line 347: | Line 347: | ||
position: relative; | position: relative; | ||
} | } | ||
+ | @media (min-width: 768px) { | ||
.menu_logo_1 { | .menu_logo_1 { | ||
− | + | top: 18px; | |
− | + | left:10px; | |
− | + | z-index: 1000; | |
− | + | position: fixed; | |
− | + | ||
} | } | ||
.menu_logo_2 { | .menu_logo_2 { | ||
− | + | top: 18px; | |
− | + | left:100px; | |
− | + | z-index: 1000; | |
− | + | position: fixed; | |
− | + | } | |
+ | .nav-pills{ | ||
+ | font-size:8px; | ||
+ | font-weight: bold; | ||
+ | } | ||
+ | } | ||
+ | |||
+ | /* 中等屏幕(桌面显示器,大于等于992px) */ | ||
+ | @media (min-width: 992px) { | ||
+ | .menu_logo_1 { | ||
+ | top: 18px; | ||
+ | left:20px; | ||
+ | z-index: 1000; | ||
+ | position: fixed; | ||
+ | } | ||
+ | .menu_logo_2 { | ||
+ | top: 18px; | ||
+ | left:110px; | ||
+ | z-index: 1000; | ||
+ | position: fixed; | ||
+ | } | ||
+ | .nav-pills{ | ||
+ | font-size:10px; | ||
+ | font-weight: bold; | ||
+ | } | ||
+ | } | ||
+ | |||
+ | /* 大屏幕(大桌面显示器,大于等于1200px) */ | ||
+ | @media (min-width: 1200px) { | ||
+ | .menu_logo_1 { | ||
+ | top: 18px; | ||
+ | left:80px; | ||
+ | z-index: 1000; | ||
+ | position: fixed; | ||
+ | } | ||
+ | .menu_logo_2 { | ||
+ | top: 18px; | ||
+ | left:170px; | ||
+ | z-index: 1000; | ||
+ | position: fixed; | ||
+ | } | ||
+ | .nav-pills{ | ||
+ | font-size:12px; | ||
+ | font-weight: bold; | ||
+ | } | ||
+ | |||
} | } | ||
Line 717: | Line 762: | ||
<div class="cover boxcaption"> | <div class="cover boxcaption"> | ||
<h3>Nan Hu</h3> | <h3>Nan Hu</h3> | ||
− | <p>I am Nan Hu and I am now studying in Tongji Medical of Huazhong University of Science and Technology. I am a calm and composed boy and I love the pursuit of truth.I believe the more you try,the more you get. </p> | + | <p>I am Nan Hu and I am now studying in Tongji Medical of Huazhong University of Science and Technology. I am a calm and composed boy and I love the pursuit of truth. I believe the more you try, the more you will get. </p> |
</div> | </div> | ||
</div> | </div> |
Latest revision as of 05:55, 1 November 2017