MediaWiki:Common.css: Difference between revisions

From DefacerID Encyclopedia
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 37: Line 37:
     font-size: 1.2em;
     font-size: 1.2em;
     margin: 5px 0;
     margin: 5px 0;
}
/* Dark theme for syntax-highlighted code blocks */
.mw-highlight {
    background-color: #2e2e2e; /* Dark background */
    color: #f8f8f2; /* Light text color */
    border: 1px solid #444; /* Optional border */
    padding: 10px;
    overflow: auto;
    border-radius: 4px; /* Optional rounded corners */
}
/* Style for the <pre> element inside .mw-highlight */
.mw-highlight pre {
    margin: 0; /* Remove default margins */
    overflow: auto; /* Ensure scrollbars appear if needed */
}
/* Syntax highlighting for various elements */
.mw-highlight .kw1, .mw-highlight .kw2, .mw-highlight .kw3 {
    color: #f92672; /* Keywords */
}
.mw-highlight .com {
    color: #75715e; /* Comments */
}
.mw-highlight .str {
    color: #e6db74; /* Strings */
}
.mw-highlight .lit {
    color: #ae81ff; /* Literals */
}
.mw-highlight .pln {
    color: #f8f8f2; /* Plain text */
}
/* Additional styling for line numbers if enabled */
.mw-highlight .line {
    color: #666; /* Line numbers color */
}
}

Revision as of 16:09, 7 August 2024

.cs-comment {
	margin-top: 30px;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
}
.cs-comment-author {
    font-weight: bold;
    color: #333;
}
.cs-comment-timestamp {
    font-size: 0.9em;
    color: #999;
}
.cs-comment-form {
    display: block !important;
}

#random-articles {
    font-family: Arial, sans-serif;
}

.category-group {
    margin: 20px;
    padding: 15px;
    border: 1px solid #d3d3d3; /* Soft gray border */
    background-color: transparent; /* Transparent background */
}

.category-group h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.category-group h3 {
    font-size: 1.2em;
    margin: 5px 0;
}