Difference between revisions of "Template:Westminster UK2"

 
(13 intermediate revisions by 2 users not shown)
Line 128: Line 128:
 
     width:          100%;
 
     width:          100%;
 
     height:        100%;
 
     height:        100%;
     background:     #fff;
+
     background-image: radial-gradient(circle farthest-corner at center, #0d0814 0%, #120e29 100%);
 
     text-align:    center;
 
     text-align:    center;
 
     vertical-align: middle;
 
     vertical-align: middle;
Line 442: Line 442:
 
   height: 100vh;
 
   height: 100vh;
 
   position: relative;
 
   position: relative;
   background-image: url(https://images.unsplash.com/photo-1446771326090-d910bfaf00f6?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&s=9216e1a8598a8530ce329b41a8f3725d);
+
background-color: #000;
 +
   /*background-image: url(https://static.igem.org/mediawiki/2017/e/ef/Westminster-UK-GroupPhoto.jpeg);*/
 
   background-size: cover;
 
   background-size: cover;
 
   background-position: center center;
 
   background-position: center center;
Line 810: Line 811:
  
  
.container {
+
.spinner {
width: 200px;
+
  position: absolute;
height: 100px;
+
  width: 128px;
padding-top: 100px;
+
  height: 128px;
margin: 0 auto;
+
  top: calc(50% - 64px);
 +
  left: calc(50% - 64px);
 +
  -webkit-transform: perspective(206px) rotateX(45deg);
 +
          transform: perspective(206px) rotateX(45deg);
 
}
 
}
  
.ball {
+
.outer {
width: 10px;
+
  box-sizing: border-box;
height: 10px;
+
  -webkit-animation: spin 3s linear infinite;
margin: 10px auto;
+
          animation: spin 3s linear infinite;
border-radius: 50px;
+
  height: 100%;
 
}
 
}
  
.ball:nth-child(1) {
+
.inner {
background: #ff005d;
+
  position: absolute;
-webkit-animation: right 1s infinite ease-in-out;
+
  border-radius: 50%;
-moz-animation: right 1s infinite ease-in-out;
+
  width: 64px;
animation: right 1s infinite ease-in-out;
+
  height: 64px;
 +
  -webkit-animation: spin 1.8s ease-in-out infinite;
 +
          animation: spin 1.8s ease-in-out infinite;
 
}
 
}
 
+
.inner.tl {
.ball:nth-child(2) {
+
  top: 0;
background: #35ff99;
+
  left: 0;
-webkit-animation: left 1.1s infinite ease-in-out;
+
  border-top: 2px solid #531430;
-moz-animation: left 1.1s infinite ease-in-out;
+
  border-left: 4px solid #531430;
animation: left 1.1s infinite ease-in-out;
+
 
}
 
}
 
+
.inner.tr {
.ball:nth-child(3) {
+
  top: 0;
background: #008597;
+
  right: 0;
-webkit-animation: right 1.05s infinite ease-in-out;
+
  border-top: 2px solid #e04960;
-moz-animation: right 1.05s infinite ease-in-out;
+
  border-right: 4px solid #e04960;
animation: right 1.05s infinite ease-in-out;
+
 
}
 
}
 
+
.inner.br {
.ball:nth-child(4) {
+
  bottom: 0;
background: #ffcc00;
+
  right: 0;
-webkit-animation: left 1.15s infinite ease-in-out;
+
  border-bottom: 2px solid #531430;
-moz-animation: left 1.15s infinite ease-in-out;
+
  border-right: 4px solid #531430;
animation: left 1.15s infinite ease-in-out;
+
 
}
 
}
 
+
.inner.bl {
.ball:nth-child(5) {
+
  bottom: 0;
background: #2d3443;
+
  left: 0;
-webkit-animation: right 1.1s infinite ease-in-out;
+
  border-bottom: 2px solid #e04960;
-moz-animation: right 1.1s infinite ease-in-out;
+
  border-left: 4px solid #e04960;
animation: right 1.1s infinite ease-in-out;
+
 
}
 
}
  
.ball:nth-child(6) {
+
@-webkit-keyframes spin {
background: #ff7c35;
+
  0% {
-webkit-animation: left 1.05s infinite ease-in-out;
+
    -webkit-transform: rotate(0deg);
-moz-animation: left 1.05s infinite ease-in-out;
+
            transform: rotate(0deg);
animation: left 1.05s infinite ease-in-out;
+
  }
 +
  100% {
 +
    -webkit-transform: rotate(360deg);
 +
            transform: rotate(360deg);
 +
  }
 
}
 
}
  
.ball:nth-child(7) {
+
@keyframes spin {
background: #4d407c;
+
  0% {
-webkit-animation: right 1s infinite ease-in-out;
+
    -webkit-transform: rotate(0deg);
-moz-animation: right 1s infinite ease-in-out;
+
            transform: rotate(0deg);
animation: right 1s infinite ease-in-out;
+
  }
 +
  100% {
 +
    -webkit-transform: rotate(360deg);
 +
            transform: rotate(360deg);
 +
  }
 
}
 
}
 
@-webkit-keyframes right {
 
0% {
 
-webkit-transform: translate(-15px);
 
}
 
50% {
 
-webkit-transform: translate(15px);
 
}
 
100% {
 
-webkit-transform: translate(-15px);
 
}
 
}
 
 
@-webkit-keyframes left {
 
0% {
 
-webkit-transform: translate(15px);
 
}
 
50% {
 
-webkit-transform: translate(-15px);
 
}
 
100% {
 
-webkit-transform: translate(15px);
 
}
 
}
 
 
@-moz-keyframes right {
 
0% {
 
-moz-transform: translate(-15px);
 
}
 
50% {
 
-moz-transform: translate(15px);
 
}
 
100% {
 
-moz-transform: translate(-15px);
 
}
 
}
 
 
@-moz-keyframes left {
 
0% {
 
-moz-transform: translate(15px);
 
}
 
50% {
 
-moz-transform: translate(-15px);
 
}
 
100% {
 
-moz-transform: translate(15px);
 
}
 
}
 
 
@keyframes right {
 
0% {
 
transform: translate(-15px);
 
}
 
50% {
 
transform: translate(15px);
 
}
 
100% {
 
transform: translate(-15px);
 
}
 
}
 
 
@keyframes left {
 
0% {
 
transform: translate(15px);
 
}
 
50% {
 
transform: translate(-15px);
 
}
 
100% {
 
transform: translate(15px);
 
}
 
}
 
 
 
/***************************************************** RESPONSIVE STYLING ****************************************************/
 
/***************************************************** RESPONSIVE STYLING ****************************************************/
  
Line 1,024: Line 961:
  
 
<div class="overlay"><div>
 
<div class="overlay"><div>
LOADING...
+
 
<div class="container">
+
<div class="spinner">
   <div class="ball"></div>
+
   <div class="outer">
  <div class="ball"></div>
+
    <div class="inner tl"></div>
  <div class="ball"></div>
+
    <div class="inner tr"></div>
  <div class="ball"></div>
+
    <div class="inner br"></div>
  <div class="ball"></div>
+
    <div class="inner bl"></div>
   <div class="ball"></div>
+
   </div>
  <div class="ball"></div>
+
 
</div>
 
</div>
  
Line 1,076: Line 1,012:
  
 
</script>
 
</script>
 
 
  
  
 
<!-- start of content -->
 
<!-- start of content -->
 
<div class="igem_2017_content_wrapper">
 
<div class="igem_2017_content_wrapper">
<h1>TEST BIO BUSTERS</h1>
+
<h1>WELCOME TO THE BIO BUSTERS</h1>

Latest revision as of 15:49, 13 October 2017

BioBusters

WELCOME TO THE BIO BUSTERS