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

Line 35: Line 35:
 
   position: absolute;
 
   position: absolute;
 
}
 
}
 
  
 
/**
 
/**
Line 44: Line 43:
 
   width: 100%;
 
   width: 100%;
 
   background-repeat: no-repeat;
 
   background-repeat: no-repeat;
   background-attachment:fixed;
+
   background-attachment: fixed;
 
   background-size: 100%;
 
   background-size: 100%;
 
   text-align: center !important;
 
   text-align: center !important;
Line 83: Line 82:
 
--  3.0 navigation
 
--  3.0 navigation
 
*/
 
*/
 
  
 
@media screen and (min-width: 1024px) {
 
@media screen and (min-width: 1024px) {
Line 162: Line 160:
 
   .nav-adjust > .nav-container div > ul > li > a, .navbar-brand a,
 
   .nav-adjust > .nav-container div > ul > li > a, .navbar-brand a,
 
   .navbar-inverse .navbar-nav > li > a:focus {
 
   .navbar-inverse .navbar-nav > li > a:focus {
     margin: auto 0 auto -15px;
+
     margin: auto 0 auto -20px;
 
     /*background: red;*/
 
     /*background: red;*/
 
   }
 
   }
Line 258: Line 256:
  
 
}
 
}
 +
 
@media screen and (max-width: 768px) and (min-width: 641px) {
 
@media screen and (max-width: 768px) and (min-width: 641px) {
 
   .page-story > article {
 
   .page-story > article {
Line 274: Line 273:
 
     margin: -15px;
 
     margin: -15px;
 
   }
 
   }
    .container-fluid {
+
 
 +
  .container-fluid {
 
     margin-bottom: -300px;
 
     margin-bottom: -300px;
 
   }
 
   }
Line 284: Line 284:
 
   border: none;
 
   border: none;
 
}
 
}
 +
 
.page-header {
 
.page-header {
 
   margin: 40px 0;
 
   margin: 40px 0;
Line 291: Line 292:
 
   color: #278A75;
 
   color: #278A75;
 
}
 
}
 +
 
article[id="achievement"] h2,
 
article[id="achievement"] h2,
 
article[id="achievement"] h3,
 
article[id="achievement"] h3,
 
article[id="achievement"] h4,
 
article[id="achievement"] h4,
 
article[id="achievement"] h5 {
 
article[id="achievement"] h5 {
color: #D3853D
+
  color: #D3853D
 
}
 
}
  
Line 329: Line 331:
 
   color: #308276;
 
   color: #308276;
 
}
 
}
 
  
 
article[id="modeling"] a,
 
article[id="modeling"] a,
Line 362: Line 363:
 
   text-decoration: none;
 
   text-decoration: none;
 
}
 
}
 +
 
article a:visited:hover {
 
article a:visited:hover {
 
   color: #D3853D;
 
   color: #D3853D;
 
}
 
}
 +
 
article a:visited {
 
article a:visited {
 
   color: #278A75;
 
   color: #278A75;
 
}
 
}
 +
 
article a:hover {
 
article a:hover {
 
   color: #D3853D;
 
   color: #D3853D;
 
   text-decoration: none;
 
   text-decoration: none;
 
}
 
}
 
  
 
article h2 {
 
article h2 {
Line 379: Line 382:
 
   border-bottom: 1px solid #eee;
 
   border-bottom: 1px solid #eee;
 
}
 
}
 +
 
article h3 {
 
article h3 {
 
   font-size: 20px;
 
   font-size: 20px;
 
}
 
}
 +
 
article p,
 
article p,
 
article blockquote {
 
article blockquote {
Line 389: Line 394:
 
   font-weight: 500;
 
   font-weight: 500;
 
}
 
}
 +
 
article ol {
 
article ol {
 
   font-weight: normal;
 
   font-weight: normal;
Line 394: Line 400:
 
   list-style: decimal outside;
 
   list-style: decimal outside;
 
}
 
}
 +
 
