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
Tag: Manual revert
No edit summary
 
(4 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;
    border: 1px solid #C4C4C4;
  background-color: #FFFFFF;
    background-color: #E6F0FF;
  font-size: 90%;
    font-size: 90%;
  width: 475px !important;
    width: 300px;
  margin: 1em 0 1em 1em;
    margin: 1em 0 1em 1em;
  float: right;
    float: right;
  clear: right;
    clear: right;
  padding: 1em;
    padding: 1em;
  border-radius: 12px;
    border-radius: 12px;
  box-shadow: 0 4px 6px 0 hsla(0, 0%, 0%, 0.07);
    box-shadow: 0 4px 6px 0 hsla(0, 0%, 0%, 0.07);
}
}


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


/* 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-height: 1.6;
    line-height: 1.6;
  color: #333;
    color: #333;
}
}


/* Styling for first column */
.infobox.biota td:first-child {
.infobox.biota td:first-child {
  font-weight: 500;
    font-weight: 500;
  text-align: right;
    text-align: right;
  color: #555;
    color: #555;
  padding-right: 1em;
    padding-right: 1em;
}
}


/* Styling for table headers */
.infobox.biota th {
.infobox.biota th {
  background-color: #E8E8E8;
    background-color: #E8E8E8;
  color: #333;
    color: #333;
  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;
}