Difference between revisions of "MediaWiki:Common.css"

From PTI Security Systems
Jump to: navigation, search
Line 4: Line 4:
 
     from { opacity: 0 }
 
     from { opacity: 0 }
 
       to { opacity: 1 }
 
       to { opacity: 1 }
 +
    height: auto;
 +
    padding: 24px 18px;
 
}
 
}
  
Line 9: Line 11:
 
     from { opacity: 0 }
 
     from { opacity: 0 }
 
       to { opacity: 1 }
 
       to { opacity: 1 }
 +
    height: auto;
 +
    padding: 24px 18px;
 
}
 
}
  
Line 23: Line 27:
 
-moz-transition: all 1s ease;
 
-moz-transition: all 1s ease;
 
transition: all 1s ease;
 
transition: all 1s ease;
}
 
 
answer.animated {
 
    height: auto;
 
    padding: 24px 18px;
 
 
}
 
}
  

Revision as of 12:37, 4 September 2014

/* CSS placed here will be applied to all skins */

@-webkit-keyframes fadeIn {
    from { opacity: 0 }
      to { opacity: 1 }
    height: auto;
    padding: 24px 18px;
}

@keyframes fadeIn {
    from { opacity: 0 }
      to { opacity: 1 }
    height: auto;
    padding: 24px 18px;
}

.answer {
display: none;
width:750px;
border: 1px solid;
border-radius: 10px;
padding: 0px 5px 0px 5px;
margin: 1px;
overflow: hidden;
padding: 0 18px;
-webkit-transition: all 1s ease;
-moz-transition: all 1s ease;
transition: all 1s ease;
}

.linkshow:target * .answer {
display: block;
-webkit-animation: fadeIn 1s;
animation: fadeIn 1s;
}

.linkhide:target * .answer {display: none;}