Difference between revisions of "Team:XJTLU-CHINA/css/main"

 
(23 intermediate revisions by 4 users not shown)
Line 5: Line 5:
 
#contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .visualClear {
 
#contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .visualClear {
 
display: none;
 
display: none;
 +
}
 +
 +
.text-center {
 +
  text-align: center;
 
}
 
}
  
Line 13: Line 17:
 
#HQ_page p{
 
#HQ_page p{
 
     margin: 0 auto;
 
     margin: 0 auto;
 +
    text-align: justify;
  
 
}
 
}
Line 78: Line 83:
 
.verticalLine {
 
.verticalLine {
 
     border-left: 2px dotted #808080;
 
     border-left: 2px dotted #808080;
    padding-left: 2em;
 
 
     float: right;
 
     float: right;
 +
    height: 385px;
 
}
 
}
 
.socialBar{
 
.socialBar{
Line 110: Line 115:
 
   font-weight: 400;
 
   font-weight: 400;
 
}
 
}
@media (min-width: 768px) {
+
 
 +
 
 +
 
  
  
Line 127: Line 134:
 
}
 
}
  
.headline {
 
    padding: 0;
 
}
 
  
.headline h1 {
 
    font-size: 130px;
 
    color: white;
 
  
}
+
  
.headline h2 {
 
    font-size: 77px;
 
    color: white;
 
}
 
  
.featurette-divider {
 
    margin: 80px 0;
 
}
 
 
.featurette {
 
    overflow: hidden;
 
}
 
 
.featurette-image.pull-left {
 
    margin-right: 40px;
 
}
 
 
.featurette-image.pull-right {
 
    margin-left: 40px;
 
}
 
 
.featurette-heading {
 
    font-size: 50px;
 
}
 
 
}
 
 
footer {
 
  color: white;
 
 
 
}
 
 
footer h3 {
 
  margin-bottom: 30px;
 
  font: Helvetica;
 
  text-transform: uppercase;
 
  font-weight: 700;
 
}
 
 
footer p{
 
font-size: 20px;
 
}
 
footer ul{
 
font-size: 20px;
 
}
 
footer .footer-above {
 
  padding-top: 30px;
 
  background-color: #2C3E50;
 
}
 
footer .footer-col {
 
  margin-bottom: 50px;
 
 
   
 
   
 
}
 
footer .footer-below {
 
  padding: 25px 0;
 
  background-color: #233140;
 
 
 
}
 
 
@media (min-width: 767px) {
 
 
.btn-outline {
 
.btn-outline {
 
   color: white;
 
   color: white;
Line 226: Line 166:
 
   line-height: 45px;
 
   line-height: 45px;
 
}
 
}
 +
 +
.headline {
 +
    padding: 120px 0;
 
}
 
}
  
@media(max-width:1200px) {
+
.headline h1 {
    .headline h1 {
+
    font-size: 130px;
        font-size: 140px;
+
 
    }
+
}
  
    .headline h2 {
+
.headline h2 {
        font-size: 63px;
+
    font-size: 77px;
    }
+
 
 +
}
  
    .featurette-divider {
+
.featurette-divider {
        margin: 50px 0;
+
    margin: 80px 0;
    }
+
}
  
    .featurette-image.pull-left {
+
.featurette {
        margin-right: 20px;
+
    overflow: hidden;
    }
+
}
  
    .featurette-image.pull-right {
+
.featurette-image.pull-left {
        margin-left: 20px;
+
    margin-right: 40px;
    }
+
}
  
    .featurette-heading {
+
.featurette-image.pull-right {
        font-size: 35px;
+
    margin-left: 40px;
    }
+
 
}
 
}
  
