Jump to content

MediaWiki:Common.css: Difference between revisions

From Knowledge Base
No edit summary
No edit summary
Line 39: Line 39:
     font-weight: bold;
     font-weight: bold;
     font-size: 1.1em;
     font-size: 1.1em;
}
/* Styling for C# comments */
.csharp-comment {
    color: MediumSeaGreen;
    font-style: italic;
}
}




/* Make the first link stand out */
.first-link {
    font-size: 1.5em;
    font-weight: bold;
    color: #3498db; /* Blue color */
    background-color: #f0f8ff; /* Light blue background */
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
}


.first-link:hover {
    background-color: #d4e6f1; /* Slightly darker blue on hover */
    color: #2980b9;
}


/* Add spacing for nested items */
/* Add spacing for nested items */

Revision as of 12:02, 18 January 2025

/* Styling for C# keywords */
.csharp-keyword {
    color: #1E90FF; /* DodgerBlue */
    font-weight: bold;
}

/* Styling for C# types */
.csharp-type {
    color: #8A2BE2; /* BlueViolet  */
    font-weight: bold;
}

/* Styling for C# method names */
.csharp-method {
    color: #3CB371; /* MediumSeaGreen */
    font-weight: bold;
}

/* Styling for C# variables */
.csharp-variable {
    color: #FF8C00; /* DarkOrange */
    font-style: italic;
}

/* Styling for C# class names */
.csharp-class {
    color: #6A5ACD; /* SlateBlue */
    font-weight: bold;
}

/* Styling for C# property names */
.csharp-property {
    color: #00BFFF; /* DeepSkyBlue */
    font-style: italic;
}

/* Styling for curly braces */
.csharp-brace {
    font-weight: bold;
    font-size: 1.1em;
}

/* Styling for C# comments */
.csharp-comment {
    color: MediumSeaGreen;
    font-style: italic;
}




/* Add spacing for nested items */
ul {
    margin-left: 20px;
}

/* Improve readability of bullet points */
ul li {
    margin-bottom: 5px;
}

/* Optional: Style for section titles for better separation */
h2, h3, h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #2c3e50;
}