Template:sandbox/grcInflection.css

From Wiktionary, the free dictionary
Jump to navigation Jump to search
/*
	For experimental declension tables in [[User:Erutuon/sandbox1]], a copy of
	some of the CSS that I have in the script sandbox
	([[Wiktionary:User script sandbox]]).
	
	I think you can install this by adding the following code to your common.js
	([[Special:MyPage/common.js]]):
		
		importStylesheetURI("//en.wiktionary.org/w/index.php?title=User:Erutuon/grcInflection.css&action=raw&ctype=text/css")
*/

table.grc-adj-infl {
	width: auto;
	border: 1px solid lightgray;
	border-collapse: separate;
	border-spacing: 1px;
}

table.grc-adj-infl .vsToggleElement {
	background-color: hsl(220, 20%, 85%);
}

table.grc-adj-infl .gender, table.grc-adj-infl .case,
table.grc-adj-infl .number, table.grc-adj-infl .label {
	background-color: hsl(220, 20%, 85%);
}

.NavToggle {
	margin-left: 0.5em;
}

.grc-adj-infl th, .grc-adj-infl td {
	/* border: 1px solid #fff; */
	padding: 0.2em 0.4em;
}

.grc-adj-infl th.first-declension {
	background-color: hsl(340, 70%, 80%);
}

.grc-adj-infl td.first-declension {
	background-color: hsl(340, 70%, 90%);
}

.grc-adj-infl th.second-declension {
	background-color: hsl(145, 70%, 80%);
}

.grc-adj-infl td.second-declension {
	background-color: hsl(145, 70%, 90%);
}

.grc-adj-infl th.third-declension {
	background-color: hsl(220, 70%, 80%);
}

.grc-adj-infl td.third-declension {
	background-color: hsl(220, 70%, 90%);
}

.grc-adj-infl .all-declensions {
	background-color: hsl(220, 50%, 90%);
}