Difference between revisions of "Template:BNU-CHINA/CSS/style-index"

Line 229: Line 229:
 
   background-color: white;
 
   background-color: white;
 
   box-shadow: 0 4px 6px rgba(75, 75, 75, 0.5);
 
   box-shadow: 0 4px 6px rgba(75, 75, 75, 0.5);
 +
  padding: 32px 64px;
 
}
 
}
  

Revision as of 11:42, 8 October 2016

/**----------------------------------------------

>>> Table of Contents:
------------------------------------------------
0.0 global
1.0 main-container
2.0 page-heading
3.0 navigation
4.0 page-story
5.0 team-page
6.0 achievements-page
------------------------------------------------
  • /

/** -- 0.0 global

  • /

.header-color {

 background: #ffffff;
 color: #646464;

}

/** -- 1.0 main-container

  • /

.main-container {

 top: 0;
 left: 0;
 right: 0;
 margin: 0;
 padding: 0;
 background-color: white;
 overflow: auto;
 position: absolute;

}


/** -- 2.0 page-heading

  • /

.page-heading {

 width: 100%;
 background-repeat: no-repeat;
 background-attachment:fixed;
 background-size: 100%;
 text-align: center !important;
 text-transform: uppercase;
 height: 100vh;

}

.page-heading h3 {

 color: #ffffff;
 font-size: 10vw;
 font-weight: bolder;
 font-family: "Avenir", sans-serif;
 margin: 0;
 padding-top: 35vh;
 padding-bottom: 30vh;

}

@media screen and (min-width: 992px) {

 .page-heading h3 {
   padding-top: 20%;
 }

}

@media screen and (min-width: 768px) and (max-width: 992px) {

 .page-heading h3 {
   padding-top: 40%;
 }

}

@media screen and (max-width: 768px) {

 .page-heading h3 {
   padding-top: 30%;
 }

}

/** -- 3.0 navigation

  • /


@media screen and (min-width: 1024px) {

 .nav-container, .nav-adjust {
   background: linear-gradient(to bottom, black, transparent);
   border: 0;
   /*padding-left: 0;*/
   transition: all 0.3s ease-in-out;
   height: 64px;
 }

}

