Difference between revisions of "Team:Tec-Monterrey/Templates/Tec-Monterrey General Format"

Line 7: Line 7:
 
     <!-- Bootstrap Core CSS -->
 
     <!-- Bootstrap Core CSS -->
 
<link href="https://2018.igem.org/Team:Tec-Monterrey/CSS/bootstrapmin?action=raw&amp;ctype=text/css" rel="stylesheet" type="text/css">     
 
<link href="https://2018.igem.org/Team:Tec-Monterrey/CSS/bootstrapmin?action=raw&amp;ctype=text/css" rel="stylesheet" type="text/css">     
<link href="https://2018.igem.org/Team:Tec-Monterrey/CSS/bootstrapStylishPortfolio?action=raw&amp;ctype=text/css" rel="stylesheet" type="text/css">
 
  
 
<script>
 
<script>
Line 33: Line 32:
 
#bodyContent h4 {
 
#bodyContent h4 {
 
     font-weight: bold;
 
     font-weight: bold;
 +
}
 +
body, html {
 +
  width: 100%;
 +
  height: 100%;
 +
}
 +
body {
 +
  font-family:sans-serif;
 +
}
 +
.btn-xl {
 +
  padding: 1.25rem 2.5rem;
 
}
 
}
  
/*************************** RESPONSIVE STYLING *************************************/
+
h1, h2, h3, h4, h5, h6 {
 +
  font-weight: 700;
 +
}
 +
.text-faded {
 +
  color: rgba(255, 255, 255, 0.7);
 +
}
 +
.scroll-to-top {
 +
  position: fixed;
 +
  right: 10px;
 +
  bottom: 10px;
 +
  display: none;
 +
  width: 50px;
 +
  height: 50px;
 +
  text-align: center;
 +
  color: white;
 +
  background: rgba(52, 58, 64, 0.5);
 +
  line-height: 45px;
 +
}
  
/* IF THE SCREEN IS LESS THAN 1200PX */
+
.scroll-to-top:focus, .scroll-to-top:hover {
@media only screen and (max-width: 1200px) {
+
  color: white;
 +
}
  
#content {width:100%; }
+
.scroll-to-top:hover {
.igem_2017_menu_wrapper {width:15%; right:0;}
+
  background: #343a40;
.highlight {padding:10px 0px;}
+
}
.igem_2017_menu_wrapper #display_menu_control { display:none; }
+
#menu_content { display:none;}
+
.menu_button.direct_to_page {padding-left: 17px;}
+
+
}
+
  
/* IF THE SCREEN IS LESS THAN 800PX */
+
.scroll-to-top i {
@media only screen and (max-width: 800px) {
+
  font-weight: 800;
 +
}
 +
 
 +
#myVideo {
 +
    position:absolute;
 +
    right: 0;
 +
    bottom: 0;
 +
    max-width: 100%;
 +
}
 +
 
 +
.masthead {
 +
  min-height: 30rem;
 +
  position: relative;
 +
  width: 100%;
 +
  padding-top: 8rem;
 +
  padding-bottom: 8rem;
 +
    color: rgba(57,187,104,0.7)
 +
}
 +
 
 +
.masthead h1 {
 +
  font-size: 4rem;
 +
  margin: 0;
 +
  padding: 0;
 +
}
 +
 
 +
@media (min-width: 992px) {
 +
  .masthead {
 +
    height: 100vh;
 +
  }
 +
  .masthead h1 {
 +
    font-size: 5.5rem;
 +
  }
 +
}
 +
 
 +
#project {
 +
    -webkit-transition: height 4s;
 +
  -moz-transition: height 4s;
 +
  -ms-transition: height 4s;
 +
  -o-transition: height 4s;
 +
    transition: height 4s;
 +
    height: auto;
 +
    background-image: url('/img/logoOficialCirculos.png');
 +
    background-repeat: no-repeat;
 +
    background-position: center;
 +
    background-size: contain;
 +
}
 +
 
 +
#project.active {
 +
    -webkit-transition: height 4s;
 +
  -moz-transition: height 4s;
 +
  -ms-transition: height 4s;
 +
  -o-transition: height 4s;
 +
    transition: height 4s;
 +
    height: 100%;
 +
    background-image: url('/img/logoOficialCirculos.png');
 +
    background-repeat: no-repeat;
 +
    background-position: center;
 +
    background-size: contain;
 +
}
 +
 
 +
