Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Information/styles.css: Difference between revisions

From Neodyland Wiki
test removal
m Reverted 4 edits by Neveselbert (mobile) (talk) (TwinkleGlobal)
Line 22: Line 22:
width: 15%;
width: 15%;
font-weight: bold;
font-weight: bold;
}
/* Layout on mobile devices */
@media
only screen and (max-width:719px)  {
/* Force table to not be like tables anymore */
.fileinfotpl-type-information,
.fileinfotpl-type-information table,
.fileinfotpl-type-information tbody,
.fileinfotpl-type-information th,
.fileinfotpl-type-information td,
.fileinfotpl-type-information tr {
display: block;
}
.fileinfotpl-type-information th,
.fileinfotpl-type-information td {
width: auto !important;
text-align: center;
}
}
}

Revision as of 04:50, 21 January 2023

.fileinfotpl-type-information {
	/* toccolours */
	border: 1px solid #a2a9b1;
	background-color: #f8f9fa;
	padding: 5px;
	font-size: 95%;
	/* end of toccolours */
	box-sizing: border-box;
	width: 100%;
}
.fileinfotpl-type-information > * > tr {
	vertical-align: top;
}
.fileinfotpl-type-information > * > tr > td,
.fileinfotpl-type-information > * > tr > th {
	padding: 4px;
}
.fileinfo-paramfield {
	background: #ccf;
	text-align: right;
	padding-right: 0.4em;
	width: 15%;
	font-weight: bold;
}

/* Layout on mobile devices */
@media 
only screen and (max-width:719px)  {
	/* Force table to not be like tables anymore */
	.fileinfotpl-type-information,
	.fileinfotpl-type-information table,
	.fileinfotpl-type-information tbody,
	.fileinfotpl-type-information th,
	.fileinfotpl-type-information td,
	.fileinfotpl-type-information tr { 
		display: block;
	}
	.fileinfotpl-type-information th,
	.fileinfotpl-type-information td {
		width: auto !important;
		text-align: center;
	}
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.