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

Line 150: Line 150:
 
}
 
}
 
@media only screen and (max-width: 1024px) {
 
@media only screen and (max-width: 1024px) {
  .timeline__img {
+
  .timeline__content {
  max-width: 80%;
+
 
+
}
+
 
+
  .timeline__content {
+
 
     margin-top: 75px;
 
     margin-top: 75px;
 
   }
 
   }
 
   .timeline-item {
 
   .timeline-item {
    padding: 40px 0;
 
 
     opacity: .3;
 
     opacity: .3;
 
     filter: blur(2px);
 
     filter: blur(2px);
Line 171: Line 165:
 
   .timeline-item:before {
 
   .timeline-item:before {
 
     content: attr(data-text) '\a' attr(title);
 
     content: attr(data-text) '\a' attr(title);
     white-space: pre;
+
     white-space: pre-line
 
     letter-spacing: 3px;
 
     letter-spacing: 3px;
 
     width: 100%;
 
     width: 100%;
 
     position: absolute;
 
     position: absolute;
 
     color: #3cbac8;
 
     color: #3cbac8;
     font-size: 20px;
+
     font-size: 12px;
 
     font-family: 'Montserrat', sans-serif;
 
     font-family: 'Montserrat', sans-serif;
 
     border-left: 2px solid #f9cb8f;
 
     border-left: 2px solid #f9cb8f;
Line 187: Line 181:
 
   #t7.timeline-item:before {
 
   #t7.timeline-item:before {
 
     content: attr(data-text) '\A' attr(title1) '\A' attr(title2);
 
     content: attr(data-text) '\A' attr(title1) '\A' attr(title2);
     white-space: pre;
+
     white-space: pre-line
 
   }
 
   }
 
   .timeline-item:nth-child(even) {
 
   .timeline-item:nth-child(even) {

Revision as of 09:25, 1 November 2017