Difference between revisions of "Team:SSTi-SZGD/css/Awards"

(final)
 
Line 2: Line 2:
 
.Awards .img{ text-align: center; margin: auto; float: none;}
 
.Awards .img{ text-align: center; margin: auto; float: none;}
 
.Awards .img img{ width: 100%;}
 
.Awards .img img{ width: 100%;}
.Awards li{ float: none; display: list-item; padding-left: 30px;}
+
.Awards li{ float: none; display: list-item; padding-left: 30px; background-repeat: no-repeat; background-position: 0 2px; background-size: 20px;}
 
+
.Awards .Bronze li{ background-image: url(https://static.igem.org/mediawiki/2018/5/54/T--SSTi-SZGD--awards_bronze.png);}
 
+
.Awards .Silver li{ background-image: url(https://static.igem.org/mediawiki/2018/c/c2/T--SSTi-SZGD--awards_silver.png);}
.Awards .Bronze li{ background: url(https://static.igem.org/mediawiki/2018/5/54/T--SSTi-SZGD--awards_bronze.png) no-repeat 0 2px; background-size: 20px;}
+
.Awards .Gold li{ background-image: url(https://static.igem.org/mediawiki/2018/b/bf/T--SSTi-SZGD--awards_gold.png);}
.Awards .Silver li{ background: url(https://static.igem.org/mediawiki/2018/c/c2/T--SSTi-SZGD--awards_silver.png) no-repeat 0 2px; background-size: 20px;}
+
.Awards .Gold li{ background: url(https://static.igem.org/mediawiki/2018/b/bf/T--SSTi-SZGD--awards_gold.png) no-repeat 0 2px; background-size: 20px;}
+

Latest revision as of 00:14, 5 November 2018

.Awards{ margin: 160px auto; font-size: 1.8rem;} .Awards .img{ text-align: center; margin: auto; float: none;} .Awards .img img{ width: 100%;} .Awards li{ float: none; display: list-item; padding-left: 30px; background-repeat: no-repeat; background-position: 0 2px; background-size: 20px;} .Awards .Bronze li{ background-image: url(https://static.igem.org/mediawiki/2018/5/54/T--SSTi-SZGD--awards_bronze.png);} .Awards .Silver li{ background-image: url(https://static.igem.org/mediawiki/2018/c/c2/T--SSTi-SZGD--awards_silver.png);} .Awards .Gold li{ background-image: url(https://static.igem.org/mediawiki/2018/b/bf/T--SSTi-SZGD--awards_gold.png);}