Difference between revisions of "MediaWiki:Common.css"

From PTI Security Systems
Jump to: navigation, search
 
Line 13: Line 13:
 
.answer {
 
.answer {
 
height:0;
 
height:0;
width:750px;
+
width:auto;
 
margin: 1px;
 
margin: 1px;
 
overflow: hidden;
 
overflow: hidden;

Latest revision as of 13:24, 29 September 2014

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

@-webkit-keyframes fadeIn {
    from { opacity: 0 }
      to { opacity: 1 }
}

@keyframes fadeIn {
    from { opacity: 0 }
      to { opacity: 1 }
}

.answer {
height:0;
width:auto;
margin: 1px;
overflow: hidden;
padding: 0 18px;
-webkit-transition: all 1.5s ease;
-moz-transition: all 1.5s ease;
transition: all 1.5s ease;
}

.linkshow:target * .answer {
display: block;
-webkit-animation: fadeIn 1.5s;
animation: fadeIn 1.5s;
height: auto;
padding: 24px 18px;
border: 1px solid;
border-radius: 10px;
}

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