/* Side Menu */
 +
#sidebar-wrapper {
 +
  position: fixed;
 +
  z-index: 2;
 +
  right: 0;
 +
  top: 20px;
 +
  width: 250px;
 +
  height: 100%;
 +
  -webkit-transition: all 0.4s ease 0s;
 +
  -moz-transition: all 0.4s ease 0s;
 +
  -ms-transition: all 0.4s ease 0s;
 +
  -o-transition: all 0.4s ease 0s;
 +
  transition: all 0.4s ease 0s;
 +
  transform: translateX(250px);
 +
  background: #1D809F;
 +
  border-left: 1px solid rgba(255, 255, 255, 0.1);
 +
}
 +
 
 +
.sidebar-nav {
 +
  position: absolute;
 +
  top: 0;
 +
  width: 300px;
 +
  margin: 0;
 +
  padding: 0;
 +
  list-style: none;
 +
}
 +
 
 +
.sub-sidebar-nav {
 +
  width:inherit;
 +
  list-style-type: none;
 +
    margin: 0;
 +
    padding: 0;
 +
  position:static;
 +
}
 +
 
 +
.sidebar-nav li.sidebar-nav-item a {
 +
  display: block;
 +
  text-decoration: none;
 +
  color: #fff;
 +
  padding: 10px;
 +
}
 +
 
 +
.sidebar-nav-subitem {
 +
    list-style-type: none;
 +
    list-style: none;
 +
    text-decoration: none;
 +
    margin: 0;
 +
    padding: 0;
 +
    color: black;
 +
    background: black;
 +
    padding: 10px;
 +
}
 +
 
 +
.sidebar-nav li a:hover {
 +
  text-decoration: none;
 +
  color: #000;
 +
  background: rgba(255, 255, 255, 0.2);
 +
}
 +
 
 +
.sidebar-nav li a:active,
 +
.sidebar-nav li a:focus {
 +
  text-decoration: none;
 +
}
 +
 
 +
.sidebar-nav > .sidebar-brand {
 +
  font-size: 1.2rem;
 +
  background: rgba(52, 58, 64, 0.1);
 +
  height: 80px;
 +
  line-height: 50px;
 +
  padding-top: 15px;
 +
  padding-bottom: 15px;
 +
  padding-left: 15px;
 +
    position:relative;
 +
}
 +
 
 +
.sidebar-nav > .sidebar-brand a {
 +
  color: #fff;
 +
}
 +
 
 +
.sidebar-nav > .sidebar-brand a:hover {
 +
  color: #fff;
 +
  background: none;
 +
}
 +
 
 +
.brand-hider {
 +
    width: 298px;
 +
    height: 78px;
 +
    margin: 0;
 +
    padding: 0;
 +
    background: black;
 +
    position: absolute;
 +
    left: 0;
 +
    top: 1px;
 +
    -webkit-transition: all 1s ease 0s;
 +
  -moz-transition: all 1s ease 0s;
 +
  -ms-transition: all 1s ease 0s;
 +
  -o-transition: all 1s ease 0s;
 +
  transition: all 1s ease 0s;
 +
}
 +
 
 +
.brand-hider.active {
 +
    width: 10px;
 +
    right: 10px;
 +
    -webkit-transition: all 1s ease 0s;
 +
  -moz-transition: all 1s ease 0s;
 +
  -ms-transition: all 1s ease 0s;
 +
  -o-transition: all 1s ease 0s;
 +
  transition: all 1s ease 0s;
 +
}
 +
 
 +
#sidebar-wrapper.active{
 +
  right: 250px;
 +
  width: 300px;
 +
  -webkit-transition: all 0.4s ease 0s;
 +
  -moz-transition: all 0.4s ease 0s;
 +
  -ms-transition: all 0.4s ease 0s;
 +
  -o-transition: all 0.4s ease 0s;
 +
  transition: all 0.4s ease 0s;
 +
 
 +
}
 +
 
 +
.menu-toggle {
 +
  position: fixed;
 +
  right: 10px;
 +
  top: 30px;
 +
  width: 60px;
 +
  height: 60px;
 +
  text-align: center;
 +
  color: #fff;
 +
  background: rgba(52, 58, 64, 0.5);
 +
  line-height: 50px;
 +
  z-index: 999;
 +
  -webkit-transition: all 0.4s ease 0s;
 +
  -moz-transition: all 0.4s ease 0s;
 +
  -ms-transition: all 0.4s ease 0s;
 +
  -o-transition: all 0.4s ease 0s;
 +
  transition: all 0.4s ease 0s;
 +
}
 +
 
 +
