Template:File information/stylescrap.css: Difference between revisions

From Research Realm
(Created page with "→‎{{pp|small=y}}: .file-information { width: 100%; padding: 5px; border: 1px solid #a2a9b1; background-color: #f8f9fa; font-size: 95%; box-sizing: border-box; } .file-information caption { font-weight: bold; } .file-information td { padding: 2px; vertical-align: top; } .file-information th { padding: 2px; vertical-align: top; background: #ccf; text-align: right; padding-right: 0.4em; } →‎higher specificity than the likely-later .imbox styles: .fil...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
/* {{pp|small=y}} */
.file-information {
width: 100%;
padding: 5px;
border: 1px solid #a2a9b1;
background-color: #f8f9fa;
font-size: 95%;
box-sizing: border-box;
}


.file-information caption {
font-weight: bold;
}
.file-information td {
padding: 2px;
vertical-align: top;
}
.file-information th {
padding: 2px;
vertical-align: top;
background: #ccf;
text-align: right;
padding-right: 0.4em;
}
/* higher specificity than the likely-later .imbox styles */
.file-information td .imbox {
margin: 4px;
}
@media (min-width: 720px) {
/* let's not enforce col widths except above 720px */
.file-information th {
width: 15%;
}
}

Latest revision as of 03:35, 11 April 2024