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

Template:Type/style.css: Difference between revisions

Template page
PenguinEncounter (talk | contribs)
No edit summary
PenguinEncounter (talk | contribs)
add .lua-type-mod
Line 1: Line 1:
.lua-type {
.lua-type {
display: inline-flex;
display: inline-flex;
align-items: stretch;
flex-flow: row nowrap;
flex-flow: row nowrap;
width: max-content;
width: max-content;
border-radius: 3px;
border-radius: 3px;
overflow: hidden;
overflow: hidden;
background-image: none;
}
}
.lua-type a {
.lua-type a {
Line 11: Line 11:
background-color: #eeeeee;
background-color: #eeeeee;
padding: 0 3px;
padding: 0 3px;
background-image: none;
}
.lua-type .lua-type-mod {
margin-left: -3px;
padding: 0 3px 0 6px;
background-color: #dddddd;
font-family: monospace;
}
}
.lua-type a, .lua-type a:visited {
.lua-type a, .lua-type a:visited {

Revision as of 00:16, 27 September 2024

.lua-type {
	display: inline-flex;
	align-items: stretch;
	flex-flow: row nowrap;
	width: max-content;
	border-radius: 3px;
	overflow: hidden;
}
.lua-type a {
	border-radius: 3px;
	background-color: #eeeeee;
	padding: 0 3px;
	background-image: none;
}
.lua-type .lua-type-mod {
	margin-left: -3px;
	padding: 0 3px 0 6px;
	background-color: #dddddd;
	font-family: monospace;
}
.lua-type a, .lua-type a:visited {
	color: #000000;
}
.lua-type[data-name="nil"] a {
	background-color: #ffffff;
	border: 1px solid #808080;
}
.lua-type[data-name="table"] a {
	background-color: #ffffdd;
}
.lua-type[data-name="function"] a {
	background-color: #eeddff;
}
.lua-type[data-name="string"] a {
	background-color: #ddffdd;
}
.lua-type[data-name="boolean"] a {
	background-color: #ffddff;
}
.lua-type[data-name="number"] a, .lua-type[data-name="integer"] a {
	background-color: #ddddff;
}
.lua-type.lua-type[data-missing] a {
	background-color: #ffdddd;
	color: #d73333;
}