Difference between revisions of "Template:Main2018"

Line 829: Line 829:
 
     padding-right: 15px;
 
     padding-right: 15px;
 
}
 
}
 +
 +
/* icon decorations for the news class*/
 +
 +
.news_item_icon.pinned:after {
 +
    background-image: url('https://static.igem.org/mediawiki/2018/2/25/Icon_news_pinned.svg');
 +
    background-size: 20px 20px;
 +
    display: inline-block;
 +
    width: 20px;
 +
    height: 20px;
 +
    content:"";
 +
 +
}
 +
 +
 +
.news_item_icon.reminder:after {
 +
    background-image: url('https://static.igem.org/mediawiki/2018/a/a2/Icon_news_reminder.svg');
 +
    background-size: 20px 20px;
 +
    display: inline-block;
 +
    width: 20px;
 +
    height: 20px;
 +
    content:"";
 +
}
 +
 +
 +
 +
.news_item_icon.info:after {
 +
    background-image: url('https://static.igem.org/mediawiki/2018/b/b7/Icon_news_info.svg');
 +
    background-size: 20px 20px;
 +
    display: inline-block;
 +
    width: 20px;
 +
    height: 20px;
 +
    content:"";
 +
}
 +
 +
 +
.news_item_icon.announcement:after {
 +
    background-image: url('https://static.igem.org/mediawiki/2018/a/a7/Icon_news_announcement.svg');
 +
    background-size: 20px 20px;
 +
    display: inline-block;
 +
    width: 20px;
 +
    height: 20px;
 +
    content:"";
 +
}
 +
 +
 +
  
 
/*Multiple links in a ul */
 
/*Multiple links in a ul */

Revision as of 15:34, 31 May 2018

Loading...