User:Harimaron/Sandbox/Template:Navbox/styles.css: Difference between revisions

From Inkipedia, the Splatoon wiki
(add rules for NavboxGroup)
m (sync)
Line 14: Line 14:
background-color: rgba(255, 255, 255, 0.5);
background-color: rgba(255, 255, 255, 0.5);
border-radius: 18px;
border-radius: 18px;
padding: 0px;
padding: 0;
}
}
table.navbox > tbody > tr:not(:first-child) > td > div {
table.navbox > tbody > tr:not(:first-child) > td > div {
box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.5) inset;
box-shadow: 0 0 15px rgba(255, 255, 255, 0.5) inset;
border-radius: 18px;
border-radius: 18px;
padding: 4px 4px 0px 4px;
padding: 4px 4px 0 4px;
}
}


Line 29: Line 29:
margin-bottom: 4px;
margin-bottom: 4px;
}
}
table.navbox-group > tbody > tr > th:first-child {
table.navbox-group > tbody > tr > th:first-child {
border-radius: 11px 0px 0px 11px;
border-radius: 11px 0 0 11px;
text-align: center;
text-align: center;
font-weight: bold;
font-weight: bold;
}
}

Revision as of 17:45, 11 April 2024

table.navbox {
	margin: auto;
	width: 80%;
	border-radius: 20px;
	border-spacing: 2px;
}
table.navbox > tbody > tr:first-child > td > div {
	font-size: 17px;
	font-weight: bold;
	text-align: center;
	margin-left: 56px;
}
table.navbox > tbody > tr:not(:first-child) > td {
	background-color: rgba(255, 255, 255, 0.5);
	border-radius: 18px;
	padding: 0;
}
table.navbox > tbody > tr:not(:first-child) > td > div {
	box-shadow: 0 0 15px rgba(255, 255, 255, 0.5) inset;
	border-radius: 18px;
	padding: 4px 4px 0 4px;
}

table.navbox-group {
	border: 2px solid;
	border-radius: 14px;
	width: 100%;
	border-spacing: 2px;
	margin-bottom: 4px;
}
table.navbox-group > tbody > tr > th:first-child {
	border-radius: 11px 0 0 11px;
	text-align: center;
	font-weight: bold;
}