@media screen and (max-width: 1023px) {

 .nav-container, .nav-adjust {
   background: linear-gradient(to bottom, black, #3b3b3b);
   /*background: black;*/
   opacity: 0.9;
   border: 0;
   transition: all 0.3s ease-in-out;
   /*height: 64px;*/
 }

}

  1. taxolightlogo {
 height: 64px;
 width: 64px;
 opacity: 0.8;
 float: left;
 /*margin-left: 10px;*/

}

  1. navbar-brand {
 margin: 7px 14px 7px -7px;
 opacity: 0.8;
 color: white;
 font-weight: 300;

}

  1. navbar-toggle {
 margin: 15px;

}

/*.nav-adjust .scrolled-down {*/ /*background: black;*/ /*border: 0;*/ /*opacity: 0.9;*/ /*transition: all 0.3s ease-in-out;*/ /*}*/

/*.nav-adjust .scrolled-top {*/ /*background: black;*/ /*border: 0;*/ /*opacity: 0.8;*/ /*transition: all 0.3s ease-in-out;*/ /*}*/

  1. bs-example-navbar-collapse-1 {
 margin: 7px 0;

}

.nav-adjust > .nav-container div > ul > li > a, .navbar-brand a, .navbar-inverse .navbar-nav > li > a:focus {

 font-size: 16px;
 font-weight: 300;
 color: #d5d5d5;
 opacity: 0.9;
 transition: all 0.2s ease-in-out;

}

@media screen and (min-width: 1024px) {

 .nav-adjust > .nav-container div > ul > li > a, .navbar-brand a,
 .navbar-inverse .navbar-nav > li > a:focus {
   margin: auto 0 auto 20px;
 }

}

@media screen and (max-width: 1023px) {

 .nav-adjust > .nav-container div > ul > li > a, .navbar-brand a,
 .navbar-inverse .navbar-nav > li > a:focus {
   margin: auto 0 auto -15px;
   /*background: red;*/
 }

}

.nav-adjust > .nav-container div > ul > li.focus > a {

 color: white;
 opacity: 1;
 /*transition: all 0.5s ease-in-out;*/
 font-weight: 400;

}

/*.nav-adjust .scrolled-down div > ul > li.focus > a {*/ /*color: white;*/ /*font-weight: 300;*/ /*opacity: 1;*/ /*transition: all 0.2s ease-in-out;*/ /*}*/

li.dropdown.open ul {

 background: rgba(0, 0, 0, 0.85);
 color: white;
 transition: all 0.2s ease-in-out;
 /*height: 30px;*/

}

li.dropdown.open ul li a {

 color: #b0b0b0;
 transition: all 0.2s ease-in-out;
 font-weight: 300;
 height: 30px;

}

li.dropdown.open ul:hover {

 background: #151515;
 transition: all 0.2s ease-in-out;

}

li.dropdown.open ul:hover li a {

 filter: blur(1px);
 transition: all 0.5s ease-in-out;
 font-weight: 300;

}

li.dropdown.open ul:hover li a {

 filter: blur(1px);
 transition: all 0.5s ease-in-out;
 font-weight: 300;

}

li.dropdown.open ul li a:hover {

 background: black;
 color: #e9e9e9;
 text-shadow: none;
 filter: none;
 transition: all 0.2s ease-in-out;
 height: 40px;

}

/** -- 4.0 page-story

  • /

.page-story {

 padding-bottom: 30px;

}

.page-story > article {

 background-color: white;
 box-shadow: 0 4px 6px rgba(75, 75, 75, 0.5);
 padding: 32px 64px;

}

article {

 margin: 40px;

}

@media screen and (min-width: 768px) and (max-width: 992px) {

 .page-story > article {
   padding: 32px 64px;
 }
 .container-fluid {
   margin-bottom: -620px;
 }

} @media screen and (max-width: 768px) and (min-width: 641px) {

 .page-story > article {
   padding: 16px 10px;
 }
 .container-fluid {
   margin-bottom: -430px;
 }

}

@media screen and (max-width: 640px) {

 .page-story > article {
   padding: 16px 5px;
   margin: -15px;
 }
   .container-fluid {
   margin-bottom: -300px;
 }

}

article > header.page-header {

 text-align: center !important;
 font-family: 'Computer Modern Bright Semibold', sans-serif;
 letter-spacing: -1px;
 font-style: italic;
 border: none;

} .page-header {

 margin: 40px 0;

}

article[id="achievement"] a, article[id="achievement"] h2, article[id="achievement"] h3, article[id="achievement"] h4, article[id="achievement"] h5 {

 color: #604f87;

}

article[id="project"] a, article[id="project"] h2, article[id="project"] h3, article[id="project"] h4, article[id="project"] h5 {

 color: #9c8e11;

}

article[id='modeling'] a, article[id='modeling'] h2, article[id='modeling'] h3, article[id='modeling'] h4, article[id='modeling'] h5 {

 color: #278f45;

}

article[id='practices'] a, article[id='practices'] h2, article[id='practices'] h3, article[id='practices'] h4, article[id='practices'] h5 {

 color: #308276;

}

article[id='safety'] a, article[id='safety'] h2, article[id='safety'] h3, article[id='safety'] h4, article[id='safety'] h5 {

 color: #308276;

}


article[id="modeling"] a, article[id="modeling"] h2, article[id="modeling"] h3, article[id="modeling"] h4, article[id="modeling"] h5 {

 color: #278f45;

}

article h2, article h3, article h4, article h5 {

 font-family: 'Computer Modern Bright Semibold', sans-serif;
 font-weight: 500;

}

article > header.page-header h1 {

 font-weight: 500;
 font-size: 48px;

}

  1. secondary-page-header {
 display: block;
 margin: 12px 0;
 font-size: 24px;
 letter-spacing: 1px;
 color: #777777;

}

article a {

 font-family:'Computer Modern Sans', sans-serif;
 text-decoration: none;

} article a:visited:hover {

 color: #D3853D;

} article a:visited {

 color: #278A75;

} article a:hover {

 color: #D3853D;
 text-decoration: none;

}


article h2 {

 font-size: 26px;
 padding-bottom: 3px;
 border-bottom: 1px solid #eee;

} article h3 {

 font-size: 20px;
 word-spacing: -2px;

} article p, article blockquote {

 font-family: 'Computer Modern Serif', serif;
 font-size: 16px;
 line-height: 22px;
 margin-bottom: 16px;
 word-spacing: 2px;
 font-weight: 500;

} article ol {

 font-family: 'Computer Modern Serif', serif;
 font-weight: normal;
 margin: 0 0 16px 1.5em;
 list-style: decimal outside;

} article ol li {

 font-family: 'Computer Modern Serif', serif;
 font-weight: normal;

}

figure {

 margin: 20px auto;

}

article video {

 max-width: 100% !important;
 height: auto !important;
 background-color: #000;
 background-size: 100% 100%;
 display: block;
 margin: 25px auto;

}

/** -- 5.0 team-page

  • /
  1. team {
 /*margin: 30px auto;*/
 padding-top: 30px;
 padding-bottom: 30px;
 background: #ffffff;

} .team-header h3 {

 margin: 20px auto 20px auto;
 text-align: center !important;
 font-weight: 100;
 font-size: 46px;

} .team-header p {

 margin-top: 10px;
 margin-bottom: 30px;
 letter-spacing: 1px;
 text-align: center !important;
 color: #adbabb;

}

  1. myTab {
 margin-bottom: 30px;

}

  1. team .team-figure {
 cursor: pointer;
 margin: 0;
 padding: 0 !important;

}

