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

MediaWiki:Cosmos.css: Difference between revisions

MediaWiki interface page
Content deleted Content added
ChaoticShadow (talk | contribs)
made header buttons more readable
ChaoticShadow (talk | contribs)
m add pre to the tag
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* All CSS here will be loaded for users of the Cosmos skin */
/* All CSS here will be loaded for users of the Cosmos skin */
body * {
font-family: system-ui,
-apple-system, BlinkMacSystemFont,
"Segoe UI",
"Roboto",
"Oxygen",
"Ubuntu",
"Cantarell",
"Fira Sans",
"Droid Sans",
"Helvetica Neue",
Arial, sans-serif;
}

pre,
pre * {
font-family: ui-monospace,
Menlo, Monaco,
"Cascadia Mono", "Segoe UI Mono",
"Roboto Mono",
"Oxygen Mono",
"Ubuntu Monospace",
"Source Code Pro",
"Fira Mono",
"Droid Sans Mono",
"Courier New", monospace;
}

a.selflink:not(.new) {
color: #000;
}

/*
* Table
*/
table {
overflow: auto;
display: block;
max-width: 100vw;
}

.wikitable {
background-color: transparent;
border: none;
}


.wikitable > * > tr > th {
.wikitable > * > tr > th {
Line 10: Line 55:
.cosmos-header .wds-button.wds-is-secondary {
.cosmos-header .wds-button.wds-is-secondary {
color: #000;
color: #000;
background-color: rgba(0, 30, 59, 0.1);
border-color: rgb(148, 171, 172);
border-color: rgb(148, 171, 172);
}
}
.cosmos-header .wds-button.wds-is-secondary:hover {
.cosmos-header .wds-button.wds-is-secondary:hover {
background-color: rgba(0, 30, 59, 0.3);
border-color: rgb(51, 65, 65);
border-color: rgb(51, 65, 65);
}
}
Line 28: Line 75:


#catlinks {
#catlinks {
padding: 0.75em 1em;
border-radius: 4px;
border-radius: 4px;
}
}

Latest revision as of 05:03, 16 July 2022

/* All CSS here will be loaded for users of the Cosmos skin */
body * {
	font-family: system-ui, 
             -apple-system, BlinkMacSystemFont, 
             "Segoe UI", 
             "Roboto", 
             "Oxygen", 
             "Ubuntu", 
             "Cantarell", 
             "Fira Sans", 
             "Droid Sans", 
             "Helvetica Neue", 
             Arial, sans-serif;
}

pre,
pre * {
	font-family: ui-monospace, 
             Menlo, Monaco, 
             "Cascadia Mono", "Segoe UI Mono", 
             "Roboto Mono", 
             "Oxygen Mono", 
             "Ubuntu Monospace", 
             "Source Code Pro",
             "Fira Mono", 
             "Droid Sans Mono", 
             "Courier New", monospace;
}

a.selflink:not(.new) {
  color: #000;
}

/*
 * Table
 */
table {
	overflow: auto;
	display: block;
	max-width: 100vw;
}

.wikitable {
	background-color: transparent;
	border: none;
}

.wikitable > * > tr > th {
	background-color: hsl(0, 0%, 94.9%) !important;
}

/*
 * Header
 */
.cosmos-header .wds-button.wds-is-secondary {
	color: #000;
	background-color: rgba(0, 30, 59, 0.1);
	border-color: rgb(148, 171, 172);
}
.cosmos-header .wds-button.wds-is-secondary:hover {
	background-color: rgba(0, 30, 59, 0.3);
	border-color: rgb(51, 65, 65);
}
.cosmos-header .wds-button-group > .wds-dropdown:not(:first-child) .wds-button {
	border-left-color: rgb(148, 171, 172);
}
.cosmos-header .wds-button-group > .wds-dropdown:not(:first-child) .wds-button:hover {
	border-left-color: rgb(51, 65, 65);
}


.toc {
	border-radius: 4px;
}

#catlinks {
	padding: 0.75em 1em;
	border-radius: 4px;
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.