Difference between revisions of "Template:Main2018"

 
(18 intermediate revisions by one other user not shown)
Line 24: Line 24:
  
  
$(".calendar_month_access").click(function(){
+
$(".collapsible_accordion_access").click(function(){
 
$(this).toggleClass("displaying_content");
 
$(this).toggleClass("displaying_content");
 
$(this).parent().next().toggleClass("hide_content");
 
$(this).parent().next().toggleClass("hide_content");
Line 281: Line 281:
 
height: 39px;
 
height: 39px;
 
width:100%;  
 
width:100%;  
 +
}
 +
 +
.igem_menu_item.last_item{
 +
margin-bottom:60px;
 
}
 
}
  
Line 565: Line 569:
 
.igem_content_wrapper ul {
 
.igem_content_wrapper ul {
 
font-family:Tahoma, Geneva, sans-serif;  
 
font-family:Tahoma, Geneva, sans-serif;  
font-size: 115%;
+
font-size: 120%;
 
padding:0px 20px;
 
padding:0px 20px;
 +
list-style: disc;
 
}
 
}
  
 
/*font size specifications for nested lists and other special cases*/
 
/*font size specifications for nested lists and other special cases*/
.igem_content_wrapper ul ul li { font-size: 90%; }
 
  
.igem_content_wrapper td > ul li,  
+
 
.igem_content_wrapper ol ol li {  
+
.igem_content_wrapper td > ul li, .igem_content_wrapper ol ol li, .igem_content_wrapper ul ol li, .igem_content_wrapper ol ul li, .igem_content_wrapper ul ul li  {  
font-size: 85%;}
+
font-size: 85%;
 +
}
  
  
Line 691: Line 696:
 
.highlight.decoration_dark_top {
 
.highlight.decoration_dark_top {
 
     border-top: 4px solid #542160;
 
     border-top: 4px solid #542160;
 +
}
 +
 +
.highlight.decoration_medium_top {
 +
    border-top: 4px solid #90528f;
 
}
 
}
  
Line 707: Line 716:
 
.highlight.decoration_dark_full {
 
.highlight.decoration_dark_full {
 
     border: 4px solid #542160;
 
     border: 4px solid #542160;
 +
}
 +
 +
.highlight.decoration_medium_full {
 +
    border: 4px solid #90528f;
 
}
 
}
  
Line 724: Line 737:
  
 
/*special image that takes up the entire page*/
 
/*special image that takes up the entire page*/
.full_size_image {  width:100%; }  
+
.full_size_image {  width:100%; margin-top: -59px;}  
  
  
Line 803: Line 816:
 
/*used to hide content when it is added to a class */
 
/*used to hide content when it is added to a class */
 
.hide_content,  
 
.hide_content,  
.calendar_month_content.hide_content {
+
.collapsible_accordion_content.hide_content {
 
display:none;
 
display:none;
 
}
 
}
Line 817: Line 830:
  
 
.news_date {
 
.news_date {
font-style: italic;
+
font-style: italic;
 
     display: inline-block;
 
     display: inline-block;
 
     color: #333333;
 
     color: #333333;
Line 824: Line 837:
 
     padding-right: 15px;
 
     padding-right: 15px;
 
}
 
}
 +
 +
/* icon decorations for the news class*/
 +
 +
.news_item_icon.igemlogo:after {
 +
    background-image: url('https://static.igem.org/mediawiki/igem.org/e/e4/Main_igem_logo.svg');
 +
    background-size: 25px 25px;
 +
    display: inline-block;
 +
    width: 25px;
 +
    height: 25px;
 +
    content:"";
 +
 +
}
 +
 +
.news_item_icon.pinned:after {
 +
    background-image: url('https://static.igem.org/mediawiki/2018/2/25/Icon_news_pinned.svg');
 +
    background-size: 25px 25px;
 +
    display: inline-block;
 +
    width: 25px;
 +
    height: 25px;
 +
    content:"";
 +
 +
}
 +
 +
 +
.news_item_icon.reminder:after {
 +
    background-image: url('https://static.igem.org/mediawiki/2018/a/a2/Icon_news_reminder.svg');
 +
    background-size: 25px 25px;
 +
    display: inline-block;
 +
    width: 25px;
 +
    height: 25px;
 +
    content:"";
 +
}
 +
 +
 +
 +
.news_item_icon.info:after {
 +
    background-image: url('https://static.igem.org/mediawiki/2018/b/b7/Icon_news_info.svg');
 +
    background-size: 25px 25px;
 +
    display: inline-block;
 +
    width: 25px;
 +
    height: 25px;
 +
    content:"";
 +
}
 +
 +
 +
.news_item_icon.announcement:after {
 +
    background-image: url('https://static.igem.org/mediawiki/2018/a/a7/Icon_news_announcement.svg');
 +
    background-size: 25px 25px;
 +
    display: inline-block;
 +
    width: 25px;
 +
    height: 25px;
 +
    content:"";
 +
}
 +
 +
 +
 +
 +
 +
/* center content */
 +
.center_content p,
 +
.center_content h1,
 +
.center_content h2,
 +
.center_content h3,
 +
.center_content h4,
 +
.center_content h5,
 +
.center_content h6 {
 +
text-align:center;
 +
}
 +
 +
 +
  
 
/*Multiple links in a ul */
 
/*Multiple links in a ul */
Line 1,014: Line 1,098:
  
  
/*calendar */
+
/*accordion */
 
/************************************************/
 
/************************************************/
  
 
/*wrapper for each month*/
 
/*wrapper for each month*/
.calendar_month {  
+
.collapsible_accordion {  
 
border-bottom: 1px solid #ddd;  
 
border-bottom: 1px solid #ddd;  
 
float: left;  
 
float: left;  
Line 1,025: Line 1,109:
 
}
 
}
  
/*contains all the deadlines for the month*/
+
/*content to show/hide*/
.calendar_month_content {
+
.collapsible_accordion_content {
 
display:block;
 
display:block;
 
margin-top:30px;
 
margin-top:30px;
 
}
 
}
 +
 +
 +
/* button controling the show/hide of the month's events*/
 +
.collapsible_accordion_access{
 +
background-color: #90528f;
 +
border: 2px solid #90528f;
 +
border-radius: 14%;
 +
color: #fff !important;
 +
float: right;
 +
margin-top: -5px;
 +
text-align: center;
 +
padding: 6px 5px;
 +
width: 25px;
 +
}
 +
 +
/*when hovering on the show/hide month content button*/
 +
.collapsible_accordion_access:hover {
 +
background-color:#542160;
 +
border: 2px solid #542160;
 +
cursor:pointer;
 +
}
 +
 +
 +
/*calendar*/
 +
/************************************************/
  
 
/*deadline's date*/
 
/*deadline's date*/
Line 1,052: Line 1,161:
 
}
 
}
  
