Difference between revisions of "Template:Nanjing-China/css/style"

 
(9 intermediate revisions by the same user not shown)
Line 88: Line 88:
 
.btn { display: inline-block; padding: 14px 30px; margin-bottom: 0; font-size: 13px; font-weight: 800;  
 
.btn { display: inline-block; padding: 14px 30px; margin-bottom: 0; font-size: 13px; font-weight: 800;  
 
     letter-spacing: 1px; line-height: 1.42857143; text-align: center; border: none;  
 
     letter-spacing: 1px; line-height: 1.42857143; text-align: center; border: none;  
     text-transform: uppercase; border-radius: 100px;font-family: 'Montserrat', sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;}
+
     text-transform: uppercase; border-radius: 100px;font-family: 'Montserrat', sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;right:30px;}
.btn-default { color:#fcfcfd!important; background-color: #aa9144; }
+
.btn-default { color:#fcfcfd!important; background-color: #aa9144!important;float:right; }
 
.btn-default:hover { color: #fff; background-color: #8e7424; border-color: #8e7424; }
 
.btn-default:hover { color: #fff; background-color: #8e7424; border-color: #8e7424; }
 
.btn-default.focus, .btn-default:focus { color: #fff; background-color: #8e7424; border-color: #8e7424; }
 
.btn-default.focus, .btn-default:focus { color: #fff; background-color: #8e7424; border-color: #8e7424; }
Line 115: Line 115:
  
 
.space-small { padding-top: 40px; padding-bottom: 40px; }
 
.space-small { padding-top: 40px; padding-bottom: 40px; }
.space-medium { padding-top: 100px; padding-bottom: 100px; }
+
.space-medium { padding-top: 100px; }
 
.space-large { padding-top: 120px; padding-bottom: 120px; }
 
.space-large { padding-top: 120px; padding-bottom: 120px; }
 
.space-ex-large { padding-top: 140px; padding-bottom: 140px; }
 
.space-ex-large { padding-top: 140px; padding-bottom: 140px; }
Line 238: Line 238:
 
.cta-block { }
 
.cta-block { }
 
.cta-title { font-size: 32px; font-weight: 700; letter-spacing: -1px; color: #fff; margin-bottom: 10px; }
 
.cta-title { font-size: 32px; font-weight: 700; letter-spacing: -1px; color: #fff; margin-bottom: 10px; }
.cta-text { font-size: 18px; color: #a2fed4; }
+
.cta-text { font-size: 20px!important; color: #a2fed4; }
 
.cta-content { }
 
.cta-content { }
 
.cta-call, .cta-mail { }
 
.cta-call, .cta-mail { }
Line 245: Line 245:
 
.cta-section {  
 
.cta-section {  
 
     padding-top: 140px; padding-bottom: 140px;  
 
     padding-top: 140px; padding-bottom: 140px;  
     background: linear-gradient(rgba(30, 28, 24, 0.8), rgba(30, 28, 24, 0.8)), rgba(30, 28, 24, 0.8) url(../images/cta-section-img.jpg) no-repeat center; background-size: cover; }
+
     background: linear-gradient(rgba(30, 28, 24, 0.8), rgba(30, 28, 24, 0.8)), rgba(30, 28, 24, 0.8) url(https://static.igem.org/mediawiki/2019/f/f0/T--Nanjing-China--homere.jpg) no-repeat center; background-size: cover; }
 
.cta-caption {  }
 
.cta-caption {  }
 
.cta-title { font-size: 36px; color: #fff; line-height: 58px; font-weight: 600; margin-bottom: 10px; letter-spacing: -1px; }
 
.cta-title { font-size: 36px; color: #fff; line-height: 58px; font-weight: 600; margin-bottom: 10px; letter-spacing: -1px; }
.cta-text { font-size: 18px; color: #fff; margin-bottom: 30px; }
+
.cta-text { font-size: 20px!important; color: #fff; margin-bottom: 30px; }
  
 
/*--------------------------------
 
/*--------------------------------
Line 287: Line 287:
  
 
.logo { }
 
.logo { }
.header { background-color: #fff; z-index: 9999;position:relative;padding-top: 20px; padding-bottom: 20px; }
+
.header { background-color: #fff; z-index: 9999;position:relative;padding-top: 15px; padding-bottom: 10px; }
 
.top-text { text-align: right; }
 
.top-text { text-align: right; }
 
.top-text .text-block { padding-left: 20px; color: #fff; line-height: 18px; }
 
.top-text .text-block { padding-left: 20px; color: #fff; line-height: 18px; }
Line 301: Line 301:
 
     5.2 Navigations Regular
 
     5.2 Navigations Regular
 
   ----------------------------*/
 
   ----------------------------*/
.hero-section { padding-top: 135px; padding-bottom: 135px; background: linear-gradient(rgba(36, 39, 38, 0.5), rgba(36, 39, 38, 0.5)), rgba(36, 39, 38, 0.5) url(../images/hero-img.jpg) no-repeat center; background-size: cover; }
+
.hero-section { padding-top: 135px; padding-bottom: 135px; background: linear-gradient(rgba(36, 39, 38, 0.5), rgba(36, 39, 38, 0.5)), rgba(36, 39, 38, 0.5) url(https://static.igem.org/mediawiki/2019/8/8b/T--Nanjing-China--home.jpg) no-repeat center; background-size: cover; }
 
.hero-caption { padding-top: 100px; padding-bottom: 100px; }
 
.hero-caption { padding-top: 100px; padding-bottom: 100px; }
 
.hero-title { font-size: 46px; color: #fff; line-height: 58px; font-weight: 600; margin-bottom: 30px; letter-spacing: -1px; }
 
.hero-title { font-size: 46px; color: #fff; line-height: 58px; font-weight: 600; margin-bottom: 30px; letter-spacing: -1px; }
Line 330: Line 330:
 
  content: '';
 
  content: '';
 
}*/
 
}*/
#navigation > ul > li.has-sub > a:before { position: absolute; right: 14px; -webkit-transition: all .25s ease; -moz-transition: all .25s ease; -ms-transition: all .25s ease; -o-transition: all .25s ease; transition: all .25s ease; }
+
#navigation > ul > li.has-sub > a:before { position: absolute; right: 14px; font-family: FontAwesome; content: "\f107"; -webkit-transition: all .25s ease; -moz-transition: all .25s ease; -ms-transition: all .25s ease; -o-transition: all .25s ease; transition: all .25s ease; }
  
 
/*#navigation > ul > li.has-sub:hover > a:before {
 
/*#navigation > ul > li.has-sub:hover > a:before {
Line 387: Line 387:
 
     5.4 Page Header
 
     5.4 Page Header
 
----------------------------------------------*/
 
----------------------------------------------*/
.page-header { background: linear-gradient(rgba(36, 39, 38, 0.5), rgba(36, 39, 38, 0.5)), rgba(36, 39, 38, 0.5) url(../images/page-header.jpg) no-repeat center; background-size: cover; margin: 0; border-bottom: none; padding-bottom: 0px; }
+
.page-header { background: linear-gradient(rgba(36, 39, 38, 0.5), rgba(36, 39, 38, 0.5)), rgba(36, 39, 38, 0.5) url(https://static.igem.org/mediawiki/2019/8/8b/T--Nanjing-China--home.jpg) no-repeat center; background-size: cover; margin: 0; border-bottom: none; padding-bottom: 0px; }
 
.page-caption { padding: 120px 0px; position: relative; z-index: 1; color: #fff; text-align: center; }
 
.page-caption { padding: 120px 0px; position: relative; z-index: 1; color: #fff; text-align: center; }
 
.page-title { color: #fff;  font-size: 40px; font-weight: 400; letter-spacing: -1px; }
 
.page-title { color: #fff;  font-size: 40px; font-weight: 400; letter-spacing: -1px; }

Latest revision as of 11:48, 21 October 2019