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
(Inside changed the content model of the page Template:FishInfoBox/styles.css from "CSS" to "Sanitised CSS")
Tag: content model change
No edit summary
 
Line 4: Line 4:
.infobox.biota {
.infobox.biota {
     border: 1px solid #C4C4C4;
     border: 1px solid #C4C4C4;
     background-color: #E6F0FF; /* Light blue background color */
     background-color: #E6F0FF;
     font-size: 90%;
     font-size: 90%;
     width: 300px; /* Adjust width as needed */
     width: 300px;
     margin: 1em 0 1em 1em; /* Margin to position on the right */
     margin: 1em 0 1em 1em;
     float: right; /* Float to the right */
     float: right;
     clear: right;
     clear: right;
     padding: 1em;
     padding: 1em;
Line 16: Line 16:


/* Image styling */
/* Image styling */
.infobox.biota .image img {
.infobox.biota img {
     max-width: 100%;
     max-width: 100%;
     height: auto;
     height: auto;
Line 24: Line 24:
/* Styling for table cells */
/* Styling for table cells */
.infobox.biota td {
.infobox.biota td {
     padding: 0.5em 0.5em;
     padding: 0.5em;
     text-align: left;
     text-align: left;
     vertical-align: top;
     vertical-align: top;
Line 45: Line 45:
     font-weight: 500;
     font-weight: 500;
     text-align: center;
     text-align: center;
     padding: 0.5em 0.5em;
     padding: 0.5em;
     border-radius: 12px;
     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;
}