article ol li {
 
article ol li {
 
   font-weight: normal;
 
   font-weight: normal;
 
}
 
}
 +
 
article figure {
 
article figure {
 
   padding: 16px 0;
 
   padding: 16px 0;
 
}
 
}
 +
 
article figure {
 
article figure {
 
   max-width: 100%;;
 
   max-width: 100%;;
 
}
 
}
 +
 
article figure figcaption {
 
article figure figcaption {
 
   text-align: center;
 
   text-align: center;
Line 408: Line 418:
 
   padding: 8px;
 
   padding: 8px;
 
}
 
}
 +
 
article video {
 
article video {
 
   max-width: 100% !important;
 
   max-width: 100% !important;
Line 429: Line 440:
  
 
}
 
}
 +
 
#globalWrapper .reference > ol, .reference > ol {
 
#globalWrapper .reference > ol, .reference > ol {
 
   margin: 0;
 
   margin: 0;
Line 435: Line 447:
 
   counter-reset: counter;
 
   counter-reset: counter;
 
}
 
}
 +
 
div.reference > ol li {
 
div.reference > ol li {
 
   font-style: 12px;
 
   font-style: 12px;
Line 441: Line 454:
 
   margin: 6px 0;
 
   margin: 6px 0;
 
}
 
}
 +
 
div.reference > ol li:before {
 
div.reference > ol li:before {
   content: '['counter(counter)']';
+
   content: '[' counter(counter) ']';
 
   counter-increment: counter;
 
   counter-increment: counter;
 
   display: inline-block;
 
   display: inline-block;
 
   margin-right: 4px;
 
   margin-right: 4px;
 
}
 
}
 
  
 
/**
 
/**
Line 459: Line 472:
 
   background: #ffffff;
 
   background: #ffffff;
 
}
 
}
 +
 
.team-header h3 {
 
.team-header h3 {
 
   margin: 20px auto 20px auto;
 
   margin: 20px auto 20px auto;
Line 465: Line 479:
 
   font-size: 46px;
 
   font-size: 46px;
 
}
 
}
 +
 
.team-header p {
 
.team-header p {
 
   margin-top: 10px;
 
   margin-top: 10px;
Line 502: Line 517:
 
   -o-animation-duration: 0.7s;
 
   -o-animation-duration: 0.7s;
 
   animation-duration: 0.7s;
 
   animation-duration: 0.7s;
   display:block;
+
   display: block;
 
   /*margin:5px 0 7px 5px;*/
 
   /*margin:5px 0 7px 5px;*/
 
   /*padding:3px;*/
 
   /*padding:3px;*/
Line 510: Line 525:
 
   min-height: 438px;
 
   min-height: 438px;
 
}
 
}
 +
 
.self-introduction {
 
.self-introduction {
 
   margin-top: 15px;
 
   margin-top: 15px;
 
   margin-bottom: 30px;
 
   margin-bottom: 30px;
 
}
 
}
 +
 
.right {
 
.right {
 
   padding-right: 30px;
 
   padding-right: 30px;
 
   text-align: left !important;
 
   text-align: left !important;
 
}
 
}
.right > p{
+
 
 +
.right > p {
 
   text-align: left !important;
 
   text-align: left !important;
  
 
}
 
}
 +
 
.left {
 
.left {
 
   padding-left: 30px;
 
   padding-left: 30px;
 
   text-align: right !important;
 
   text-align: right !important;
 
}
 
}
 +
 
.left > p {
 
.left > p {
 
   text-align: right !important;
 
   text-align: right !important;
 
}
 
}
 +
 
.self-introduction h3 {
 
.self-introduction h3 {
 
   margin: 10px auto;
 
   margin: 10px auto;
Line 534: Line 555:
 
   font-size: 20px;
 
   font-size: 20px;
 
}
 
}
 +
 