@media(max-width:991px) {
+
.featurette-heading {
     .headline h1 {
+
     font-size: 50px;
        font-size: 105px;
+
}
    }
+
  
    .headline h2 {
 
        font-size: 50px;
 
    }
 
  
    .featurette-divider {
 
        margin: 40px 0;
 
    }
 
  
    .featurette-image {
 
        max-width: 50%;
 
    }
 
  
    .featurette-image.pull-left {
+
.navbar-brand{
        margin-right: 10px;
+
  margin-top: 10px;
    }
+
 
+
    .featurette-image.pull-right {
+
        margin-left: 10px;
+
    }
+
 
+
    .featurette-heading {
+
        font-size: 30px;
+
    }
+
 
}
 
}
  
@media(max-width:768px) {
+
nav nav-bar{
     .container {
+
     margin-top: 10px;
        margin: 0 15px;
+
    }
+
 
+
    .featurette-divider {
+
        margin: 40px 0;
+
    }
+
 
+
    .featurette-heading {
+
        font-size: 25px;
+
    }
+
 
}
 
}
  
@media(max-width:668px) {
+
.mw-content-ltr ul, .mw-content-rtl .mw-content-ltr ul{
     .headline h1 {
+
     padding: 15px;
        font-size: 70px;
+
     font-size: 20px;
     }
+
 
+
    .headline h2 {
+
        font-size: 32px;
+
    }
+
 
+
    .featurette-divider {
+
        margin: 30px 0;
+
    }
+
 
}
 
}
  
@media(max-width:640px) {
 
    .headline {
 
        padding: 75px 0 25px 0;
 
    }
 
  
    .headline h1 {
 
        font-size: 60px;
 
    }
 
  
    .headline h2 {
+
#topcontrol {
        font-size: 30px;
+
  color: #fff;
    }
+
  z-index: 99;
 +
  width: 30px;
 +
  height: 30px;
 +
  font-size: 20px;
 +
  background: #222;
 +
  position: relative;
 +
  right: 14px !important;
 +
  bottom: 11px !important;
 +
  border-radius: 3px !important;
 
}
 
}
  
@media(max-width:375px) {
+
#topcontrol:after {
    .featurette-divider {
+
  top: -2px;
        margin: 10px 0;
+
  left: 8.5px;
    }
+
  content: "\f106";
 
+
  position: absolute;
    .featurette-image {
+
  text-align: center;
        max-width: 100%;
+
  font-family: FontAwesome;
    }
+
 
+
    .featurette-image.pull-left {
+
        margin-right: 0;
+
        margin-bottom: 10px;
+
    }
+
 
+
    .featurette-image.pull-right {
+
        margin-bottom: 10px;
+
        margin-left: 0;
+
    }
+
 
}
 
}
  
 
+
#topcontrol:hover {
footer-socials {
+
  color: #fff;
margin-top: 12px;
+
  background: #72c02c;
text-align: right;
+
  -webkit-transition: all 0.3s ease-in-out;
 +
  -moz-transition: all 0.3s ease-in-out;
 +
  -o-transition: all 0.3s ease-in-out;
 +
  transition: all 0.3s ease-in-out;
 
}
 
}
  
.footer-socials li a {
+
footer .contanier{
color: #fff;
+
    width: 1500px;
font-size: 16px;
+
 
}
 
}
  
 
+
nav ul{
 
+
    text-align: left;
@media (max-width: 991px) {
+
.footer-socials {
+
text-align: left;
+
}
+
 
+
 
}
 
}

Latest revision as of 14:45, 19 October 2016

  1. menu_MainPage, #content_MainPage, .rightColumn_Submenu, .submenu, #sideMenu, .logo_2016{

display:none; }

  1. contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .visualClear {

display: none; }

.text-center {

  text-align: center;

}

  1. topBanner, #topBannerText{

display:none; }

  1. HQ_page p{
   margin: 0 auto;
   text-align: justify;

} .centerImage {

   text-align:center;
   display:block;

}

