MediaWiki:Gadget-cosmostweaks.css: Difference between revisions
test |
No edit summary |
||
| Line 1,245: | Line 1,245: | ||
min-width:340px; | min-width:340px; | ||
} | } | ||
.ct- | .cosmos-articleContainer:not(.ct-railshown) #CosmosRailWrapper { | ||
width: 20px; | width: 20px; | ||
} | } | ||
.ct- | .cosmos-articleContainer:not(.ct-railshown) #CosmosRail { | ||
display:none; | display:none; | ||
} | } | ||
| Line 1,254: | Line 1,254: | ||
transition: width 0.3s; | transition: width 0.3s; | ||
} | } | ||
.ct- | .cosmos-articleContainer:not(.ct-railshown) #cosmos-pageBody-content { | ||
width:100%; | width:100%; | ||
} | } | ||
| Line 1,273: | Line 1,273: | ||
box-shadow:0 3px 5px rgba(0,0,0,0.1); | box-shadow:0 3px 5px rgba(0,0,0,0.1); | ||
} | } | ||
.ct- | .cosmos-articleContainer:not(.ct-railshown) .ct-railtoggle { | ||
background-color:var(--content-background-color); | background-color:var(--content-background-color); | ||
} | } | ||
| Line 1,292: | Line 1,292: | ||
display:none; | display:none; | ||
} | } | ||
.ct- | |||
.cosmos-articleContainer:not(.ct-railshown) .ct-railtoggle::before { | |||
content: "Show rail"; | content: "Show rail"; | ||
} | } | ||
| Line 1,312: | Line 1,313: | ||
transition: transform 0.3s; | transition: transform 0.3s; | ||
} | } | ||
.ct- | .cosmos-articleContainer:not(.ct-railshown) .ct-railtoggle::after { | ||
transform: rotate(45deg) translate(3px, -3px); | transform: rotate(45deg) translate(3px, -3px); | ||
} | } | ||