.self-introduction p {
 
.self-introduction p {
 
   margin: 10px auto;
 
   margin: 10px auto;
Line 540: Line 562:
  
 
@keyframes swing {
 
@keyframes swing {
   20%{
+
   20% {
 
     transform: rotate(15deg);
 
     transform: rotate(15deg);
 
   }
 
   }
Line 546: Line 568:
 
     transform: rotate(-10deg);
 
     transform: rotate(-10deg);
 
   }
 
   }
   60%{
+
   60% {
 
     transform: rotate(5deg);
 
     transform: rotate(5deg);
 
   }
 
   }
   80%{
+
   80% {
 
     transform: rotate(-5deg);
 
     transform: rotate(-5deg);
 
   }
 
   }
   100%{
+
   100% {
 
     transform: rotate(0deg);
 
     transform: rotate(0deg);
 
   }
 
   }
Line 568: Line 590:
 
   animation-name: swing;
 
   animation-name: swing;
 
}
 
}
 
  
 
/**
 
/**
Line 578: Line 599:
 
   border-color: #dedede;
 
   border-color: #dedede;
 
}
 
}
 +
 
.panel-info .panel-heading {
 
.panel-info .panel-heading {
 
   border-color: #dedede;
 
   border-color: #dedede;
Line 583: Line 605:
 
   border-radius: 0;
 
   border-radius: 0;
 
}
 
}
 +
 
.panel-info.bronze {
 
.panel-info.bronze {
 
   border-color: #DA8D41;
 
   border-color: #DA8D41;
 
}
 
}
 +
 
.panel-info.bronze > .panel-heading {
 
.panel-info.bronze > .panel-heading {
 
   background-color: #DA8D41;
 
   background-color: #DA8D41;
 
   border-color: #DA8D41;
 
   border-color: #DA8D41;
 
}
 
}
 +
 
.panel-info.sliver {
 
.panel-info.sliver {
 
   border-color: #dedede;
 
   border-color: #dedede;
 
}
 
}
 +
 
.panel-info.sliver > .panel-heading {
 
.panel-info.sliver > .panel-heading {
 
   background-color: #dedede;
 
   background-color: #dedede;
 
   border-color: #dedede;
 
   border-color: #dedede;
 
}
 
}
 +
 
.panel-info.gold {
 
.panel-info.gold {
 
   border-color: #ffdb76;
 
   border-color: #ffdb76;
 
}
 
}
 +
 
.panel-info.gold > .panel-heading {
 
.panel-info.gold > .panel-heading {
 
   background-color: #ffdb76;
 
   background-color: #ffdb76;
Line 610: Line 638:
 
   font-size: 1.5em;
 
   font-size: 1.5em;
 
}
 
}
 
  
 
/**
 
/**
 
--  7.0 attributions
 
--  7.0 attributions
 
*/
 
*/
 
  
 
.panel-group .panel {
 
.panel-group .panel {
Line 626: Line 652:
 
   border-color: #f0d5ae;
 
   border-color: #f0d5ae;
 
}
 
}
 +
 
.panel-info.attributions > .panel-heading {
 
.panel-info.attributions > .panel-heading {
 
   background-color: #f0d5ae;
 
   background-color: #f0d5ae;
 
   border-color: #f0d5ae;
 
   border-color: #f0d5ae;
 
}
 
}
 
  
 
