Toggle menu
Toggle preferences 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
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* All CSS here will be loaded for users of the Citizen skin */
/* All CSS here will be loaded for users of the Citizen skin */
.infoboxheader td {
    border-bottom: none !important;
}
.infobox td {
    padding: 3px;
    border-bottom: 2px groove var(--border-color-base);
}


table.infobox {
table.infobox {
Line 9: Line 18:
     margin: 10px;
     margin: 10px;
     padding: 10px;
     padding: 10px;
}
.hiddenStructure {
    display: none;
}
/* Dealing with images */
a.images {
display: inline !important;
}
figure .thumbinner a.new, .thumb .thumbinner a.new {
    display: inline !important;
    padding: 0px !important;
    background-color: inherit !important;
    background: inherit !important;
    transition: background 200ms ease,color 200ms ease;
}
.thumb {
background-color: var(--color-surface-2) !important;
clip-path: polygon(0 10.00px,10.00px 0,calc(100% - 8px) 0,100% 10.00px,100% calc(100% - 10.00px),calc(100% - 10.00px) 100%,10.00px 100%,0 calc(100% - 10.00px));
}
.thumbcaption {
    padding: 0.25em 1em;
}
/* Deals with (i.e. hides) errors caused by defautsortkeys used in DisambigTab pages */
.tabber__panel > span.error {
    display: none;
}
}

Latest revision as of 18:28, 28 December 2024

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

.infoboxheader td {
    border-bottom: none !important;
}

.infobox td {
    padding: 3px;
    border-bottom: 2px groove var(--border-color-base);
}

table.infobox {
    float: right;
	background-color: var(--color-surface-2);
    border: var(--border-width-base) solid var(--border-color-base);
	clip-path: polygon(0 10.00px,10.00px 0,calc(100% - 8px) 0,100% 10.00px,100% calc(100% - 10.00px),calc(100% - 10.00px) 100%,10.00px 100%,0 calc(100% - 10.00px));
    border-collapse: unset; /* originally collapse, but this caused problems with yellow borders not showing up properly */
    margin: 10px;
    padding: 10px;
}

.hiddenStructure {
    display: none;
}

/* Dealing with images */

a.images {
	display: inline !important;
}

figure .thumbinner a.new, .thumb .thumbinner a.new {
    display: inline !important;
    padding: 0px !important;
    background-color: inherit !important;
    background: inherit !important;
    transition: background 200ms ease,color 200ms ease;
}

.thumb {
	background-color: var(--color-surface-2) !important;
	clip-path: polygon(0 10.00px,10.00px 0,calc(100% - 8px) 0,100% 10.00px,100% calc(100% - 10.00px),calc(100% - 10.00px) 100%,10.00px 100%,0 calc(100% - 10.00px));
}

.thumbcaption {
	    padding: 0.25em 1em;
}

/* Deals with (i.e. hides) errors caused by defautsortkeys used in DisambigTab pages */

.tabber__panel > span.error {
    display: none;
}