Line 311: | Line 311: | ||
body { | body { | ||
− | + | position: relative; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
+ | @media (min-width: 768px) { | ||
+ | .menu_logo_1 { | ||
+ | top: 18px; | ||
+ | left:10px; | ||
+ | z-index: 1000; | ||
+ | position: fixed; | ||
+ | } | ||
+ | .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; | ||
+ | } | ||
+ | |||
+ | } | ||
Revision as of 05:46, 1 November 2017