.wraptocenter {

 display: block;
 text-align: center;
 vertical-align: middle;
 width: 200px;
 height: 200px;
 background-color: #999;
 marign: 0 auto;

}

  1. sideMenu .sideMenuTitle, #sideMenu .expand_subMenus, #sideMenu .switch_Menus{
   display:none;

}

  1. logo-2016, #firstHeading, .firstHeading, #menu_MainPage {
   display: none;

}

  1. top-section {
   margin:auto;

}

  1. top_menu_inside {
  background-color: transparent;
  margin-left: 390px; 

}

  1. globalWrapper, #content {
   width: 100%;
   height: 100%;
   border: 0px;
   background-color: transparent;
   margin: 0 auto;
   padding: 0px;
   font-size: 100%;
 marign: 0 auto;

}

html, body, .wrapper {

   width: 100%;
   height: 100%;
   background-color: transparent;
   marign: 0 auto;

}

.headerBreak{

 width:100%;
 height:2px;
 background-color:white;
 display:none;
 margin-bottom:10px;

}


.verticalLine {

   border-left: 2px dotted #808080;
   float: right;
   height: 385px;

} .socialBar{

   background-color: #0085D5;
   margin:0 auto;
   overflow: hidden;

} .socialBar ul{

   padding: 0 9px;
   margin: 0 auto;
   color: white;
   font: robotoregular;

}


a {

 -webkit-transition: all 0.2s ease-in-out;
 -moz-transition: all 0.2s ease-in-out;
 transition: all 0.2s ease-in-out;

} a:hover, a:focus {

 text-decoration: none;
 color: #1d9b6c;

} .light {

 font-weight: 400;

}



.header-image {

   margin: 0 auto;
   margin-top: -25px;
   display: block;
   width: 100%;
   height: 897px;
   text-align: center;
   background: url('https://static.igem.org/mediawiki/2016/0/07/Headerimage.png') ;
   -webkit-background-size: cover;
   -moz-background-size: cover;
   background-size: cover;
   -o-background-size: cover;

}




.btn-outline {

 color: white;
 font-size: 20px;
 border: solid 2px white;
 background: transparent;
 transition: all 0.3s ease-in-out;

} .btn-outline:hover, .btn-outline:focus, .btn-outline:active, .btn-outline.active {

 color: #18BC9C;
 background: white;
 border: solid 2px white;

}

.btn-social {

 display: inline-block;
 height: 50px;
 width: 50px;
 border: 2px solid white;
 border-radius: 100%;
 text-align: right;
 font-size: 20px;
 line-height: 45px;

}

.headline {

   padding: 120px 0;

}

.headline h1 {

   font-size: 130px;
 

}

.headline h2 {

   font-size: 77px;
  

}

.featurette-divider {

   margin: 80px 0;

}

.featurette {

   overflow: hidden;

}

.featurette-image.pull-left {

   margin-right: 40px;

}

.featurette-image.pull-right {

   margin-left: 40px;

}

.featurette-heading {

   font-size: 50px;

}



.navbar-brand{

  margin-top: 10px;

}

nav nav-bar{

   margin-top: 10px;

}

.mw-content-ltr ul, .mw-content-rtl .mw-content-ltr ul{

   padding: 15px;
   font-size: 20px;

}


  1. topcontrol {
 color: #fff;
 z-index: 99;
 width: 30px;
 height: 30px;
 font-size: 20px;
 background: #222;
 position: relative;
 right: 14px !important;
 bottom: 11px !important;
 border-radius: 3px !important;

}

  1. topcontrol:after {
 top: -2px;
 left: 8.5px;
 content: "\f106";
 position: absolute;
 text-align: center;
 font-family: FontAwesome;

}

  1. topcontrol:hover {
 color: #fff;
 background: #72c02c;
 -webkit-transition: all 0.3s ease-in-out;
 -moz-transition: all 0.3s ease-in-out;
 -o-transition: all 0.3s ease-in-out;
 transition: all 0.3s ease-in-out;

}

footer .contanier{

   width: 1500px;

}

nav ul{

    text-align: left;

}