diff --git a/htdocs/parts/intro.php b/htdocs/parts/intro.php index 2325247..c819a1c 100644 --- a/htdocs/parts/intro.php +++ b/htdocs/parts/intro.php @@ -3,6 +3,8 @@ if(basename(__FILE__) == basename($_SERVER["SCRIPT_FILENAME"])) { header('HTTP/1.1 403 Forbidden'); die(); } + +global $root_path; ?>
@@ -26,25 +28,29 @@ if(basename(__FILE__) == basename($_SERVER["SCRIPT_FILENAME"])) {

Design philosophy

-

Core Stylesheet

-

These rules apply to the "core" part of the stylesheet:

-
diff --git a/htdocs/parts/lists.php b/htdocs/parts/lists.php index c05a3fb..43b6254 100644 --- a/htdocs/parts/lists.php +++ b/htdocs/parts/lists.php @@ -11,15 +11,132 @@ if(basename(__FILE__) == basename($_SERVER["SCRIPT_FILENAME"])) {
-

???.

+

Blank lists

+

+ By default, ordered and unordered lists have no bullet.
+ This behavior can be used to create custom styled lists that still remain helpful for SEO and accessibility. +

+ -
-
diff --git a/scss/core/lists.scss b/scss/core/lists.scss index b9236e8..5eaaa18 100644 --- a/scss/core/lists.scss +++ b/scss/core/lists.scss @@ -2,28 +2,54 @@ /* Core > Lists */ -ul:not(.no-bullet) { - padding-left: 1.5rem; - - &> li { +ul { + &.l-bullets, &.list-bullets { list-style-type: disc; } } -ol:not(.no-bullet) { - list-style-type: decimal; - padding-left: 1.5rem; +ol { + &.l-bullets, &.list-bullets { + list-style-type: decimal; + } } -li { - //list-style-type: disc; - - /*&> li { - list-style-type: circle; - }*/ +ul, ol { + &.l-bullet-inside, &.list-bullet-inside { + list-style-position: inside; + } + &.l-bullet-outside, &.list-bullet-outside { + list-style-position: outside; + } + &.l-bullet-manual, &.list-bullet-manual { + list-style-position: outside; + padding-left: 1.5rem; + } } -/*ul.no-bullet, ol.no-bullet { - list-style-type: none; - padding-left: 0; -}*/ +ul, ol, li { + &.list-bullet-none, &.l-bullet-none { + list-style-type: none; + } + &.list-bullet-disc, &.l-bullet-disc { + list-style-type: disc; + } + &.list-bullet-square, &.l-bullet-square { + list-style-type: square; + } + &.list-bullet-decimal, &.l-bullet-decimal { + list-style-type: decimal; + } + &.list-bullet-decimal-leading, &.l-bullet-decimal-leading { + list-style-type: decimal-leading-zero; + } + &.list-bullet-georgian, &.l-bullet-georgian { + list-style-type: georgian; + } + &.list-bullet-chinese, &.l-bullet-chinese { + list-style-type: trad-chinese-informal; + } + &.list-bullet-kannada, &.l-bullet-kannada { + list-style-type: kannada; + } +}