Template:Combolist/styles.css: Difference between revisions

Template page
No edit summary
No edit summary
 
(12 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 {
  float: left;
  margin-left:0;
  margin-left: 1em;
  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;
}
}

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;
}