Difference between revisions of "Team:SDU-CHINA/OWM-STYLE"

Line 1: Line 1:
  #contentSub, #footer-box, #catlinks, #search-controls, #p-logo, #top_title,
+
  .navbar {
    #sideMenu, .logo_2018, .printfooter, .firstHeading,.visualClear {
+
        display: none;
+
    }
+
  #globalWrapper, #content {
+
        width: 100%;
+
        height: 100%;
+
        border: 0px;
+
        background-color: transparent;
+
        margin: 0px;
+
        padding: 0px;
+
    }
+
 
+
    html, body, .wrapper {
+
        width: 100%;
+
        height: 100%;
+
        background-color: transparent;
+
    }
+
    #top-section { 
+
        border: 0 none;
+
        height: 14px;
+
        z-index: 100;
+
        top: 0;
+
        position: fixed;
+
        width: 975px;
+
        left: 50%;
+
        margin-left: -487px;
+
        margin-top: -487px;
+
       
+
    }
+
    .navbar {
+
 
   background-color: #fee0fc;/*#a97f86;*/
 
   background-color: #fee0fc;/*#a97f86;*/
 
   color:#f6617d;
 
   color:#f6617d;
Line 38: Line 8:
 
margin-top: 10px;
 
margin-top: 10px;
 
}
 
}
 +
/*悬停后导航的字*/
 
.navbar .nav > li:hover .dropdown-menu {   
 
.navbar .nav > li:hover .dropdown-menu {   
 
             display: block;
 
             display: block;
Line 60: Line 31:
 
font-size: 1.5em;
 
font-size: 1.5em;
 
}
 
}
 +
/*导航里的字*/
 
.navbar .nav >li a,.dropdown-menu> li a{
 
.navbar .nav >li a,.dropdown-menu> li a{
 
color: #ee970f;
 
color: #ee970f;
Line 66: Line 38:
 
     -webkit-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 {  
 
.nav>li a:hover,.dropdown-menu> li a:hover {  
 
color:#f6617d;  
 
color:#f6617d;  
background-color: #e6bada;}  
+
background-color: #e6bada;
 +
}  
 
.cardbox{
 
.cardbox{
 
   width: 60px;
 
   width: 60px;
 
   height:60px;
 
   height:60px;
   font-size: 20px;}
+
   font-size: 20px;
  #content{
+
}
 +
#content{
 
background-image: url(图片/flowers.png);
 
background-image: url(图片/flowers.png);
 
                 background-position: center center;
 
                 background-position: center center;
 
                 background-repeat: no-repeat;
 
                 background-repeat: no-repeat;
 
                 background-attachment: fixed;
 
                 background-attachment: fixed;
                 background-size: cover;}
+
                 background-size: cover;
  #shanda{
+
}
  width: 320px;
+
#shanda{
  height:120px;}
+
width: 320px;
  #mathworks{
+
height:120px;
  width: 240px;
+
}
  height:90px;}
+
#mathworks{
  #header{
+
width: 240px;
  height: 60px; }
+
height:90px;
  #major{
+
}
  margin: 0px 60px;
+
#header{
  background-color: #ebf7f6;
+
height: 60px;
  padding: 100px 60px;
+
}
  font-size: 1.2em;}
+
#major{
 +
margin: 0px 60px;
 +
background-color: #ebf7f6;
 +
padding: 100px 60px;
 +
font-size: 1.2em;
 +
}

Revision as of 09:20, 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; }

  1. 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;

}

  1. content{

background-image: url(图片/flowers.png);

               background-position: center center;
               background-repeat: no-repeat;
               background-attachment: fixed;
               background-size: cover;

}

  1. shanda{

width: 320px; height:120px; }

  1. mathworks{

width: 240px; height:90px; }

  1. header{

height: 60px; }

  1. major{

margin: 0px 60px; background-color: #ebf7f6; padding: 100px 60px; font-size: 1.2em; }