Difference between revisions of "Template:Aalto-Helsinki/CSS"

m
m
Line 112: Line 112:
 
   border-left-style: solid;
 
   border-left-style: solid;
 
   border-color: #639FAB;
 
   border-color: #639FAB;
   z-index: -1;
+
   border-width: 1px;
 
   margin: 0px;
 
   margin: 0px;
 
   padding: 10px 0 0 25px;  
 
   padding: 10px 0 0 25px;  
 
   position: relative;
 
   position: relative;
 +
  z-index: 0;
 
   /*padding-left: 5px;
 
   /*padding-left: 5px;
 
   border-left-style: solid;*/
 
   border-left-style: solid;*/
 +
}
 +
 +
/*Why don't z-index in these two (on top and below) work?? They both have positioning.. And different z-index values...*/
 +
 +
/*The small picture in front of every entry*/
 +
.entrylogo{
 +
  content:url(https://2015.igem.org/File:Aalto-Helsinki_timeline_box_10pt.png);
 +
  padding-top: 10px;
 +
  width: 15px;
 +
  left: -7px;
 +
  z-index: 1;
 +
  position: absolute;
 +
  top: 0;
 
}
 
}
 
/*Styling for the text in the entry*/
 
/*Styling for the text in the entry*/
Line 150: Line 164:
 
   border-left-style: solid;
 
   border-left-style: solid;
 
   border-color: #639FAB;
 
   border-color: #639FAB;
}
 
/*The small picture in front of every entry*/
 
.entrylogo{
 
  padding-top: 10px;
 
  width: 15px;
 
  left: -7px;
 
  z-index: 1;
 
  position: absolute;
 
  top: 0;
 
 
}
 
}
  

Revision as of 11:08, 25 June 2015