Difference between revisions of "Team:ZJU-China/sponsorCSS"

 
Line 48: Line 48:
  
 
.sponsors > img {
 
.sponsors > img {
width: 30% ;
+
width: 20% ;
 
height: auto;
 
height: auto;
margin-left: 1%;
+
margin-left: 5%;
 
margin-top: 2%;
 
margin-top: 2%;
 
}
 
}

Latest revision as of 22:58, 17 October 2018

@font-face { font-family: Saira; src: url(https://static.igem.org/mediawiki/2018/1/10/T--ZJU-China--sackers.otf) format('truetype'); }

.sponsors { float: right; bottom: 0; width: 100%;

       font-family: 'Saira' !important;

margin-bottom: 2em; border: none !important; text-align: center !important; }

.sponsor_ttl { /*width: 100%; position: relative; padding: 0;*/ margin-top: 0;

       font-family: 'Saira' !important;

margin-left: 0; font-size: 1em !important; line-height: 2em; text-align: center !important;

       color: gray !important;

}

.sponsor_ttl:before, .sponsor_ttl:after { content: ; position: absolute; left: 5%; height: 1px; width: 90%; color: gray; font-weight: 10;

   background-image: repeating-linear-gradient(-45deg, white, gray, 10px, transparent 10px, transparent 8px);

}

.sponsor_ttl:before { margin-top: 0; }

.sponsor_ttl:after { margin-top: 2em; }

.sponsors > img { width: 20% ; height: auto; margin-left: 5%; margin-top: 2%; }