Difference between revisions of "Template:SFLS Shenzhen/CSS/bootstrap:css"

Line 5: Line 5:
 
#sideMenu,
 
#sideMenu,
 
#top_title {
 
#top_title {
  display: none;
+
display: none;
 
}
 
}
  
 
#content {
 
#content {
  padding: 0px;
+
padding: 0px;
  width: 100%;
+
width: 100%;
 
}
 
}
  
 
body {
 
body {
  background-color: #f9e3e6;
+
background-color: #f9e3e6;
  width: 100%;
+
width: 100%;
 +
margin: 0px;
 
}
 
}
  
Line 23: Line 24:
 
#bodyContent h4,
 
#bodyContent h4,
 
#bodyContent h5 {
 
#bodyContent h5 {
  margin-bottom: 0px;
+
margin-bottom: 0px;
 
}
 
}
  
 
#bodyContent {
 
#bodyContent {
  padding-right: 0px;
+
padding-right: 0px;
 
}
 
}
  
 
#globalWrapper {
 
#globalWrapper {
  font-size: 100%;
+
font-size: 100%;
  padding: 0px;
+
padding: 0px;
  margin: -10px -20px -20px -20px;
+
margin: -10px -20px -20px -20px;
 
}
 
}
  
 
.navbar-collapse {
 
.navbar-collapse {
  padding-left: 0px;
+
padding-left: 0px;
 
}
 
}
  
 
#banner {
 
#banner {
  margin-top: 50px;
+
margin-top: 50px;
 
}
 
}
  
 
#sideMenu {
 
#sideMenu {
  margin-top: 10px;
+
margin-top: 10px;
 
}
 
}
  
 
.dropdown-menu li:hover .sub-menu {
 
.dropdown-menu li:hover .sub-menu {
  visibility: visible;
+
visibility: visible;
 
}
 
}
  
 
.dropdown:hover .dropdown-menu {
 
.dropdown:hover .dropdown-menu {
  display: block;
+
display: block;
 
}
 
}
  
 
.navbar-nav .dropdown-menu,
 
.navbar-nav .dropdown-menu,
 
.navbar .dropdown-menu {
 
.navbar .dropdown-menu {
  margin-top: 0;
+
margin-top: 0;
 
}
 
}
  
Line 65: Line 66:
  
  
.navbar {
+
 
padding: 0;
+
body {
overflow: hidden;
+
 
background-color: #f9e3e6;
 
background-color: #f9e3e6;
 +
width: 100%;
 +
margin: 0px;
 
}
 
}
  
.navbar a {
+
#navigation {
float: left;
+
margin: 0;
float-size: 16px;
+
padding: 0;
color: #ffffff;
+
background: #EEA2AD;
text-align: center;
+
height: 3em;
padding: 14px 16px;
+
list-style: none;
text-decoration: none;
+
font-size: 17px;
+
 
}
 
}
  
.subnav {
+
#navigation > li {
float: left;
+
float: left;
overflow: hidden;
+
height: 100%;
 +
margin-right: 0.5em;
 +
padding: 0 1em;
 
}
 
}
  
.subnav, .subnavbtn {
+
#navigation > li > a {
font-size: 16px;
+
float: left;
border: none;
+
height: 100%;
outline: none;
+
color: white ;
color: white;
+
text-decoration: none;
padding: 10px 10px;
+
line-height: 3;
background-color: #eea2ad;
+
font-weight: bold;
font-family: inherit;
+
text-transform: uppercase;
margin: 2;
+
 
}
 
}
  
.navbar a:hover, .subnav:hover .subnavbtn {
+
#navigation > li > a:hover {
background-color: #e26174;
+
color: #e26174;
 +
text-decoration: underline;
 
}
 
}
  
.subnav-content {
+
#navigation > li.sub {
display: none;
+
position: relative;
position: absolute;
+
left: 0;
+
background-color: #f6cdd3;
+
width: 100%;
+
z-index: 1;
+
 
}
 
}
  
.subnav-content a {
+
#navigation > li.sub ul {
float: left;
+
width: 10em;
color: white;
+
margin: 0;
text-decoration: none;
+
padding: 0.5em 0;
 +
list-style: none;
 +
background: pink;
 +
position: absolute;
 +
top: -1000em;
 
}
 
}
  
 +
#navigation > li.sub ul li {
 +
width: 90%;
 +
margin: 0 auto 0.3em auto;
 +
}
  
.subnav-content a:hover {
+
#navigation > li.sub ul li a {
background-color: #e26174;
+
height: 100%;
color: white;
+
display: block;
 +
padding: 0.4em;
 +
color: #fff;
 +
font-weight: bold;
 +
text-decoration: none;
 
}
 
}
  
.subnav:hover .subnav-content {
+
#navigation > li.sub ul li a:hover {
display: block;
+
background: #a67179;
 +
text-decoration: underline;
 
}
 
}
  
 
+
#navigation > li.sub:hover ul {
 +
top: 3em;
 +
}
 
</style>
 
</style>
 
</html>
 
</html>

Revision as of 06:03, 17 October 2018