You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: Convert to WMUI and remove references to third-party CDNs
* Remove outdated python2 reference from README.md.
* Remove Bootstrap from third-party origin, use local WMUI.
* Remove needless use of jQuery, also from third-party origin.
Anno 2023 this code is simpler and shorter in vanilla DOM.
* Remove "Fork on GitHub" button, also from yet another third-party.
* Remove es5-shim as we no longer support ES5 browsers for
developer-facing docs, or indeed at all.
* Fix `<label for="demo-input">Output</label>` which was targetting
the input when clicked for native focus.
* Fix inaccessible header on "demo" header by using position sticky
instead of position fixed.
Change-Id: I66899f81edc42f6bf9ed23a2dc2a99765ae4b524
<divclass="well well-sm"><spanclass="floatpointer">Point to the end</span></div>
350
-
<divclass="clearfix"></div>
351
-
<divclass="p-float well well-sm">Floatation</div>
372
+
</section>
373
+
<section>
374
+
<h3>Floated content</h3>
375
+
<divclass="well"><spanclass="floatpointer">Point to the end</span></div>
376
+
<divclass="p-float well">Floatation</div>
352
377
<p><em>Cupcake ipsum dolor sit. Amet I love croissant chocolate chocolate cake gummi bears chocolate. Chocolate jelly beans I love jelly. Sweet roll pastry sweet. Tart lemon drops pie. Jelly candy canes brownie pie macaroon pudding pie.</em></p>
<p>A floating box at the far end of the box has borders on two sides (using <code>border-color</code> with four values), and <code>border-radius</code> on the one visible corner. It also has a margin on two sides, with different units.</p>
<p>This paragraph is in a container that has padding on each side, using the two-value ("padding: 0 20%;") syntax. When rotated (top to bottom), the values should be flipped, so that the padding is on the top and bottom.</p>
<pclass="p-indent">This paragraph is has a <code>text-indent</code>. <em>Sed efficitur vulputate arcu a facilisis. Sed et libero volutpat, facilisis ex vel, dapibus nisi. Maecenas bibendum, est non consequat consectetur, tellus erat elementum tortor, ut aliquet tellus enim sed ligula. Sed luctus congue purus sit amet condimentum. Suspendisse est ligula, accumsan laoreet porta vel, rutrum finibus dui.</em></p>
<p><code>padding</code> and <code>margin</code> styles. <spanclass="padding">Padding</span>.</p>
380
397
<p>
381
398
<spanclass="space-after">This span has both padding and margin after the text, using margin-[direction]/padding-[direction] properties.</span> When flipping from ltr to rtl, padding-right becomes padding-left. For tb-lr, it becomes padding-bottom.
@@ -386,68 +403,55 @@ <h1>CSSJanus Demos</h1>
386
403
<p>
387
404
Lorem ipsum. <spanclass="space-both">This span has both padding and margin on both sides of the text, using the three-value syntax.</span> When rotated, this gets converted to four-value syntax.
<p>A <spanclass="border">border</span> and <spanclass="radius">border radius</span>.</p>
395
410
<p><spanclass="border-styles">This span has a red border after the text, with rounded corners.</span></p>
396
411
<p><spanclass="border-images">This span has a thicker border <spanclass="border-images-block-start">closer to the preceding line</span>, a thinner border to the <spanclass="border-images-inline-start">inline-start direction</span>, and repeating text at the <spanclass="border-images-block-end">border closer to the following line</span>. </span></p>
<p>Using <code>box-shadow</code>, <code>text-shadow</code>, including inset positioning and overlapping shadows.</p>
403
416
<pclass="text-shadows">This text has a red shadow before the text slightly closer to the previous line, and a blue shadow after the text and slightly closer to the following line.</p>
404
417
<pclass="box-shadows">This box has an inset shadow, visible before the text.</p>
405
418
<divclass="box-shadows2">This box has a light orange shadow at the start and above the text. And a red shadow at the end and below the text.</div>
<liclass="list-group-item posholder">Moved <spanclass="posbase"></span><spanclass="postop">toward the following line</span><spanclass="posbase"></span>.</li>
427
-
<liclass="list-group-item posholder">Moved <spanclass="posbase"></span><spanclass="posbottom">toward the previous line</span><spanclass="posbase"></span>.</li>
428
-
<liclass="list-group-item posholder">Moved <spanclass="posbase"></span><spanclass="posleft">forward in the direction of the text</span><spanclass="posbase"></span>.</li>
429
-
<liclass="list-group-item posholder">Moved <spanclass="posbase"></span><spanclass="posright">backward in the direction of the text</span><spanclass="posbase"></span>.</li>
433
+
<ul>
434
+
<liclass="well posholder">Moved <spanclass="posbase"></span><spanclass="postop">toward the following line</span><spanclass="posbase"></span>.</li>
435
+
<liclass="well posholder">Moved <spanclass="posbase"></span><spanclass="posbottom">toward the previous line</span><spanclass="posbase"></span>.</li>
436
+
<liclass="well posholder">Moved <spanclass="posbase"></span><spanclass="posleft">forward in the direction of the text</span><spanclass="posbase"></span>.</li>
437
+
<liclass="well posholder">Moved <spanclass="posbase"></span><spanclass="posright">backward in the direction of the text</span><spanclass="posbase"></span>.</li>
<p>Background-images, including URL flips, and positioning.</p>
452
456
<ulclass="outer">
453
457
<li>Outer</li>
@@ -456,22 +460,16 @@ <h1>CSSJanus Demos</h1>
456
460
<liclass="inline-start-background">This element has a background arrow pointing toward the text, positioned at the text beginning.</li>
457
461
<liclass="block-after-background">This element has repeated background arrows on a line after the the text's block, pointing toward the inline direction.</li>
<p><ahref="../">Flip service</a> · <ahref="https://github.com/cssjanus/cssjanus.github.io/blob/master/demo/index.html">Source code of this page</a></p>
465
+
</main>
466
+
467
+
<footer>
468
+
<divclass="wm-container">
469
+
<p><ahref="../">Flip service</a> · <ahref="https://gerrit.wikimedia.org/g/mediawiki/libs/node-cssjanus/+/HEAD/docs/demo/index.html">Source code of this page</a></p>
0 commit comments