.team-figure .pic {

 background-size: cover;
 min-height: 438px;
 transition: all 1.5s;
 -webkit-animation-fill-mode: both;
 -moz-animation-fill-mode: both;
 -ms-animation-fill-mode: both;
 -o-animation-fill-mode: both;
 animation-fill-mode: both;
 -webkit-animation-duration: 0s;
 -moz-animation-duration: 0s;
 -ms-animation-duration: 0s;
 -o-animation-duration: 0s;
 animation-duration: 0s;
 -webkit-animation-duration: 0.7s;
 -moz-animation-duration: 0.7s;
 -ms-animation-duration: 0.7s;
 -o-animation-duration: 0.7s;
 animation-duration: 0.7s;
 display:block;
 /*margin:5px 0 7px 5px;*/
 /*padding:3px;*/

}

.team-intro {

 min-height: 438px;

} .self-introduction {

 margin-top: 15px;
 margin-bottom: 30px;

} .right {

 padding-right: 30px;
 text-align: left !important;

} .right > p{

 text-align: left !important;

} .left {

 padding-left: 30px;
 text-align: right !important;

} .left > p {

 text-align: right !important;

} .self-introduction h3 {

 margin: 10px auto;
 font-weight: 100;
 font-size: 20px;

} .self-introduction p {

 margin: 10px auto;
 color: #adbabb;

}

@keyframes swing {

 20%{
   transform: rotate(15deg);
 }
 40% {
   transform: rotate(-10deg);
 }
 60%{
   transform: rotate(5deg);
 }
 80%{
   transform: rotate(-5deg);
 }
 100%{
   transform: rotate(0deg);
 }

}

.team-figure .pic:hover, .team-figure:hover > .pic {

 -webkit-transform-origin: top center;
 -moz-transform-origin: top center;
 -o-transform-origin: top center;
 transform-origin: top center;
 -webkit-animation-name: swing;
 -moz-animation-name: swing;
 -o-animation-name: swing;
 animation-name: swing;

}


/** -- 6.0 Achievements-page

  • /

.panel-info {

 border-radius: 0;
 border-color: #dedede;

} .panel-info .panel-heading {

 border-color: #dedede;
 background-color: #dedede;
 border-radius: 0;

} .panel-info.bronze {

 border-color: #DA8D41;

} .panel-info.bronze > .panel-heading {

 background-color: #DA8D41;
 border-color: #DA8D41;

} .panel-info.sliver {

 border-color: #dedede;

} .panel-info.sliver > .panel-heading {

 background-color: #dedede;
 border-color: #dedede;

} .panel-info.gold {

 border-color: #ffdb76;

} .panel-info.gold > .panel-heading {

 background-color: #ffdb76;
 border-color: #ffdb76;

}

span.medal {

 font-weight: 700;
 font-family: 'Computer Modern Bright Semibold', sans-serif;
 color: #ffffff;
 font-size: 1.5em;

}