Jump to content

Template:Infobox Settlement/styles.css: Difference between revisions

From VeraciaWiki
Created page with ".infobox { border: 1px solid #a2a9b1; margin: 0 0.5em 0.5em 0.5em; padding: 0.5em; width: 30%; float: right; border-collapse: collapse; font-weight: normal; background-color: #f8f9fa; } .infobox-title { font-size: 1.5em; font-weight: bold; text-align: center; border-bottom: 1px solid #a2a9b1; } .infobox-title-local { font-size: 1.2em; font-style: italic; text-align: center; padding-bottom: 0.3em; } .infobox-main-image, .infobox-gallery..."
 
No edit summary
Tag: Reverted
Line 1: Line 1:
/* Basic infobox layout */
.infobox {
.infobox {
   border: 1px solid #a2a9b1;
   border: 1px solid #a2a9b1;
Line 6: Line 7:
   float: right;
   float: right;
   border-collapse: collapse;
   border-collapse: collapse;
  table-layout: fixed;
   font-weight: normal;
   font-weight: normal;
   background-color: #f8f9fa;
   background-color: #f8f9fa;
}
}


/* Title styles */
.infobox-title {
.infobox-title {
   font-size: 1.5em;
   font-size: 1.5em;
   font-weight: bold;
   font-weight: bold;
   text-align: center;
   text-align: center;
   border-bottom: 1px solid #a2a9b1;
   text-indent: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}
}


.infobox-title-local {
.infobox-title-local {
   font-size: 1.2em;
   font-size: 1.25em;
  font-weight: normal;
   font-style: italic;
   font-style: italic;
   text-align: center;
   text-align: center;
   padding-bottom: 0.3em;
  text-indent: 0;
   padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 1px solid #a2a9b1;
}
}


/* Image styles */
.infobox-main-image,
.infobox-main-image,
.infobox-gallery {
.infobox-gallery {
Line 36: Line 46:
}
}


/* Divider row */
.infobox-tr-divider {
.infobox-tr-divider {
   border-top: 1px solid #a2a9b1;
   border-top: 1px solid #a2a9b1;
}
}


/* Table cell formatting */
.infobox-th {
.infobox-th {
   text-align: left;
   text-align: left;
Line 54: Line 66:
}
}


.infobox-map-tabs {
.infobox-th-wide {
   padding: 0.5em;
   text-align: left;
   border-top: 1px solid #a2a9b1;
   vertical-align: top;
   border-bottom: 1px solid #a2a9b1;
  padding-left: 1em;
   width: 80% !important;
}
}


.map-tab {
.infobox-td-narrow {
   margin-bottom: 0.5em;
   text-align: left;
  vertical-align: top;
  padding-left: 1em;
  width: 20% !important;
}
}


.map-tab input[type="radio"] {
/* Utility styles */
   display: none;
.unbolded {
  font-weight: normal;
   line-height: 80%;
}
}


.map-tab label {
.fake-li {
   font-weight: bold;
   text-indent: -0.9em;
  margin-right: 1em;
   margin-left: 1.2em;
  cursor: pointer;
   font-weight: normal;
  color: #3366cc;
}
 
.map-tab .tab-content {
  display: none;
   margin-top: 0.5em;
   text-align: center;
}
 
.map-tab input:checked + label + .tab-content {
  display: block;
}
}

Revision as of 11:58, 29 March 2025

/* Basic infobox layout */
.infobox {
  border: 1px solid #a2a9b1;
  margin: 0 0.5em 0.5em 0.5em;
  padding: 0.5em;
  width: 30%;
  float: right;
  border-collapse: collapse;
  table-layout: fixed;
  font-weight: normal;
  background-color: #f8f9fa;
}

/* Title styles */
.infobox-title {
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
  text-indent: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

.infobox-title-local {
  font-size: 1.25em;
  font-weight: normal;
  font-style: italic;
  text-align: center;
  text-indent: 0;
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 1px solid #a2a9b1;
}

/* Image styles */
.infobox-main-image,
.infobox-gallery {
  text-align: center;
  margin: 0.5em 0;
}

.infobox-caption {
  font-size: 0.9em;
  color: #555;
  margin-top: 0.3em;
}

/* Divider row */
.infobox-tr-divider {
  border-top: 1px solid #a2a9b1;
}

/* Table cell formatting */
.infobox-th {
  text-align: left;
  vertical-align: top;
  padding-left: 1em;
  width: 50%;
}

.infobox-td {
  text-align: left;
  vertical-align: top;
  padding-left: 0.5em;
  width: 50%;
}

.infobox-th-wide {
  text-align: left;
  vertical-align: top;
  padding-left: 1em;
  width: 80% !important;
}

.infobox-td-narrow {
  text-align: left;
  vertical-align: top;
  padding-left: 1em;
  width: 20% !important;
}

/* Utility styles */
.unbolded {
  font-weight: normal;
  line-height: 80%;
}

.fake-li {
  text-indent: -0.9em;
  margin-left: 1.2em;
  font-weight: normal;
}