Line 4: | Line 4: | ||
margin: 0 60px !important; | margin: 0 60px !important; | ||
} | } | ||
− | .navbar li{ | + | .navbar li{text-align: center; |
− | + | ||
margin-top: 10px; | margin-top: 10px; | ||
} | } | ||
Line 20: | Line 19: | ||
} | } | ||
footer | footer | ||
− | { | + | {background-color: #e6bada;padding-top: 30px;padding-bottom: 30px;margin: 0px 60px; |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
Revision as of 09:25, 21 June 2018
.navbar {
background-color: #fee0fc;/*#a97f86;*/ color:#f6617d; margin: 0 60px !important; } .navbar li{text-align: center;
margin-top: 10px;
} /*悬停后导航的字*/ .navbar .nav > li:hover .dropdown-menu { display: block; font-color: #f6617d; background-color: rgba(245,123,146,0.3); text-align: center; font-size: 0.6em; color:#ee970f; } p{margin: 0 !important; } footer {background-color: #e6bada;padding-top: 30px;padding-bottom: 30px;margin: 0px 60px; }
#Call{
font-size: 1.5em;
} /*导航里的字*/ .navbar .nav >li a,.dropdown-menu> li a{
color: #ee970f; font-size: 1.3em; -moz-transition: background 0.3s ease-in-out, color 0.3s ease-in;
-webkit-transition: background 0.3s ease-in-out, color 0.3s ease-in; } /*下拉的菜单*/ .nav>li a:hover,.dropdown-menu> li a:hover { color:#f6617d; background-color: #e6bada; } .cardbox{ width: 60px; height:60px; font-size: 20px; } #content{background-image: url(图片/flowers.png);background-position: center center; background-repeat: no-repeat; background-attachment: fixed; background-size: cover; } #shanda{width: 320px;height:120px; } #mathworks{width: 240px;height:90px; } #header{height: 60px; } #major{margin: 0px 60px;background-color: #ebf7f6;padding: 100px 60px;font-size: 1.2em; }