/**
 
/**
Line 642: Line 668:
 
   background-image: url(https://static.igem.org/mediawiki/2016/3/39/T--BNU-China--sky.jpg);
 
   background-image: url(https://static.igem.org/mediawiki/2016/3/39/T--BNU-China--sky.jpg);
 
}
 
}
 +
 
#practice img {
 
#practice img {
 
   height: 62%;
 
   height: 62%;
Line 650: Line 677:
 
   padding-bottom: 50vh;
 
   padding-bottom: 50vh;
 
}
 
}
 +
 
div.practice-link-left {
 
div.practice-link-left {
 
   position: absolute;
 
   position: absolute;
Line 656: Line 684:
 
   top: 60%;
 
   top: 60%;
 
}
 
}
 +
 
div.practice-link-right {
 
div.practice-link-right {
 
   position: absolute;
 
   position: absolute;
Line 662: Line 691:
 
   top: 60%;
 
   top: 60%;
 
}
 
}
 +
 
div.practice-link-left > a,
 
div.practice-link-left > a,
 
div.practice-link-right > a {
 
div.practice-link-right > a {
Line 667: Line 697:
 
   color: white;
 
   color: white;
 
}
 
}
 +
 
#practice div.practice-main {
 
#practice div.practice-main {
display: inline-block;
+
  display: inline-block;
position: relative;
+
  position: relative;
 
}
 
}

Revision as of 22:53, 14 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
7.0 attributions
8.0 practices
------------------------------------------------
  • /

/** -- 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;
 text-shadow: 0 1px 3px rgba(120, 120, 120, .5);

}

@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 -20px;
   /*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

  • /
  1. named-anchor {
 padding-top: 100px;

}

  1. named-anchor {
 color: inherit;
 text-decoration: none;

}

.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;
 border: none;

}

.page-header {

 margin: 40px 0;

}

article[id="achievement"] a {

 color: #278A75;

}

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

 color: #D3853D

}

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-weight: 500;

}

article > header.page-header h1 {

 font-weight: bolder;
 font-size: 72px;
 text-transform: uppercase;

}

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

}

article a {

 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;

}

article p, article blockquote {

 font-size: 16px;
 line-height: 22px;
 margin-bottom: 16px;
 font-weight: 500;

}

article ol {

 font-weight: normal;
 margin: 0 0 16px 1.5em;
 list-style: decimal outside;

}

article ol li {

 font-weight: normal;

}

article figure {

 padding: 16px 0;

}

article figure {

 max-width: 100%;;

}

article figure figcaption {

 text-align: center;
 color: #278A75;
 padding: 8px;

}

article video {

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

}

.reference {

 padding: 12px 0 0 0;
 border-top: 1px solid #eee;

}

div.reference:before {

 color: #278A75;
 font-size: 18px;
 content: "Reference:";
 line-height: 16px;

}

  1. globalWrapper .reference > ol, .reference > ol {
 margin: 0;
 padding: 0;
 list-style-type: none;
 counter-reset: counter;

}

div.reference > ol li {

 font-style: 12px;
 line-height: 16px;
 color: rgb(102, 102, 102);
 margin: 6px 0;

}

div.reference > ol li:before {

 content: '[' counter(counter) ']';
 counter-increment: counter;
 display: inline-block;
 margin-right: 4px;

}

/** -- 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;
 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;
 color: #ffffff;
 font-size: 1.5em;

}

/** -- 7.0 attributions

  • /

.panel-group .panel {

 border-radius: 0;
 margin: 0 0 16px 0;
 line-height: 24px;

}

.panel-info.attributions {

 border-color: #f0d5ae;

}

.panel-info.attributions > .panel-heading {

 background-color: #f0d5ae;
 border-color: #f0d5ae;

}

/** -- 8.0 practice

  • /

div#practice {

 background-size: 100%;
 background-repeat: no-repeat;
 width: 100%;
 height: 100vh;
 background-image: url(T--BNU-China--sky.jpg);

}

  1. practice img {
 height: 62%;
 width: 100%;

}

  1. practice-heading {
 padding-bottom: 50vh;

}

div.practice-link-left {

 position: absolute;
 font-size: 28px;
 left: 26%;
 top: 60%;

}

div.practice-link-right {

 position: absolute;
 font-size: 28px;
 left: 51%;
 top: 60%;

}

div.practice-link-left > a, div.practice-link-right > a {

 text-decoration: none;
 color: white;

}

  1. practice div.practice-main {
 display: inline-block;
 position: relative;

}