Template:Combolist/styles.css: Difference between revisions

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


.combo-list 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;
}