1894
edycje
mNie podano opisu zmian |
mNie podano opisu zmian |
||
| Linia 428: | Linia 428: | ||
} | } | ||
/* | /* Szablon:Callout */ | ||
.callout { | |||
display: flex; | |||
flex-direction: column; | |||
border-radius: 4px; | |||
margin: 10px; | |||
} | |||
.callout-label { | |||
font-weight: 600; | |||
padding: 12px 20px; | |||
border-radius: 4px 4px 0 0; | |||
cursor: pointer; | |||
} | |||
.callout .callout-label .arrow { | |||
display: none; | |||
} | |||
.callout.foldable .callout-label .arrow { | |||
display: inline-block; | |||
margin-left: .8em; | |||
transition: transform .2s; | |||
} | |||
.callout.foldable .callout-label.expanded .arrow { | |||
transform: rotate(90deg); | |||
} | |||
.callout-content { | |||
padding: 14px 20px; | |||
overflow: hidden; | |||
transition: max-height .5s, padding .5s; | |||
max-height: 10000px; /* xD */ | |||
} | |||
.callout-content.hidden { | |||
padding: 0 20px; | |||
max-height: 0; | |||
} | |||
/* Szablon:Llawlyfr */ | |||
.llawlyfr { | .llawlyfr { | ||
display: flex; | display: flex; | ||