Template:FrDS Styles: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
RLopez-WMF (talk | contribs)
No edit summary
RLopez-WMF (talk | contribs)
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 231: Line 231:
.block--full-width{
.block--full-width{
padding: 0;
padding: 0;
}
.block--bleed-y{
padding-left:0;
padding-right: 0;
}
}
.block__wrapper {
.block__wrapper {
Line 711: Line 715:
@media only screen and (min-width:960px) {
@media only screen and (min-width:960px) {
.cta{
.cta{
padding: 120px 20px 0 20px;
padding: 80px 20px 0 20px;
}
}
.cta .image img{
.cta .image img{
Line 926: Line 930:
}
}


/* block/toggle.css */
/* wiki-block/toggle.css */
.mw-collapsible-toggle {
.mw-collapsible-toggle {
border-radius: 8px;
border-radius: 8px;
Line 933: Line 937:
display: flex;
display: flex;
padding: 20px;
padding: 20px;
flex-direction: column;
flex-direction: row;
align-items: flex-start;
justify-content: space-between;
align-items: center;
gap: 24px;
gap: 24px;
}
}
.mw-collapsible-toggle::after{
.mw-collapsible-toggle::after{
content:"";
content:" ";
width: 24px;
width: 24px;
height: 24px;
height: 24px;
background-image: url(https://upload.wikimedia.org/wikipedia/donate/e/e9/Keyboard_arrow_down.png);
background-image: url("https://upload.wikimedia.org/wikipedia/donate/e/e9/Keyboard_arrow_down.png");
background-repeat: no-repeat;
background-repeat: no-repeat;
background-position: center;
background-position: center;
background-size: cover;
background-size: cover;
}
}
.mw-collapsible-toggle-expanded.mw-collapsible-toggle::after{
.mw-collapsible-toggle.mw-collapsible-toggle-expanded::after{
transform: rotate(30deg);
transform: rotate(180deg);
}
}
.mw-collapsible-content{
.mw-collapsible-content{

Latest revision as of 03:06, 15 October 2024