MediaWiki:Common.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
.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;
}
/* Dark theme for syntax-highlighted code blocks */
.syntaxhighlighter {
background-color: #2e2e2e; /* Dark background */
color: #f8f8f2; /* Light text color */
border: 1px solid #444; /* Optional border for better visibility */
padding: 10px;
overflow: auto;
}
/* Style for keywords, comments, etc. */
.syntaxhighlighter .kw1 { color: #f92672; } /* Keywords */
.syntaxhighlighter .kw2 { color: #f92672; } /* Keywords */
.syntaxhighlighter .kw3 { color: #f92672; } /* Keywords */
.syntaxhighlighter .com { color: #75715e; } /* Comments */
.syntaxhighlighter .str { color: #e6db74; } /* Strings */
.syntaxhighlighter .lit { color: #ae81ff; } /* Literals */
.syntaxhighlighter .pln { color: #f8f8f2; } /* Plain text */