.menu-toggle:focus, .menu-toggle:hover {
 +
  color: #fff;
 +
}
 +
 
 +
.menu-toggle:hover {
 +
  background: #343a40;
 +
}
 +
 
 +
.service-icon {
 +
  background-color: #fff;
 +
  color: #1D809F;
 +
  height: 7rem;
 +
  width: 7rem;
 +
  display: block;
 +
  line-height: 7.5rem;
 +
  font-size: 2.25rem;
 +
  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
 +
}
 +
 
 +
.callout {
 +
  padding: 15rem 0;
 +
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%), url("../img/bg-callout.jpg");
 +
  background-position: center center;
 +
  background-repeat: no-repeat;
 +
  background-size: cover;
 +
}
 +
 
 +
.callout h2 {
 +
  font-size: 3.5rem;
 +
  font-weight: 700;
 +
  display: block;
 +
  max-width: 30rem;
 +
}
 +
 
 +
.portfolio-item {
 +
  display: block;
 +
  position: relative;
 +
  overflow: hidden;
 +
  max-width: 530px;
 +
  margin: auto auto 1rem;
 +
}
 +
 
 +
.portfolio-item .caption {
 +
  display: flex;
 +
  height: 100%;
 +
  width: 100%;
 +
  background-color: rgba(33, 37, 41, 0.2);
 +
  position: absolute;
 +
  top: 0;
 +
  bottom: 0;
 +
  z-index: 1;
 +
}
 +
 
 +
.portfolio-item .caption .caption-content {
 +
  color: #fff;
 +
  margin: auto 2rem 2rem;
 +
}
 +
 
 +
.portfolio-item .caption .caption-content h2 {
 +
  font-size: 0.8rem;
 +
  text-transform: uppercase;
 +
}
 +
 
 +
.portfolio-item .caption .caption-content p {
 +
  font-weight: 300;
 +
  font-size: 1.2rem;
 +
}
 +
 
 +
@media (min-width: 992px) {
 +
  .portfolio-item {
 +
    max-width: none;
 +
    margin: 0;
 +
  }
 +
  .portfolio-item .caption {
 +
    -webkit-transition: -webkit-clip-path 0.25s ease-out, background-color 0.7s;
 +
    -webkit-clip-path: inset(0px);
 +
    clip-path: inset(0px);
 +
  }
 +
  .portfolio-item .caption .caption-content {
 +
    transition: opacity 0.25s;
 +
    margin-left: 5rem;
 +
    margin-right: 5rem;
 +
    margin-bottom: 5rem;
 +
  }
 +
  .portfolio-item img {
 +
    -webkit-transition: -webkit-clip-path 0.25s ease-out;
 +
    -webkit-clip-path: inset(-1px);
 +
    clip-path: inset(-1px);
 +
  }
 +
  .portfolio-item:hover img {
 +
    -webkit-clip-path: inset(2rem);
 +
    clip-path: inset(2rem);
 +
  }
 +
  .portfolio-item:hover .caption {
 +
    background-color: rgba(29, 128, 159, 0.9);
 +
    -webkit-clip-path: inset(2rem);
 +
    clip-path: inset(2rem);
 +
  }
 +
}
 +
 
 +
footer.footer {
 +
  padding-top: 5rem;
 +
  padding-bottom: 5rem;
 +
}
 +
 
 +
footer.footer .social-link {
 +
  display: block;
 +
  height: 4rem;
 +
  width: 4rem;
 +
  line-height: 4.3rem;
 +
  font-size: 1.5rem;
 +
  background-color: #1D809F;
 +
  transition: background-color 0.15s ease-in-out;
 +
  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
 +
}
 +
 
 +
footer.footer .social-link:hover {
 +
  background-color: #155d74;
 +
  text-decoration: none;
 +
}
 +
 
 +
a {
 +
  color: #1D809F;
 +
}
 +
 
 +
a:hover, a:focus, a:active {
 +
  color: #155d74;
 +
}
 +
 
 +
