Difference between revisions of "Template:NCKU Tainan/overview"

Line 148: Line 148:
 
     transform: translateY(-80px);
 
     transform: translateY(-80px);
 
   }
 
   }
   .timeline-item:before {
+
   .timeline-item:before {
     content: attr(data-text) '\a' attr(title);
+
      
    white-space: pre-line
+
    letter-spacing: 3px;
+
    width: 100%;
+
    position: absolute;
+
    color: #3cbac8;
+
    font-size: 20px;
+
    font-family: 'Montserrat', sans-serif;
+
    border-left: 2px solid #f9cb8f;
+
    margin-top: 5%;
+
    right: 0;
+
 
     top: 0;
 
     top: 0;
     left: 10px;
+
     left: 10px;  
    padding-left: 15px;
+
    opacity: 0;
+
 
   }     
 
   }     
 
.timeline-item:nth-child(even) {
 
.timeline-item:nth-child(even) {
Line 169: Line 157:
 
}
 
}
 
.timeline-item:nth-child(even):before {
 
.timeline-item:nth-child(even):before {
   content: attr(data-text) '\a' attr(title);
+
   top: 0;
    white-space: pre-line
+
      
    letter-spacing: 3px;
+
    width: 100%;
+
    position: absolute;
+
    color: #3cbac8;
+
    font-size: 20px;
+
    font-family: 'Montserrat', sans-serif;
+
    border-left: 2px solid #f9cb8f;
+
    margin-top: 5%;
+
    right: 0;
+
     top: 0;
+
    left: 10px;
+
    padding-left: 15px;
+
    opacity: 0;
+
 
}
 
}
  

Revision as of 09:46, 1 November 2017