(Inside changed the content model of the page Template:FishInfoBox/styles.css from "wikitext" to "Sanitised CSS") Tag: content model change |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* Styles for FishInfoBox template */ | |||
/* Container for the infobox */ | |||
.infobox.biota { | .infobox.biota { | ||
border: 1px solid #C4C4C4; | |||
background-color: #E6F0FF; | |||
font-size: 90%; | |||
width: 300px; | |||
margin: 1em 0 1em 1em; | |||
float: right; | |||
clear: right; | |||
padding: 1em; | |||
border-radius: 12px; | |||
box-shadow: 0 4px 6px 0 hsla(0, 0%, 0%, 0.07); | |||
} | } | ||
.infobox.biota | /* Image styling */ | ||
.infobox.biota img { | |||
max-width: 100%; | |||
height: auto; | |||
border-radius: 12px; | |||
} | } | ||
/* Styling for table cells */ | |||
.infobox.biota td { | .infobox.biota td { | ||
padding: 0.5em; | |||
text-align: left; | |||
vertical-align: top; | |||
line-height: 1.6; | |||
color: #333; | |||
} | } | ||
/* Styling for first column */ | |||
.infobox.biota td:first-child { | .infobox.biota td:first-child { | ||
font-weight: 500; | |||
text-align: right; | |||
color: #555; | |||
padding-right: 1em; | |||
} | } | ||
/* Styling for table headers */ | |||
.infobox.biota th { | .infobox.biota th { | ||
background-color: #E8E8E8; | |||
color: #333; | |||
font-weight: 500; | |||
text-align: center; | |||
padding: 0.5em; | |||
border-radius: 12px; | |||
} | } |
Latest revision as of 22:11, 21 June 2024
/* Styles for FishInfoBox template */
/* Container for the infobox */
.infobox.biota {
border: 1px solid #C4C4C4;
background-color: #E6F0FF;
font-size: 90%;
width: 300px;
margin: 1em 0 1em 1em;
float: right;
clear: right;
padding: 1em;
border-radius: 12px;
box-shadow: 0 4px 6px 0 hsla(0, 0%, 0%, 0.07);
}
/* Image styling */
.infobox.biota img {
max-width: 100%;
height: auto;
border-radius: 12px;
}
/* Styling for table cells */
.infobox.biota td {
padding: 0.5em;
text-align: left;
vertical-align: top;
line-height: 1.6;
color: #333;
}
/* Styling for first column */
.infobox.biota td:first-child {
font-weight: 500;
text-align: right;
color: #555;
padding-right: 1em;
}
/* Styling for table headers */
.infobox.biota th {
background-color: #E8E8E8;
color: #333;
font-weight: 500;
text-align: center;
padding: 0.5em;
border-radius: 12px;
}