Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:FishInfoBox/styles.css: Difference between revisions

Template page
No edit summary
(Inside changed the content model of the page Template:FishInfoBox/styles.css from "Sanitised CSS" to "CSS")
Tag: content model change
(No difference)

Revision as of 20:32, 14 May 2024

/* Styles for FishInfoBox template */

/* Container for the infobox */
.infobox.biota {
    border: 1px solid #C4C4C4;
    background-color: #E6F0FF; /* Light blue background color */
    font-size: 90%;
    width: 300px; /* Adjust width as needed */
    margin: 1em 0 1em 1em; /* Margin to position on the right */
    float: right; /* Float to the right */
    clear: right;
    padding: 1em;
    border-radius: 12px;
    box-shadow: 0 4px 6px 0 hsla(0, 0%, 0%, 0.07);
}

/* Image styling */
.infobox.biota .image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Styling for table cells */
.infobox.biota td {
    padding: 0.5em 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 0.5em;
    border-radius: 12px;
}