/* button controling the show/hide of the month's events*/
+
/*controlled image size*/
.calendar_month_access{
+
background-color: #90528f;
+
border: 2px solid #90528f;
+
border-radius: 14%;
+
color: #fff !important;
+
float: right;
+
margin-top: -5px;
+
text-align: center;
+
padding: 6px 5px;
+
width: 25px;
+
}
+
 
+
/*when hovering on the show/hide month content button*/
+
.calendar_month_access:hover {
+
background-color:#542160;
+
border: 2px solid #542160;
+
cursor:pointer;
+
}
+
  
 +
.controlled_size_image{
 +
max-width: 300px;
 +
}
  
 
/*mobile*/
 
/*mobile*/
Line 1,077: Line 1,171:
  
  
/* 2000px  */
+
/* 1784px */
/************************************************/
+
@media only screen and (max-width: 2000px) {
+
.igem_content_wrapper { width: 86.6%;}
+
}
+
 
+
/* 1800px  */
+
/************************************************/
+
@media only screen and (max-width: 1800px) {
+
.igem_content_wrapper { width: 85.4%;}
+
}
+
 
+
/* 1700px */
+
 
/************************************************/
 
/************************************************/
@media only screen and (max-width: 1700px) {
+
@media only screen and (max-width: 1784px) {
.igem_content_wrapper { width: 85%;}
+
.igem_content_wrapper { width:85%;}
.hub_title{ font-size: 115%;}
+
 
}
 
}
  
/* 1550px */
+
/* 1602px */
 
/************************************************/
 
/************************************************/
@media only screen and (max-width: 1550px) {
+
@media only screen and (max-width: 1602px) {
 
.hub_title{ font-size: 105%;}
 
.hub_title{ font-size: 105%;}
 
}
 
}

Latest revision as of 18:23, 20 July 2018

Loading...