Difference between revisions of "Team:UCopenhagen/Test/Particlejs"

(Add mobile screen)
Line 18: Line 18:
 
   background-image: url("https://static.igem.org/mediawiki/2018/5/5f/T--UCopenhagen--v1-iGEM-Copenhagen-square-white.png");
 
   background-image: url("https://static.igem.org/mediawiki/2018/5/5f/T--UCopenhagen--v1-iGEM-Copenhagen-square-white.png");
 
   background-repeat: no-repeat;
 
   background-repeat: no-repeat;
   background-size: 50%;
+
   background-size: 60%;
 
   background-position: 50% 50%;
 
   background-position: 50% 50%;
 
}
 
}
 +
 +
 +
@media only screen and (max-width: 1000px) {
 +
#particles-js {
 +
  position: absolute;
 +
  height: 400px;
 +
  z-index: -1;
 +
  background-color: #181630;
 +
  background-image: url("https://static.igem.org/mediawiki/2018/4/4a/T--UCopenhagen--v1-Logo-text-black-white.png");
 +
  background-repeat: no-repeat;
 +
  background-size: 80%;
 +
  background-position: 50% 50%;
 +
}
 +
}
 +
 
</style>
 
</style>
  

Revision as of 11:05, 12 August 2018