Difference between revisions of "Template:DTU-Denmark/mainCSS"

 
(29 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
padding: 0px 0px!important;
 
padding: 0px 0px!important;
 
}
 
}
 +
 +
figcaption {
 +
    display: block;
 +
    text-align: center;
 +
    font-size: .9em;
 +
margin-bottom:25px;
 +
}
 +
 +
.footersponsors{margin: 20px;max-width:800px;width:100%;margin-right:auto; margin-left:auto;display: block;
 +
    height:auto;z-index:5;}
 +
.footergrants{
 +
margin: 20px;max-width:450px;width:50%;margin-right:auto; margin-left:auto;display: block;
 +
    height:auto;z-index:5;}
  
 
.avatarlink{z-index:5;max-width:100%;}
 
.avatarlink{z-index:5;max-width:100%;}
 +
 +
.descbig{display:block;}
 +
 +
.descmed{display:none;}
 +
 +
.descsmoll{display:none;}
  
 
.butn{
 
.butn{
Line 26: Line 45:
 
.factbox{
 
.factbox{
 
   text-align: center;
 
   text-align: center;
color:white;
+
color: rgba(9, 49, 79, 1);
 
   padding:25px;
 
   padding:25px;
 
   border-radius: 20px;
 
   border-radius: 20px;
  background-image: linear-gradient(to bottom right, rgba(12, 49, 89, .94), rgba(9, 49, 79, 1)), url(https://static.igem.org/mediawiki/2019/1/1f/T--DTU-Denmark--vectorim.png);
+
background-color:#eee;
 +
 
 
}
 
}
 
.fact{
 
.fact{
Line 115: Line 135:
 
.popup {
 
.popup {
 
   margin: 70px auto;
 
   margin: 70px auto;
  padding: 20px;
+
    padding: 20px;
  background: #fff;
+
    background: #fff;
  border-radius: 5px;
+
    border-radius: 5px;
  width: 30%;
+
    width: 70%;
  position: relative;
+
    max-height: 400px;
  transition: all 5s ease-in-out;
+
    overflow: auto;
 +
    position: relative;
 +
    transition: all 5s ease-in-out;
 
}
 
}
  
Line 351: Line 373:
 
section.header_con{
 
section.header_con{
 
   background: radial-gradient( #09314F, #09314F, rgba(9, 49, 79, .94)), url(https://static.igem.org/mediawiki/2019/1/1f/T--DTU-Denmark--vectorim.png);
 
   background: radial-gradient( #09314F, #09314F, rgba(9, 49, 79, .94)), url(https://static.igem.org/mediawiki/2019/1/1f/T--DTU-Denmark--vectorim.png);
+
font-size:127%;
 
   padding-bottom: 150px;
 
   padding-bottom: 150px;
 
   padding-top: 50px;
 
   padding-top: 50px;
Line 407: Line 429:
 
margin: 5px;
 
margin: 5px;
 
border-radius: 10px;
 
border-radius: 10px;
z-index:6;
+
z-index:7;
 
}
 
}
 
.member-details img {
 
.member-details img {
Line 493: Line 515:
 
.member-details:hover .member-info p {
 
.member-details:hover .member-info p {
 
bottom: 0;
 
bottom: 0;
 +
}
 +
 +
.team-heading{padding-right: 15px;padding-left: 15px;
 +
  width:100%;
 +
    color:#fffff0;
 +
    margin-left: auto;
 +
    margin-right: auto;
 +
font-size:150%;}
 +
 +
.team-heading h2 {
 +
text-transform: uppercase;
 +
font-size: 22px;
 +
font-weight: 700;
 +
margin-bottom: 15px;
 +
font-size:120%;
 
}
 
}
  
 
/* Team overview */
 
/* Team overview */
 
.team-overview {
 
.team-overview {
padding-right: 15px;
+
 
 
   width:80%;
 
   width:80%;
 
     color:#fffff0;
 
     color:#fffff0;
 
     margin-left: auto;
 
     margin-left: auto;
 
     margin-right: auto;
 
     margin-right: auto;
font-size:150%;
+
font-size: 1.4em;
 
}
 
}
 
.team-overview h2 {
 
.team-overview h2 {
Line 517: Line 554:
 
}
 
}
  
.team-overview > a:before {
+
 
content: '';
+
width: 10px;
+
height: 2px;
+
position: relative;
+
top: -3px;
+
margin-right: 5px;
+
background-color: #ccc;
+
display: inline-block;
+
}
+
  
 
#outside {
 
#outside {
Line 571: Line 599:
 
text-align: center;
 
text-align: center;
 
}
 
}
 +
 +
.descbig{display:none}
 +
.descmed{display:block}
 +
.descsmoll{display:none;}
  
 
.topimg{
 
.topimg{
Line 596: Line 628:
 
padding: 15px;
 
padding: 15px;
 
}
 
}
+
.team-overview {
 +
padding-right: 0px;
 +
 
 +
font-size: 1.0em;
 +
}
 +
}
 +
 
 +
@media only screen and (max-width : 450px) {
 +
.descbig{display:none}
 +
.descmed{display:none}
 +
.descsmoll{display:block;}
 +
 
 
}
 
}
  
Line 603: Line 646:
 
width: 47%;
 
width: 47%;
 
}
 
}
 +
 
}
 
}
  
Line 637: Line 681:
 
.image2 {
 
.image2 {
 
   position: absolute;
 
   position: absolute;
   top: 98%;
+
   top: 105%;
 
   left: 28%;
 
   left: 28%;
  
Line 649: Line 693:
 
.image4 {
 
.image4 {
 
   position: absolute;
 
   position: absolute;
   top: 69%;
+
   top: 75%;
 
   left: 12%;
 
   left: 12%;
  
Line 656: Line 700:
 
.image5 {
 
.image5 {
 
   position: absolute;
 
   position: absolute;
   top: 110%;
+
   top: 115%;
 
   left: 71%;
 
   left: 71%;
  
Line 663: Line 707:
 
.image6 {
 
.image6 {
 
   position: absolute;
 
   position: absolute;
   top: 80%;
+
   top: 85%;
 
   right: 5px;
 
   right: 5px;
  
Line 691: Line 735:
 
.image10 {
 
.image10 {
 
   position: absolute;
 
   position: absolute;
   top: 1%;
+
   top: 6%;
 
   left: 23%;
 
   left: 23%;
  
Line 725: Line 769:
  
 
.scaleit{
 
.scaleit{
   max-height: 90%;
+
   max-height: 25vh;
 
   height: auto;
 
   height: auto;
 
}
 
}
  
 
.scaleit1{
 
.scaleit1{
   max-height: 100%;
+
   max-height: 27vh;
 
   height: auto;
 
   height: auto;
 
}
 
}
Line 816: Line 860:
 
}
 
}
  
 
+
.teambig{
 +
display:block;
 +
}
  
  
Line 826: Line 872:
 
  .image1 {
 
  .image1 {
 
   position: absolute;
 
   position: absolute;
   top: 70%;
+
   top: 76%;
 
   left: 5%;
 
   left: 5%;
  
Line 832: Line 878:
 
.image2 {
 
.image2 {
 
   position: absolute;
 
   position: absolute;
   top: 98%;
+
   top: 105%;
 
   left: 28%;
 
   left: 28%;
  
Line 845: Line 891:
 
.image4 {
 
.image4 {
 
   position: absolute;
 
   position: absolute;
   top: 69%;
+
   top: 75%;
 
   left: 12%;
 
   left: 12%;
  
Line 852: Line 898:
 
.image5 {
 
.image5 {
 
   position: absolute;
 
   position: absolute;
   top: 110%;
+
   top: 115%;
 
   left: 71%;
 
   left: 71%;
  
Line 859: Line 905:
 
.image6 {
 
.image6 {
 
   position: absolute;
 
   position: absolute;
   top: 80%;
+
   top: 85%;
 
   right: 5px;
 
   right: 5px;
  
Line 886: Line 932:
 
.image10 {
 
.image10 {
 
   position: absolute;
 
   position: absolute;
   top: 1%;
+
   top: 6%;
 
   left: 23%;
 
   left: 23%;
 
margin-left:5%;
 
margin-left:5%;
Line 935: Line 981:
 
@media only screen and (min-width: 1289px) {
 
@media only screen and (min-width: 1289px) {
 
     .scaleit{
 
     .scaleit{
    max-height: 90%;
+
  max-height: 25vh;
    height: auto;
+
  height: auto;
  }
+
}
 
+
 
  .scaleit1{
+
.scaleit1{
    max-width: 100%;
+
  max-height: 27vh;
 
     height: auto;
 
     height: auto;
 
   }
 
   }
Line 946: Line 992:
 
.image1 {
 
.image1 {
 
   position: absolute;
 
   position: absolute;
   top: 70%;
+
   top: 76%;
 
   left: 5%;
 
   left: 5%;
  
Line 952: Line 998:
 
.image2 {
 
.image2 {
 
   position: absolute;
 
   position: absolute;
   top: 98%;
+
   top: 105%;
 
   left: 28%;
 
   left: 28%;
  
Line 965: Line 1,011:
 
.image4 {
 
.image4 {
 
   position: absolute;
 
   position: absolute;
   top: 69%;
+
   top: 75%;
 
   left: 12%;
 
   left: 12%;
  
Line 972: Line 1,018:
 
.image5 {
 
.image5 {
 
   position: absolute;
 
   position: absolute;
   top: 110%;
+
   top: 115%;
 
   left: 71%;
 
   left: 71%;
  
Line 979: Line 1,025:
 
.image6 {
 
.image6 {
 
   position: absolute;
 
   position: absolute;
   top: 80%;
+
   top: 85%;
 
   right: 5px;
 
   right: 5px;
  
Line 1,007: Line 1,053:
 
.image10 {
 
.image10 {
 
   position: absolute;
 
   position: absolute;
   top: 1%;
+
   top: 6%;
 
   left: 23%;
 
   left: 23%;
 
margin-left:12%;
 
margin-left:12%;
Line 1,043: Line 1,089:
 
.image10 {
 
.image10 {
 
   position: absolute;
 
   position: absolute;
   top: 1%;
+
   top: 6%;
 
   left: 23%;
 
   left: 23%;
 
margin-left:5%;
 
margin-left:5%;
Line 1,061: Line 1,107:
 
.image1 {
 
.image1 {
 
   position: absolute;
 
   position: absolute;
   top: 70%;
+
   top: 95%;
 
   left: 5%;
 
   left: 5%;
  
Line 1,067: Line 1,113:
 
.image2 {
 
.image2 {
 
   position: absolute;
 
   position: absolute;
   top: 98%;
+
   top: 105%;
 
   left: 28%;
 
   left: 28%;
  
Line 1,079: Line 1,125:
 
.image4 {
 
.image4 {
 
   position: absolute;
 
   position: absolute;
   top: 69%;
+
   top: 94%;
 
   left: 12%;
 
   left: 12%;
  
Line 1,086: Line 1,132:
 
.image5 {
 
.image5 {
 
   position: absolute;
 
   position: absolute;
   top: 110%;
+
   top: 115%;
 
   left: 71%;
 
   left: 71%;
  
Line 1,093: Line 1,139:
 
.image6 {
 
.image6 {
 
   position: absolute;
 
   position: absolute;
   top: 80%;
+
   top: 85%;
 
   right: 5px;
 
   right: 5px;
  
Line 1,121: Line 1,167:
 
.image10 {
 
.image10 {
 
   position: absolute;
 
   position: absolute;
   top: 1%;
+
   top: 6%;
 
   left: 23%;
 
   left: 23%;
 
margin-left:0%;
 
margin-left:0%;
Line 1,185: Line 1,231:
 
.image1 {
 
.image1 {
 
   position: absolute;
 
   position: absolute;
   top: 70%;
+
   top: 76%;
 
   left: 5%;
 
   left: 5%;
  
Line 1,191: Line 1,237:
 
.image2 {
 
.image2 {
 
   position: absolute;
 
   position: absolute;
   top: 98%;
+
   top: 105%;
 
   left: 91%;
 
   left: 91%;
  
Line 1,204: Line 1,250:
 
.image4 {
 
.image4 {
 
   position: absolute;
 
   position: absolute;
   top: 69%;
+
   top: 60%;
   left: 12%;
+
   left: 10%;
  
 
}
 
}
Line 1,211: Line 1,257:
 
.image5 {
 
.image5 {
 
   position: absolute;
 
   position: absolute;
   top: 110%;
+
   top: 115%;
 
   left: 71%;
 
   left: 71%;
  
Line 1,218: Line 1,264:
 
.image6 {
 
.image6 {
 
   position: absolute;
 
   position: absolute;
   top: 80%;
+
   top: 85%;
 
   right: 5px;
 
   right: 5px;
  
Line 1,246: Line 1,292:
 
.image10 {
 
.image10 {
 
   position: absolute;
 
   position: absolute;
   top: 100%;
+
   top: 110%;
 
   left: 0%;
 
   left: 0%;
 
margin-left:0%;
 
margin-left:0%;
Line 1,312: Line 1,358:
 
.image1 {
 
.image1 {
 
     position: absolute;
 
     position: absolute;
     top: 70%;
+
     top: 76%;
 
     left: 5%;
 
     left: 5%;
 
}
 
}

Latest revision as of 21:57, 13 December 2019