Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Citizen.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 26: Line 26:


.wikitable {
.wikitable {
    all: unset; /* Reset all inherited properties */
     border-radius: 10px !important; /* Ensures the rounded corners */
    display: table; /* Reapply table display */
     border: 3px solid #111 !important; /* Example border */
    width: unset; /* Reapply specific properties you need */
     border-spacing: 0; /* Necessary for consistent spacing */
    border-collapse: collapse; /* Collapsed borders */
    margin: initial;
    padding: initial;
     border: 1px solid #ccc; /* Example border */
    border-radius: 10px; /* Rounded corners for the table */
     overflow: hidden; /* Ensures the border-radius affects children */
     overflow: hidden; /* Ensures the border-radius affects children */
}
}


/* Round the corners of the first and last cells in each row */
.wikitable td:first-child, .wikitable th:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.wikitable td:last-child, .wikitable th:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
/* Ensure the table cells still have borders */
.wikitable td, .wikitable th {
.wikitable td, .wikitable th {
     border: 1px solid #ccc; /* Example cell borders */
     border: 3px solid #111 !important; /* Ensures cell borders are consistent */
}
}



Revision as of 15:56, 27 October 2024

/* All CSS here will be loaded for users of the Citizen skin */


:root {

/* My colour variables*/
    --myblueone: hsl(207, 45%, 8%); /*0B151D*/
    --mybluetwo: hsl(207, 44%, 12%); /*11202C*/
    --mybluetest: hsl(207, 44%, 14%); /*11202C*/




/* The actual colours */
    --color-surface-0: var(--myblueone);
    --color-surface-1: var(--mybluetow);
    --color-surface-2: var(--mybluetwo);
    --color-surface-3: var(--mybluetwo);
    --color-surface-4: var(--mybluetwo);


    /* Pink is the new black 
    --color-primary__h: 209; */
 
}

.wikitable {
    border-radius: 10px !important; /* Ensures the rounded corners */
    border: 3px solid #111 !important; /* Example border */
    overflow: hidden; /* Ensures the border-radius affects children */
}

.wikitable td, .wikitable th {
    border: 3px solid #111 !important; /* Ensures cell borders are consistent */
}



* {
    box-shadow: none !important;
}