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
m (Inside moved page Template:FishInfoBox/styles.css to FishInfoBox/styles.css without leaving a redirect)
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
".infobox.biota {
/* Styles for FishInfoBox template */
  border: 1px solid #C4C4C4;
 
  background-color: #FFFFFF;
/* Container for the infobox */
  font-size: 90%;
.infobox.biota {
  width: 475px !important;
    border: 1px solid #C4C4C4;
  margin: 1em 0 1em 1em;
    background-color: #E6F0FF;
  float: right;
    font-size: 90%;
  clear: right;
    width: 300px;
  padding: 1em;
    margin: 1em 0 1em 1em;
  border-radius: 12px;
    float: right;
  box-shadow: 0 4px 6px 0 hsla(0, 0%, 0%, 0.07);
    clear: right;
    padding: 1em;
    border-radius: 12px;
    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;
}