.btn-primary {
 +
  background-color: #1D809F !important;
 +
  border-color: #1D809F !important;
 +
  color: #fff !important;
 +
}
 +
 
 +
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
 +
  background-color: #155d74 !important;
 +
  border-color: #155d74 !important;
 +
}
 +
 
 +
.btn-secondary {
 +
  background-color: #ecb807 !important;
 +
  border-color: #ecb807 !important;
 +
  color: #fff !important;
 +
}
 +
 
 +
.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active {
 +
  background-color: #ba9106 !important;
 +
  border-color: #ba9106 !important;
 +
}
 +
 
 +
.btn-dark {
 +
  color: #fff !important;
 +
}
 +
 
 +
.btn {
 +
  box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.1);
 +
  font-weight: 700;
 +
}
 +
 
 +
.bg-primary {
 +
  background-color: #1D809F !important;
 +
}
 +
 
 +
.text-primary {
 +
  color: #1D809F !important;
 +
}
 +
 
 +
.text-secondary {
 +
  color: #ecb807 !important;
 +
}
 +
 
 +
.hide {
 +
    display: none;
 +
}
 +
 
 +
/************Loader**************/
 +
#loader-wrapper {
 +
    position: fixed;
 +
    top: 0;
 +
    left: 0;
 +
    width: 100%;
 +
    height: 100%;
 +
    z-index: 1000;
 +
}
 +
 
 +
#loader {
 +
    position: relative;
 +
    left: 50%;
 +
    top: 50%;
 +
    width: 250px;
 +
    height: 250px;
 +
    margin: -125px 0 0 -125px;
 +
    z-index: 1001;
 +
}
 +
 
 +
#videoLoader {
 +
    position:absolute;
 +
    right: 0;
 +
    bottom: 0;
 +
    max-width: 100%;
 +
}
  
.igem_2017_menu_wrapper { width:100%; height: 15%; position:relative; left:0%;}
+
    #loader-wrapper .loader-section {
.igem_2017_content_wrapper {width:100%; margin-left:0px;}
+
        position: fixed;
.column.half_size  {width:100%; }
+
        width: 100%;
.column.full_size img, .column.half_size img { width: 100%; padding: 10px 0px;}
+
        height: 51%;
.highlight {padding:15px 5px;}
+
        background: rgb(216,228,222);
.igem_2017_menu_wrapper #display_menu_control { display:none; }
+
        z-index: 1000;
#menu_content { display:none;}
+
        -webkit-transform: translateY(0);
.igem_2017_menu_wrapper .menu_button .expand_collapse_icon { width: 5%; }
+
        -ms-transform: translateY(0);
.menu_bottom_padding {display:none;}
+
        transform: translateY(0);
.menu_button.direct_to_page { padding-left: 36px; }
+
    }
}
+
    #loader-wrapper .loader-section.section-top {
+
        top: 0;
/* special class that the system uses to make sure the team wants a page to be evaluated */
+
    }
.judges-will-not-evaluate {
+
    #loader-wrapper .loader-section.section-bottom {
    width: 96.6%;
+
        bottom: 0;
  margin: 5px 15px;
+
    }
  display: block;
+
    /* Loaded */
border: 4px #3399ff;
+
    .loaded #loader-wrapper .loader-section.section-top {
    font-weight: bold;
+
        -webkit-transform: translateY(-100%);
}
+
        -ms-transform: translateY(-100%);
 +
        transform: translateY(-100%);
 +
        -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
 +
        -o-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
 +
        transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
 +
    }
 +
    .loaded #loader-wrapper .loader-section.section-bottom {
 +
        -webkit-transform: translateY(100%);
 +
        -ms-transform: translateY(100%);
 +
        transform: translateY(100%);
 +
        -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
 +
        -o-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
 +
        transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
 +
    }
 +
    .loaded #loader {
 +
        opacity: 0;
 +
        -webkit-transition: all 0.3s ease-out;
 +
                -o-transition: all 0.3s ease-out;
 +
                transition: all 0.3s ease-out;
 +
    }
 +
    .loaded #loader-wrapper {
 +
        visibility: hidden;
 +
    }
 +
    /* JavaScript Turned Off */
 +
    .no-js #loader-wrapper {
 +
        display: none;
 +
    }
 
</style>
 
</style>
 
   </head>
 
   </head>

Revision as of 20:49, 1 June 2018

Menu

Contact Us

Sponsors