MediaWiki:Common.css: Difference between revisions

no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 28: Line 28:




.toggle-container {
#p-navigation .body {
     background: #f8f9fa;
    position: relative;
     padding: 1em;
}
     margin: 1em 0;
 
     border: 1px solid #a2a9b1;
.version-toggle {
     border-radius: 4px;
     border-top: 1px solid #c8ccd1;
     text-align: center;
     padding: 12px 8px;
     margin-top: 6px;
}
 
.version-toggle-label {
     color: #54595d;
     font-size: 0.85em;
     margin-bottom: 6px;
}
 
.version-toggle-buttons {
    display: flex;
    gap: 4px;
}
}


.toggle-button {
.version-button {
     display: inline-block;
     flex: 1;
     padding: 0.5em 1em;
     padding: 4px;
     margin: 0 0.5em;
    font-size: 0.85em;
     background: #f8f9fa;
     border: 1px solid #a2a9b1;
     border: 1px solid #a2a9b1;
     border-radius: 3px;
     border-radius: 2px;
     cursor: pointer;
     cursor: pointer;
     background: #ffffff;
     text-align: center;
     transition: all 0.2s ease;
     color: #202122;
}
}


.toggle-button.active {
.version-button.active {
     background: #36c;
     background: #eaf3ff;
    color: white;
     border-color: #36c;
     border-color: #36c;
    color: #36c;
    font-weight: bold;
}
}