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

Line 1: Line 1:
 
<html>
 
<html>
 
<style type="text/css">
 
<style type="text/css">
/******DEFAULT SETTINGS******/
+
/************************DEFAULT SETTINGS************************/
  
 
#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;
+
margin: 0px;
 
}
 
}
  
Line 24: 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 66: Line 66:
  
  
    .navbar {
+
.navbar {
      overflow: hidden;
+
overflow: hidden;
      background-color: #f9e3e6;
+
background-color: #f9e3e6;
      margin: 0px;
+
}
      width: 100%;
+
    }
+
  
    .navbar a {
+
.navbar a {
      float: left;
+
float: left;
      float-size: 16px;
+
float-size: 16px;
      color: #ffffff;
+
color: #ffffff;
      text-align: center;
+
text-align: center;
      padding: 14px 16px;
+
padding: 14px 16px;
      text-decoration: none;
+
text-decoration: none;
      font-size: 17px;
+
font-size: 17px;
    }
+
}
  
    .subnav {
+
.subnav {
      float: left;
+
float: left;
      overflow: hidden;
+
overflow: hidden;
    }
+
}
  
    .subnav, .subnavbtn {
+
.subnav, .subnavbtn {
      font-size: 16px;
+
font-size: 16px;
      border: none;
+
border: none;
      outline: none;
+
outline: none;
      color: white;
+
color: white;
      padding: 10px 10px;
+
padding: 10px 10px;
      background-color: #eea2ad;
+
background-color: #eea2ad;
      font-family: inherit;
+
font-family: inherit;
      margin: 2;
+
margin: 2;
    }
+
}
  
    .navbar a:hover, .subnav:hover .subnavbtn {
+
.navbar a:hover, .subnav:hover .subnavbtn {
    background-color: #e26174;
+
background-color: #e26174;
    }
+
}
  
    .subnav-content {
+
.subnav-content {
    display: none;
+
display: none;
    position: absolute;
+
position: absolute;
    left: 0;
+
left: 0;
    background-color: #f6cdd3;
+
background-color: #f6cdd3;
    width: 100%;
+
width: 100%;
    z-index: 1;
+
z-index: 1;
    }
+
}
  
    .subnav-content a {
+
.subnav-content a {
    float: left;
+
float: left;
    color: white;
+
color: white;
    text-decoration: none;
+
text-decoration: none;
    }
+
}
  
  
    .subnav-content a:hover {
+
.subnav-content a:hover {
    background-color: #e26174;
+
background-color: #e26174;
    color: white;
+
color: white;
    }
+
}
 +
 
 +
.subnav:hover .subnav-content {
 +
display: block;
 +
}
  
    .subnav:hover .subnav-content {
 
    display: block;
 
  }
 
  
   
 
 
</style>
 
</style>
 
</html>
 
</html>

Revision as of 02:42, 17 October 2018