Template:Combolist/styles.css: Difference between revisions

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


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


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

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