Template:FrDS Styles: Difference between revisions

Content deleted Content added
RLopez-WMF (talk | contribs)
No edit summary
RLopez-WMF (talk | contribs)
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 231:
.block--full-width{
padding: 0;
}
.block--bleed-y{
padding-left:0;
padding-right: 0;
}
.block__wrapper {
Line 711 ⟶ 715:
@media only screen and (min-width:960px) {
.cta{
padding: 120px80px 20px 0 20px;
}
.cta .image img{
Line 926 ⟶ 930:
}
 
/* wiki-block/toggle.css */
.mw-collapsible-toggle {
border-radius: 8px;
border: 1px solid #CCCCCC;
background: #F7F8F0;
display: flex;
padding: 20px 30px;
flex-direction: columnrow;
justify-content: space-between;
align-items: flex-startcenter;
gap: 24px;
}
.mw-collapsible-toggle::after{
content:" ";
width: 24px;
height: 24px;
background-image: url("https://upload.wikimedia.org/wikipedia/donate/e/e9/Keyboard_arrow_down.png");
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}
.mw-collapsible-toggle.mw-collapsible-toggle-expanded::after{
transform: rotate(180deg);
}
.mw-collapsible-content{
border: 1px solid #CCCCCC;
background: #FFFFFF;
display: flex;
flex-direction:column;
border-radius: 8px;
}
.mw-collapsible-content > div {
display: flex;
padding: 20px 30px;
align-items: flex-start;
gap: 24px8px;
align-self: stretch;
flex-direction:column;
border-bottom: 1px solid #CCCCCC;
}
.mw-collapsible-content > div:last-of-type {
border-bottom: none !important;
}
@media only screen and (min-width:960px) {
.mw-collapsible-toggle,
.mw-collapsible-content > div {
padding: 20px 30px;
}
}
</style>