Template:Combolist/styles.css: Difference between revisions

Template page
No edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
.combolist {
.combolist > dl {
  margin-left: -1em;
  break-inside: avoid;
}
}


.combolist > dl,
.combolist > dl > dd {
.combolist > table {
  margin-left:0;
  float: left;
  padding-left: 1.2em;
  margin-left: 1em;
  position: relative;
}
 
.combolist > dl > dt {
  margin-left: 1em;
}
}


.combolist > dl > dd {
.combolist > dl > dd::before {
  margin-left: 0;
  /* content: "⤷ "; but using SVG bg image */
  content: '';
  width: 0.7em;
  height: 1.4em;
  position: absolute;
  top: -0.2em;
  left: 0.25em;
  /* background-image in Common.css */
  background-repeat: no-repeat;
  background-position: center;
}
}

Latest revision as of 06:53, 17 June 2022

.combolist > dl {
   break-inside: avoid;
}

.combolist > dl > dd {
   margin-left:0;
   padding-left: 1.2em;
   position: relative;
}

.combolist > dl > dd::before {
   /* content: "⤷ "; but using SVG bg image */
   content: '';
   width: 0.7em;
   height: 1.4em;
   position: absolute;
   top: -0.2em;
   left: 0.25em;
   /* background-image in Common.css */
   background-repeat: no-repeat;
   background-position: center;
}