From 41d8431ba1e92d6c2b50e8ca8fd6a186c289183f Mon Sep 17 00:00:00 2001 From: fechin Date: Sun, 20 Nov 2022 14:18:58 +0800 Subject: [PATCH] Added source code example for Lists Variants --- source/_posts/aspect-ratio.md | 4 +- source/_posts/awk.md | 8 +- source/_posts/bash.md | 2 +- source/_posts/cpp.md | 6 +- source/_posts/css.md | 2 +- source/_posts/docker.md | 4 +- source/_posts/git.md | 2 +- source/_posts/golang.md | 2 +- source/_posts/iso-639-1.md | 4 +- source/_posts/java.md | 12 +- source/_posts/jquery.md | 80 +-- source/_posts/json.md | 2 +- source/_posts/laravel.md | 4 +- source/_posts/mime.md | 4 +- source/_posts/postgres.md | 4 +- source/_posts/quickref-xxx.md | 460 ++++++++++++++++++ source/_posts/quickref.md | 137 ++++-- source/_posts/regex.md | 4 +- source/_posts/resolutions.md | 4 +- source/_posts/yaml.md | 12 +- .../coo/source/css/components/layout_list.css | 26 +- 21 files changed, 660 insertions(+), 123 deletions(-) create mode 100644 source/_posts/quickref-xxx.md diff --git a/source/_posts/aspect-ratio.md b/source/_posts/aspect-ratio.md index 66739f6..19eb919 100644 --- a/source/_posts/aspect-ratio.md +++ b/source/_posts/aspect-ratio.md @@ -24,7 +24,7 @@ Getting started {.cols-2} - It's usually written as two numbers separated by a colon or "x", ex: 16:9 or 16x9 - Which is interpreted as W pixels in width for every H pixel in height. - Resolution is the number of pixels (individual points of color) -{.style-round} +{.marker-round} ### Multi-format of Aspect Ratio @@ -52,7 +52,7 @@ Getting started {.cols-2} - [BBCode](https://tableconvert.com/html-to-bbcode?data=https://quickref.me/aspect-ratio#TableGenerator) - [PDF](https://tableconvert.com/html-to-pdf?data=https://quickref.me/aspect-ratio#TableGenerator) - [JPEG](https://tableconvert.com/html-to-jpeg?data=https://quickref.me/aspect-ratio#TableGenerator) -{.cols-4 .style-none} +{.cols-4 .marker-none} diff --git a/source/_posts/awk.md b/source/_posts/awk.md index e5a7aa6..520bf49 100644 --- a/source/_posts/awk.md +++ b/source/_posts/awk.md @@ -295,14 +295,14 @@ Awk Operators {.cols-3} - `%` - `++` - `--` -{.cols-3 .style-none} +{.cols-3 .marker-none} #### Shorthand assignments - `+=` - `-=` - `*=` - `/=` - `%=` -{.cols-3 .style-none} +{.cols-3 .marker-none} #### Comparison operators - `==` - `!=` @@ -310,7 +310,7 @@ Awk Operators {.cols-3} - `>` - `<=` - `>=` -{.cols-3 .style-none} +{.cols-3 .marker-none} @@ -743,7 +743,7 @@ Miscellaneous {.cols-3} - `*` - `+` - `?` -{.cols-3 .style-none} +{.cols-3 .marker-none} ### Escape Sequences | - | - | diff --git a/source/_posts/bash.md b/source/_posts/bash.md index 814d8d5..77c4fed 100644 --- a/source/_posts/bash.md +++ b/source/_posts/bash.md @@ -954,7 +954,7 @@ fi - \$ - \* - \? -{.cols-4 .style-none} +{.cols-4 .marker-none} Escape these special characters with `\` diff --git a/source/_posts/cpp.md b/source/_posts/cpp.md index 9b896b5..a6066ce 100644 --- a/source/_posts/cpp.md +++ b/source/_posts/cpp.md @@ -620,7 +620,7 @@ C++ Preprocessor {.cols-3} - [export](https://en.cppreference.com/w/cpp/keyword/export) - [import](https://en.cppreference.com/mwiki/index.php?title=cpp/keyword/import&action=edit&redlink=1) - [module](https://en.cppreference.com/mwiki/index.php?title=cpp/keyword/module&action=edit&redlink=1) -{.style-none .cols-2} +{.marker-none .cols-2} ### Includes @@ -808,7 +808,7 @@ Miscellaneous {.cols-3} - [override](https://en.cppreference.com/w/cpp/language/override) - [transaction_safe](https://en.cppreference.com/w/cpp/language/transactional_memory) - [transaction_safe_dynamic](https://en.cppreference.com/w/cpp/language/transactional_memory) -{.style-none .cols-5} +{.marker-none .cols-5} ### Preprocessor @@ -830,7 +830,7 @@ Miscellaneous {.cols-3} - [export](https://en.cppreference.com/w/cpp/keyword/export) - [import](https://en.cppreference.com/mwiki/index.php?title=cpp/keyword/import&action=edit&redlink=1) - [module](https://en.cppreference.com/mwiki/index.php?title=cpp/keyword/module&action=edit&redlink=1) -{.style-none .cols-2} +{.marker-none .cols-2} ## Also see diff --git a/source/_posts/css.md b/source/_posts/css.md index a4412c8..083a8fc 100644 --- a/source/_posts/css.md +++ b/source/_posts/css.md @@ -1059,7 +1059,7 @@ h3::before { ```css ol { counter-reset: section; - list-style-type: none; + list-marker-type: none; } li::before { diff --git a/source/_posts/docker.md b/source/_posts/docker.md index 6df1e94..34f4534 100644 --- a/source/_posts/docker.md +++ b/source/_posts/docker.md @@ -27,7 +27,7 @@ $ docker run -d -p 80:80 docker/getting-started - `-d` - Run the container in detached mode - `-p 80:80` - Map port 80 to port 80 in the container - `docker/getting-started` - The image to use -{.style-none} +{.marker-none} Create and run a container in foreground @@ -41,7 +41,7 @@ $ docker run -it -p 8001:8080 --name my-nginx nginx - `-p 8001:8080` - Map port 8001 to port 8080 in the container - `--name my-nginx` - Specify a name - `nginx` - The image to use -{.style-none} +{.marker-none} diff --git a/source/_posts/git.md b/source/_posts/git.md index 2850eb7..e1e57cf 100644 --- a/source/_posts/git.md +++ b/source/_posts/git.md @@ -319,7 +319,7 @@ Git Tricks {.cols-3} ```shell script $ git push origin --delete ``` -{.style-timeline} +{.marker-timeline} ### Log diff --git a/source/_posts/golang.md b/source/_posts/golang.md index 99b900b..7bb83e7 100644 --- a/source/_posts/golang.md +++ b/source/_posts/golang.md @@ -1033,7 +1033,7 @@ Miscellaneous {.cols-3} - import - return - var -{.cols-3 .style-none} +{.cols-3 .marker-none} ### Operators and punctuation | | | | | | | | | | diff --git a/source/_posts/iso-639-1.md b/source/_posts/iso-639-1.md index a770632..242ed50 100644 --- a/source/_posts/iso-639-1.md +++ b/source/_posts/iso-639-1.md @@ -21,7 +21,7 @@ Getting Started {.cols-2} - Two-letter codes - Used to multilingual websites, aka Internationalization (`i18n`) - [i18n](https://en.wikipedia.org/wiki/Internationalization_and_localization) language codes -{.style-round} +{.marker-round} ### Multi-format of 639-1 codes @@ -48,7 +48,7 @@ Getting Started {.cols-2} - [BBCode](https://tableconvert.com/html-to-bbcode?data=https://quickref.me/iso-639-1#TableGenerator) - [PDF](https://tableconvert.com/html-to-pdf?data=https://quickref.me/iso-639-1#TableGenerator) - [JPEG](https://tableconvert.com/html-to-jpeg?data=https://quickref.me/iso-639-1#TableGenerator) -{.cols-4 .style-none} +{.cols-4 .marker-none} List of ISO 639-1 codes ----------- diff --git a/source/_posts/java.md b/source/_posts/java.md index 660b066..c85be0b 100644 --- a/source/_posts/java.md +++ b/source/_posts/java.md @@ -376,7 +376,7 @@ Java Conditionals {.cols-3} - ++ - -- - ! -{.style-none .cols-4} +{.marker-none .cols-4} ---- @@ -386,19 +386,19 @@ Java Conditionals {.cols-3} - >= - < - <= -{.style-none .cols-4} +{.marker-none .cols-4} ---- - && - || - [?:](#ternary-operator){data-tooltip="Ternary (shorthand for if-then-else statement)"} -{.style-none .cols-4} +{.marker-none .cols-4} ---- - instanceof -{.style-none} +{.marker-none} ---- @@ -409,7 +409,7 @@ Java Conditionals {.cols-3} - & - ^ - | -{.style-none .cols-4} +{.marker-none .cols-4} ### If else @@ -753,7 +753,7 @@ multi-line comment! - native - super - while -{.style-none .cols-7} +{.marker-none .cols-7} ### Math methods diff --git a/source/_posts/jquery.md b/source/_posts/jquery.md index 1aad590..08d146c 100644 --- a/source/_posts/jquery.md +++ b/source/_posts/jquery.md @@ -100,7 +100,7 @@ $("selector1, selector2 ...selectorn") - [ancestor descendant](https://api.jquery.com/descendant-selector/){data-tooltip="Selects all elements that are descendants of a given ancestor."} - [prev + next](https://api.jquery.com/next-adjacent-Selector/){data-tooltip="Selects all next elements matching next that are immediately preceded by a sibling prev."} - [prev ~ siblings](https://api.jquery.com/next-siblings-selector/){data-tooltip="Selects all sibling elements that follow after the prev element, have the same parent, and match the filtering siblings selector."} {.col-span-2} -{.style-none .cols-3} +{.marker-none .cols-3} ### Basic Filters @@ -117,7 +117,7 @@ $("selector1, selector2 ...selectorn") - [:odd](https://api.jquery.com/odd-selector/){data-tooltip="Selects odd elements, zero-indexed. See also :even."} - [:root](https://api.jquery.com/root-selector/){data-tooltip="Selects the element that is the root of the document."} - [:target](https://api.jquery.com/target-selector/){data-tooltip="Selects the target element indicated by the fragment identifier of the document's URI."} -{.style-none .cols-3} +{.marker-none .cols-3} ### Attribute @@ -130,7 +130,7 @@ $("selector1, selector2 ...selectorn") - [[name^="value"]](https://api.jquery.com/attribute-starts-with-selector/){data-tooltip="Selects elements that have the specified attribute with a value beginning exactly with a given string."} - [[name]](https://api.jquery.com/has-attribute-selector/){data-tooltip="Selects elements that have the specified attribute, with any value. "} - [[name="value"][name2="value2"]](https://api.jquery.com/multiple-attribute-selector/){data-tooltip="Matches elements that match all of the specified attribute filters."} {.col-span-2} -{.style-none .cols-2} +{.marker-none .cols-2} ### Child Filters @@ -144,7 +144,7 @@ $("selector1, selector2 ...selectorn") - [:nth-of-type()](https://api.jquery.com/nth-of-type-selector/){data-tooltip="Selects all elements that are the nth child of their parent in relation to siblings with the same element name."} - [:only-child](https://api.jquery.com/only-child-selector/){data-tooltip="Selects all elements that are the only child of their parent."} - [:only-of-type()](https://api.jquery.com/only-of-type-selector/){data-tooltip="Selects all elements that have no siblings with the same element name."} -{.style-none .cols-2} +{.marker-none .cols-2} ### Forms @@ -163,7 +163,7 @@ $("selector1, selector2 ...selectorn") - [:selected](https://api.jquery.com/selected-selector/){data-tooltip="Selects all elements that are selected."} - [:submit](https://api.jquery.com/submit-selector/){data-tooltip="Selects all elements of type submit."} - [:text](https://api.jquery.com/text-selector/){data-tooltip="Selects all input elements of type text."} -{.style-none .cols-3} +{.marker-none .cols-3} @@ -204,7 +204,7 @@ $('.choice').toggleClass('highlighted'); - [.removeAttr()](https://api.jquery.com/removeAttr/){data-tooltip="Remove an attribute from each element in the set of matched elements."} - [.removeProp()](https://api.jquery.com/removeProp/){data-tooltip="Remove a property for the set of matched elements."} - [.val()](https://api.jquery.com/val/){data-tooltip="Get the current value of the first element in the set of matched elements."} -{.style-none .cols-2} +{.marker-none .cols-2} #### Data - [jQuery.data()](https://api.jquery.com/jQuery.data/){data-tooltip="Store arbitrary data associated with the specified element. Returns the value that was set."} @@ -212,7 +212,7 @@ $('.choice').toggleClass('highlighted'); - [jQuery.hasData()](https://api.jquery.com/jQuery.hasData/){data-tooltip="Determine whether an element has any jQuery data associated with it."} - [jQuery.removeData()](https://api.jquery.com/jQuery.removeData/){data-tooltip="Remove a previously-stored piece of data."} - [.removeData()](https://api.jquery.com/removeData/){data-tooltip="Remove a previously-stored piece of data."} -{.style-none .cols-2} +{.marker-none .cols-2} ### CSS - [.addClass()](https://api.jquery.com/addClass/){data-tooltip="Adds the specified class(es) to each element in the set of matched elements."} @@ -223,7 +223,7 @@ $('.choice').toggleClass('highlighted'); - [jQuery.cssHooks](https://api.jquery.com/jQuery.cssHooks/){data-tooltip="Hook directly into jQuery to override how particular CSS properties are retrieved or set, normalize CSS property naming, or create custom properties."} - [jQuery.cssNumber](https://api.jquery.com/jQuery.cssNumber/){data-tooltip="An object containing all CSS properties that may be used without a unit. The .css() method uses this object to see if it may append px to unitless values."} - [jQuery.escapeSelector()](https://api.jquery.com/jQuery.escapeSelector/){data-tooltip="Escapes any character that has a special meaning in a CSS selector."} -{.style-none .cols-2} +{.marker-none .cols-2} ### Dimensions - [.height()](https://api.jquery.com/height/){data-tooltip="Get the current computed height for the first element in the set of matched elements."} @@ -232,7 +232,7 @@ $('.choice').toggleClass('highlighted'); - [.outerHeight()](https://api.jquery.com/outerHeight/){data-tooltip="Get the current computed outer height (including padding, border, and optionally margin) for the first element in the set of matched elements."} - [.outerWidth()](https://api.jquery.com/outerWidth/){data-tooltip="Get the current computed outer width (including padding, border, and optionally margin) for the first element in the set of matched elements."} - [.width()](https://api.jquery.com/width/){data-tooltip="Get the current computed width for the first element in the set of matched elements."} -{.style-none .cols-2} +{.marker-none .cols-2} ### Offset - [.offset()](https://api.jquery.com/offset/){data-tooltip="Get the current coordinates of the first element in the set of matched elements, relative to the document."} @@ -240,7 +240,7 @@ $('.choice').toggleClass('highlighted'); - [.position()](https://api.jquery.com/position/){data-tooltip="Get the current coordinates of the first element in the set of matched elements, relative to the offset parent."} - [.scrollLeft()](https://api.jquery.com/scrollLeft/){data-tooltip="Get the current horizontal position of the scroll bar for the first element in the set of matched elements."} - [.scrollTop()](https://api.jquery.com/scrollTop/){data-tooltip="Get the current vertical position of the scroll bar for the first element in the set of matched elements or set the vertical position of the scroll bar for every matched element."} -{.style-none .cols-2} +{.marker-none .cols-2} @@ -265,13 +265,13 @@ $('span').wrap('

'); ### Copying - [.clone()](https://api.jquery.com/clone/){data-tooltip="Create a deep copy of the set of matched elements."} -{.style-none .cols-3} +{.marker-none .cols-3} ### DOM Insertion, Around - [.wrap()](https://api.jquery.com/wrap/){data-tooltip="Wrap an HTML structure around each element in the set of matched elements."} - [.wrapAll()](https://api.jquery.com/wrapAll/){data-tooltip="Wrap an HTML structure around all elements in the set of matched elements."} - [.wrapInner()](https://api.jquery.com/wrapInner/){data-tooltip="Wrap an HTML structure around the content of each element in the set of matched elements."} -{.style-none .cols-3} +{.marker-none .cols-3} ### DOM Insertion, Inside - [.append()](https://api.jquery.com/append/){data-tooltip="Insert content, specified by the parameter, to the end of each element in the set of matched elements."} @@ -280,26 +280,26 @@ $('span').wrap('

'); - [.prepend()](https://api.jquery.com/prepend/){data-tooltip="Insert content, specified by the parameter, to the beginning of each element in the set of matched elements."} - [.prependTo()](https://api.jquery.com/prependTo/){data-tooltip="Insert every element in the set of matched elements to the beginning of the target."} - [.text()](https://api.jquery.com/text/){data-tooltip="Get the combined text contents of each element in the set of matched elements, including their descendants."} -{.style-none .cols-3} +{.marker-none .cols-3} ### DOM Insertion, Outside - [.after()](https://api.jquery.com/after/){data-tooltip="Insert content, specified by the parameter, after each element in the set of matched elements."} - [.before()](https://api.jquery.com/before/){data-tooltip="Insert content, specified by the parameter, before each element in the set of matched elements."} - [.insertAfter()](https://api.jquery.com/insertAfter/){data-tooltip="Insert every element in the set of matched elements after the target."} - [.insertBefore()](https://api.jquery.com/insertBefore/){data-tooltip="Insert every element in the set of matched elements before the target."} -{.style-none .cols-3} +{.marker-none .cols-3} ### DOM Removal - [.detach()](https://api.jquery.com/detach/){data-tooltip="Remove the set of matched elements from the DOM."} - [.empty()](https://api.jquery.com/empty/){data-tooltip="Remove all child nodes of the set of matched elements from the DOM."} - [.remove()](https://api.jquery.com/remove/){data-tooltip="Remove the set of matched elements from the DOM."} - [.unwrap()](https://api.jquery.com/unwrap/){data-tooltip="Remove the parents of the set of matched elements from the DOM, leaving the matched elements in their place."} -{.style-none .cols-3} +{.marker-none .cols-3} ### DOM Replacement - [.replaceAll()](https://api.jquery.com/replaceAll/){data-tooltip="Replace each target element with the set of matched elements."} - [.replaceWith()](https://api.jquery.com/replaceWith/){data-tooltip="Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed."} -{.style-none .cols-3} +{.marker-none .cols-3} jQuery Traversing {.cols-3} @@ -316,7 +316,7 @@ jQuery Traversing {.cols-3} - [.map()](https://api.jquery.com/map/){data-tooltip="Pass each element in the current matched set through a function, producing a new jQuery object containing the return values."} - [.not()](https://api.jquery.com/not/){data-tooltip="Remove elements from the set of matched elements."} - [.slice()](https://api.jquery.com/slice/){data-tooltip="Reduce the set of matched elements to a subset specified by a range of indices."} -{.style-none .cols-3} +{.marker-none .cols-3} ### Miscellaneous Traversing - [.add()](https://api.jquery.com/add/){data-tooltip="Create a new jQuery object with elements added to the set of matched elements."} @@ -325,7 +325,7 @@ jQuery Traversing {.cols-3} - [.contents()](https://api.jquery.com/contents/){data-tooltip="Get the children of each element in the set of matched elements, including text and comment nodes."} - [.each()](https://api.jquery.com/each/){data-tooltip="Iterate over a jQuery object, executing a function for each matched element. "} - [.end()](https://api.jquery.com/end/){data-tooltip="End the most recent filtering operation in the current chain and return the set of matched elements to its previous state."} -{.style-none .cols-3} +{.marker-none .cols-3} ### Tree Traversal - [.children()](https://api.jquery.com/children/){data-tooltip="Get the children of each element in the set of matched elements, optionally filtered by a selector."} @@ -341,7 +341,7 @@ jQuery Traversing {.cols-3} - [.prevAll()](https://api.jquery.com/prevAll/){data-tooltip="Get all preceding siblings of each element in the set of matched elements, optionally filtered by a selector."} - [.prevUntil()](https://api.jquery.com/prevUntil/){data-tooltip="Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object."} - [.siblings()](https://api.jquery.com/siblings/){data-tooltip="Get the siblings of each element in the set of matched elements, optionally filtered by a selector."} -{.style-none .cols-3} +{.marker-none .cols-3} jQuery Events {.cols-3} @@ -394,7 +394,7 @@ $( "p" ).click(function( event ) { - [.error()](https://api.jquery.com/error/){data-tooltip="Bind an event handler to the error JavaScript event."} - [.resize()](https://api.jquery.com/resize/){data-tooltip="Bind an event handler to the resize JavaScript event, or trigger that event on an element."} - [.scroll()](https://api.jquery.com/scroll/){data-tooltip="Bind an event handler to the scroll JavaScript event, or trigger that event on an element."} -{.style-none .cols-3} +{.marker-none .cols-3} @@ -418,7 +418,7 @@ $( "p" ).click(function( event ) { - [event.timeStamp](https://api.jquery.com/event.timeStamp/){data-tooltip="The difference in milliseconds between the time the browser created the event and January 1, 1970."} - [event.type](https://api.jquery.com/event.type/){data-tooltip="Describes the nature of the event."} - [event.which](https://api.jquery.com/event.which/){data-tooltip="For key or mouse events, this property indicates the specific key or button that was pressed."} -{.style-none .cols-1} +{.marker-none .cols-1} @@ -426,7 +426,7 @@ $( "p" ).click(function( event ) { - [.load()](https://api.jquery.com/load-event/){data-tooltip="Bind an event handler to the load JavaScript event."} - [.ready()](https://api.jquery.com/ready/){data-tooltip="Specify a function to execute when the DOM is fully loaded."} - [.unload()](https://api.jquery.com/unload/){data-tooltip="Bind an event handler to the unload JavaScript event."} -{.style-none .cols-3} +{.marker-none .cols-3} ### Event Handler Attachment @@ -441,7 +441,7 @@ $( "p" ).click(function( event ) { - [.triggerHandler()](https://api.jquery.com/triggerHandler/){data-tooltip="Execute all handlers attached to an element for an event."} - [.unbind()](https://api.jquery.com/unbind/){data-tooltip="Remove a previously-attached event handler from the elements."} - [.undelegate()](https://api.jquery.com/undelegate/){data-tooltip="Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements."} -{.style-none .cols-3} +{.marker-none .cols-3} ### Form Events - [.blur()](https://api.jquery.com/blur/){data-tooltip="Bind an event handler to the blur JavaScript event, or trigger that event on an element."} @@ -451,13 +451,13 @@ $( "p" ).click(function( event ) { - [.focusout()](https://api.jquery.com/focusout/){data-tooltip="Bind an event handler to the focusout JavaScript event."} - [.select()](https://api.jquery.com/select/){data-tooltip="Bind an event handler to the select JavaScript event, or trigger that event on an element."} - [.submit()](https://api.jquery.com/submit/){data-tooltip="Bind an event handler to the submit JavaScript event, or trigger that event on an element."} -{.style-none .cols-3} +{.marker-none .cols-3} ### Keyboard Events - [.keydown()](https://api.jquery.com/keydown/){data-tooltip="Bind an event handler to the keydown JavaScript event, or trigger that event on an element."} - [.keypress()](https://api.jquery.com/keypress/){data-tooltip="Bind an event handler to the keypress JavaScript event, or trigger that event on an element."} - [.keyup()](https://api.jquery.com/keyup/){data-tooltip="Bind an event handler to the keyup JavaScript event, or trigger that event on an element."} -{.style-none .cols-3} +{.marker-none .cols-3} ### Mouse Events - [.click()](https://api.jquery.com/click/){data-tooltip="Bind an event handler to the click JavaScript event, or trigger that event on an element."} @@ -472,7 +472,7 @@ $( "p" ).click(function( event ) { - [.mouseover()](https://api.jquery.com/mouseover/){data-tooltip="Bind an event handler to the mouseover JavaScript event, or trigger that event on an element."} - [.mouseup()](https://api.jquery.com/mouseup/){data-tooltip="Bind an event handler to the mouseup JavaScript event, or trigger that event on an element."} - [.toggle()](https://api.jquery.com/toggle-event/){data-tooltip="Bind two or more handlers to the matched elements, to be executed on alternate clicks."} -{.style-none .cols-3} +{.marker-none .cols-3} @@ -501,14 +501,14 @@ $('#menu-button').on('click', () => { - [.hide()](https://api.jquery.com/hide/){data-tooltip="Hide the matched elements."} - [.show()](https://api.jquery.com/show/){data-tooltip="Display the matched elements."} - [.toggle()](https://api.jquery.com/toggle/){data-tooltip="Display or hide the matched elements."} -{.style-none .cols-3} +{.marker-none .cols-3} ### Sliding - [.slideDown()](https://api.jquery.com/slideDown/){data-tooltip="Display the matched elements with a sliding motion."} - [.slideToggle()](https://api.jquery.com/slideToggle/){data-tooltip="Display or hide the matched elements with a sliding motion."} - [.slideUp()](https://api.jquery.com/slideUp/){data-tooltip="Hide the matched elements with a sliding motion."} -{.style-none .cols-3} +{.marker-none .cols-3} ### Custom @@ -524,7 +524,7 @@ $('#menu-button').on('click', () => { - [.queue()](https://api.jquery.com/queue/){data-tooltip="Show the queue of functions to be executed on the matched elements."} - [jQuery.queue()](https://api.jquery.com/jQuery.queue/){data-tooltip="Show the queue of functions to be executed on the matched element."} - [.stop()](https://api.jquery.com/stop/){data-tooltip="Stop the currently-running animation on the matched elements."} -{.style-none .cols-3} +{.marker-none .cols-3} ### Fading @@ -532,7 +532,7 @@ $('#menu-button').on('click', () => { - [.fadeOut()](https://api.jquery.com/fadeOut/){data-tooltip="Hide the matched elements by fading them to transparent."} - [.fadeTo()](https://api.jquery.com/fadeTo/){data-tooltip="Adjust the opacity of the matched elements."} - [.fadeToggle()](https://api.jquery.com/fadeToggle/){data-tooltip="Display or hide the matched elements by animating their opacity."} -{.style-none .cols-3} +{.marker-none .cols-3} @@ -560,20 +560,20 @@ $.ajax({ - [.ajaxStart()](https://api.jquery.com/ajaxStart/){data-tooltip="Register a handler to be called when the first Ajax request begins. This is an Ajax Event."} - [.ajaxStop()](https://api.jquery.com/ajaxStop/){data-tooltip="Register a handler to be called when all Ajax requests have completed. This is an Ajax Event."} - [.ajaxSuccess()](https://api.jquery.com/ajaxSuccess/){data-tooltip="Attach a function to be executed whenever an Ajax request completes successfully. This is an Ajax Event."} -{.style-none .cols-2} +{.marker-none .cols-2} ### Helper Functions - [jQuery.param()](https://api.jquery.com/jQuery.param/){data-tooltip="Create a serialized representation of an array, a plain object, or a jQuery object suitable for use in a URL query string or Ajax request. In case a jQuery object is passed, it should contain input elements with name/value properties."} - [.serialize()](https://api.jquery.com/serialize/){data-tooltip="Encode a set of form elements as a string for submission."} - [.serializeArray()](https://api.jquery.com/serializeArray/){data-tooltip="Encode a set of form elements as an array of names and values."} -{.style-none .cols-2} +{.marker-none .cols-2} ### Low-Level Interface - [jQuery.ajax()](https://api.jquery.com/jQuery.ajax/){data-tooltip="Perform an asynchronous HTTP (Ajax) request."} - [jQuery.prefilter()](https://api.jquery.com/jQuery.ajaxPrefilter/){data-tooltip="Handle custom Ajax options or modify existing options before each request is sent and before they are processed by $.ajax()."} - [jQuery.ajaxSetup()](https://api.jquery.com/jQuery.ajaxSetup/){data-tooltip="Set default values for future Ajax requests. Its use is not recommended."} - [jQuery.ajaxTransport()](https://api.jquery.com/jQuery.ajaxTransport/){data-tooltip="Creates an object that handles the actual transmission of Ajax data."} -{.style-none .cols-2} +{.marker-none .cols-2} ### Shorthand Methods - [jQuery.get()](https://api.jquery.com/jQuery.get/){data-tooltip="Load data from the server using a HTTP GET request."} @@ -581,7 +581,7 @@ $.ajax({ - [jQuery.getScript()](https://api.jquery.com/jQuery.getScript/){data-tooltip="Load a JavaScript file from the server using a GET HTTP request, then execute it."} - [jQuery.post()](https://api.jquery.com/jQuery.post/){data-tooltip="Send data to the server using a HTTP POST request."} - [.load()](https://api.jquery.com/load/){data-tooltip="Load data from the server and place the returned HTML into the matched elements."} -{.style-none .cols-2} +{.marker-none .cols-2} @@ -596,7 +596,7 @@ Miscellaneous {.cols-3} - [jQuery.sub()](https://api.jquery.com/jQuery.sub/){data-tooltip="Creates a new copy of jQuery whose properties and methods can be modified without affecting the original jQuery object."} - [jQuery.holdReady()](https://api.jquery.com/jQuery.holdReady/){data-tooltip="Holds or releases the execution of jQuery's ready event."} - [jQuery.when()](https://api.jquery.com/jQuery.when/){data-tooltip="Provides a way to execute callback functions based on zero or more Thenable objects, usually Deferred objects that represent asynchronous events."} -{.style-none .cols-2} +{.marker-none .cols-2} ### Deferred Object {.row-span-2} - [jQuery.Deferred()](https://api.jquery.com/jQuery.Deferred/){data-tooltip=" A factory function that returns a chainable utility object with methods to register multiple callbacks into callback queues, invoke callback queues, and relay the success or failure state of any synchronous or asynchronous function."} @@ -617,7 +617,7 @@ Miscellaneous {.cols-3} - [deferred.state()](https://api.jquery.com/deferred.state/){data-tooltip="Determine the current state of a Deferred object. "} - [deferred.then()](https://api.jquery.com/deferred.then/){data-tooltip="Add handlers to be called when the Deferred object is resolved, rejected, or still in progress. "} - [.promise()](https://api.jquery.com/promise/){data-tooltip=" Return a Promise object to observe when all actions of a certain type bound to the collection, queued or not, have finished. "} -{.style-none .cols-2} +{.marker-none .cols-2} ### Utilities {.row-span-3} - [jQuery.boxModel](https://api.jquery.com/jQuery.boxModel/){data-tooltip="States if the current page, in the user's browser, is being rendered using the W3C CSS Box Model."} @@ -649,14 +649,14 @@ Miscellaneous {.cols-3} - [jQuery.type()](https://api.jquery.com/jQuery.type/){data-tooltip="Determine the internal JavaScript [[Class]] of an object."} - [jQuery.unique()](https://api.jquery.com/jQuery.unique/){data-tooltip="Sorts an array of DOM elements, in place, with the duplicates removed. Note that this only works on arrays of DOM elements, not strings or numbers."} - [jQuery.uniqueSort()](https://api.jquery.com/jQuery.uniqueSort/){data-tooltip="Sorts an array of DOM elements, in place, with the duplicates removed. Note that this only works on arrays of DOM elements, not strings or numbers."} -{.style-none .cols-2} +{.marker-none .cols-2} ### DOM Element Methods - [.get()](https://api.jquery.com/get/){data-tooltip="Retrieve one of the elements matched by the jQuery object."} - [.index()](https://api.jquery.com/index/){data-tooltip="Search for a given element from among the matched elements."} - [.size()](https://api.jquery.com/size/){data-tooltip="Return the number of elements in the jQuery object."} - [.toArray()](https://api.jquery.com/toArray/){data-tooltip="Retrieve all the elements contained in the jQuery set, as an array."} -{.style-none .cols-2} +{.marker-none .cols-2} ### Internals - [.jquery](https://api.jquery.com/jquery-2/){data-tooltip="A string containing the jQuery version number."} @@ -665,7 +665,7 @@ Miscellaneous {.cols-3} - [.length](https://api.jquery.com/length/){data-tooltip="The number of elements in the jQuery object."} - [.pushStack()](https://api.jquery.com/pushStack/){data-tooltip="Add a collection of DOM elements onto the jQuery stack."} - [.selector](https://api.jquery.com/selector/){data-tooltip="A selector representing selector passed to jQuery(), if any, when creating the original set."} -{.style-none .cols-2} +{.marker-none .cols-2} ### Callbacks Object - [jQuery.Callbacks()](https://api.jquery.com/jQuery.Callbacks/){data-tooltip="A multi-purpose callbacks list object that provides a powerful way to manage callback lists."} @@ -680,7 +680,7 @@ Miscellaneous {.cols-3} - [callbacks.lock()](https://api.jquery.com/callbacks.lock/){data-tooltip="Lock a callback list in its current state."} - [callbacks.locked()](https://api.jquery.com/callbacks.locked/){data-tooltip="Determine if the callbacks list has been locked."} - [callbacks.remove()](https://api.jquery.com/callbacks.remove/){data-tooltip="Remove a callback or a collection of callbacks from a callback list."} -{.style-none .cols-2} +{.marker-none .cols-2} diff --git a/source/_posts/json.md b/source/_posts/json.md index 3449e63..d4f0f4d 100644 --- a/source/_posts/json.md +++ b/source/_posts/json.md @@ -25,7 +25,7 @@ Getting started {.cols-3} - JSON is language agnostic data-interchange format - JSON filename extension is `.json` - JSON Internet Media type is `application/json` -{.style-round} +{.marker-round} diff --git a/source/_posts/laravel.md b/source/_posts/laravel.md index 2cb90d1..9a0858d 100644 --- a/source/_posts/laravel.md +++ b/source/_posts/laravel.md @@ -44,7 +44,7 @@ Ensure your web server directs all requests to your application's $ cd example-app $ ./vendor/bin/sail up ``` -{.style-timeline} +{.marker-timeline} Access application via `http://localhost` @@ -58,7 +58,7 @@ Access application via `http://localhost` $ cd example-app $ ./vendor/bin/sail up ``` -{.style-timeline} +{.marker-timeline} Access application via `http://localhost` diff --git a/source/_posts/mime.md b/source/_posts/mime.md index 763f91d..ce79dd0 100644 --- a/source/_posts/mime.md +++ b/source/_posts/mime.md @@ -19,7 +19,7 @@ Getting started {.cols-2} - MIME types are defined and standardized in IETF's RFC 6838 - Indicates the nature and format of a document, file, or assortment of bytes. - For file formats or format contents on the Internet - {.style-round} + {.marker-round} ### Multi-format of MIME types @@ -47,7 +47,7 @@ Getting started {.cols-2} - [BBCode](https://tableconvert.com/html-to-bbcode?data=https://quickref.me/mime#TableGenerator) - [PDF](https://tableconvert.com/html-to-pdf?data=https://quickref.me/mime#TableGenerator) - [JPEG](https://tableconvert.com/html-to-jpeg?data=https://quickref.me/mime#TableGenerator) -{.cols-4 .style-none} +{.cols-4 .marker-none} Lists of MIME types diff --git a/source/_posts/postgres.md b/source/_posts/postgres.md index c78b54d..0af6a38 100644 --- a/source/_posts/postgres.md +++ b/source/_posts/postgres.md @@ -476,7 +476,7 @@ $ pg_dump -d mydb -f mydb_backup.sql -   `-C`   Create database before restoring -   `-t`   Dump the named table(s) only -   `-F`   Format (`c`: custom, `d`: directory, `t`: tar) -{.style-none} +{.marker-none} Use `pg_dump -?` to get the full list of options @@ -497,7 +497,7 @@ $ pg_restore -d mydb mydb_backup.sql -c -   `-C`   Create database before restoring -   `-e`   Exit if an error has encountered -   `-F`   Format (`c`: custom, `d`: directory, `t`: tar, `p`: plain text sql(default)) -{.style-none} +{.marker-none} Use `pg_restore -?` to get the full list of options diff --git a/source/_posts/quickref-xxx.md b/source/_posts/quickref-xxx.md new file mode 100644 index 0000000..1a79e39 --- /dev/null +++ b/source/_posts/quickref-xxx.md @@ -0,0 +1,460 @@ +--- +title: QuickRef +date: 2020-11-25 18:28:43 +icon: icon-style +background: bg-emerald-600 +tags: + - guide + - reference +categories: + - Other +intro: This is a reference of styles that you can use on quickref cheatsheets! +--- + +Variants {.cols-3} +-------- + +### H2 section + +| - | - | +|------------|------------------------| +| `.cols-1` | one column _(default)_ | +| `.cols-2` | | +| `.cols-3` | three column | +| ... | | +| `.cols-11` | | +| `.cols-12` | | + + + +See: [H2 section](#h2-section-2) + +### H3 section + + +| - | - | +|--------------|-------------------| +| `.primary` | Primary section | +| `.secondary` | Secondary section | +#### Span n columns +| - | - | +|----------------|---| +| `.col-span-1` | | +| ... | | +| `.col-span-12` | | +#### Span n rows +| - | - | +|----------------|---| +| `.row-span-1` | | +| ... | | +| `.row-span-12` | | +| | | + +See: [H3 section](#h3-section-2) + +### Tables + + +| - | - | +|----------------|----------------------------| +| `.bold-first` | Bold first column | +| `.plus-first` | Plus first column | +| `.show-header` | Show headers | +| `.left-text` | Align the last column left | +| `.no-wrap` | Don't wrap text | +| `.shortcuts` | Shortcut keys style | + +See: [Tables](#tables-2) + + +### Lists {.row-span-2} + + +| - | - | +|-------------------|----------------| +| `.marker-none` | No marker | +| `.marker-round` | Round style | +| `.marker-timeline` | Timeline style | + +#### Layout + +| - | - | +|------------|------------------------| +| `.cols-1` | one column _(default)_ | +| `.cols-2` | | +| `.cols-3` | three column | +| ... | | +| `.cols-11` | | +| `.cols-12` | | + +See: [Lists](#lists-2) + + + +### Code + + +| - | - | +|---------|-----------------------| +| `.wrap` | Enables line-wrapping | + +See: [Code](#code-2) + +### Paragraphs + + +| - | - | +|---------------|--------------------------| +| `.link-arrow` | Pretty links with arrows | + +See: [Paragraphs](#paragraphs-2) + + + +### Global + +| - | - | +|-----------|-----------------| +| `.hidden` | Hide an element | + + + +### How to add variants {.secondary} + +``` +H2 section {.cols-3} +---------- + +### H3 section {.col-span-2} + +### primary section {.primary} + +[Home](/) {.link-arrow} +``` + +QuickRefs uses [markdown-it-attrs](https://github.com/arve0/markdown-it-attrs#markdown-it-attrs---), and supports adding classes via its syntax. + +Code {.cols-3} +---- + +### Basic code + +```js +here.is(() => { + some.code() +}) +``` + +```js +here.is.some.more() +``` + +Code blocks can be placed one after the other. +
+
+See: [Cheatsheets](/) + +### Code with headings + +#### index.js + +```js +here.is(() => { + some.code() +}) +``` + +#### other.js + +```js +here.is.some.more() +``` + +Code blocks can have headings. + + +### Line wrapping + +```js {.wrap} + +``` + +Add `{.wrap}` to wrap long lines. + + +### Long lines + +```js +function createNode(nodeName: string, options: { key: string }) { + return true +} +``` + +Long lines will have scrollbars. + +Paragraphs {.cols-3} +-------- + +### Basic paragraphs +The text that appears in the header + +This is a basic section with paragraphs in it. When paragraphs are the first elements in an H3 section's body, they appear as white. + + +### Description +``` +... +``` +A gray background +``` +··· +``` + +When paragraphs appear after `pre`/`table`/`ul`, they appear with a gray background. + + +### Crosslink + +Add `{.link-arrow}` to make big loud external links: + +``` +··· +··· +··· +``` + +[Home](/) {.link-arrow} + + + + +Tables {.cols-3} +------ + +### Basic table + +#### Date + +| Example | Output | +|-----------------|------------------------| +| `%m/%d/%Y` | `06/05/2013` | +| `%A, %B %e, %Y` | `Sunday, June 5, 2013` | +| `%b %e %a` | `Jun 5 Sun` | + +#### Time + +| Example | Output | +|------------|------------| +| `%H:%M` | `23:05` | +| `%I:%M %p` | `11:05 PM` | + +A basic table with heading level 4. + +### Shortcuts + +| - | - | +|-----|-----------| +| `V` | Vector | +| `P` | Pencil | +| `T` | Text | +| `L` | Line | +| `R` | Rectangle | +| `O` | Oval | +| `U` | Rounded | + {.shortcuts} + + +Add `{.shortcuts}` to tables. + +### Show headers + +| Prefix | Example | What | +|--------|-----------------------|----------| +| `//` | `//hr[@class='edge']` | Anywhere | +| `./` | `./a` | Relative | +| `/` | `/html/body/div` | Root | +{.show-header} + +Add `{.show-header}` to add headers. + + +### Rowspan {.col-span-2} +| Stage | Direct Products | ATP Yields | +|--------------------|-----------------|------------| +| Glycolysis | 2 ATP | | +| ^^ | 2 NADH | 3--5 ATP | +| Pyruvaye oxidation | 2 NADH | 5 ATP | +| Citric acid cycle | 2 ATP | | +| ^^ | 6 NADH | 15 ATP | +| ^^ | 2 FADH2 | 3 ATP | +| **30--32** ATP | | | +{.show-header} + +#### Source Code + +``` +| Stage | Direct Products | ATP Yields | +|--------------------|-----------------|------------| +| Glycolysis | 2 ATP | | +| ^^ | 2 NADH | 3--5 ATP | +| Pyruvaye oxidation | 2 NADH | 5 ATP | +| Citric acid cycle | 2 ATP | | +| ^^ | 6 NADH | 15 ATP | +| ^^ | 2 FADH2 | 3 ATP | +| **30--32** ATP | | | +{.show-header} +``` + +QuickRef uses markdown-it-multimd-table to render the table, See:[markdown-it-multimd-table](https://www.npmjs.com/package/markdown-it-multimd-table#rowspan-optional) + + + + +Lists {.cols-3} +-------- + +### One column (Default) +- Item 1 +- Item 2 +- Item 3 + +### Four column +- Item 1 +- Item 2 +- Item 3 +- Item 4 +- Item 5 +- Item 6 +- Item 7 +- Item 8 +- Item 9 +{.cols-4} + + +### Rename branch {.row-span-2} +- #### **Renamed** to `new_name` + ```shell script + $ git branch -m + ``` +- #### **Push** and reset + ```shell script + $ git push origin -u + ``` +- #### **Delete** remote branch + ```shell script + $ git push origin --delete + ``` +{.marker-timeline} + + +### No marker +- Item 1 +- Item 2 +- Item 3 +- Item 4 +- Item 5 +- Item 6 + {.cols-2 .marker-none} + + +### Round Style +- Item 1 +- Item 2 +- Item 3 +{.marker-round} + + + +H2 section {.cols-5} +---------- + +### One + +``` +··· +``` + +### Two + +``` +··· +``` + +### Three + +``` +··· +``` + +### Four + +``` +··· +``` + +### Five + +``` +··· +``` + + +H3 section {.cols-3} +---------- + +### row-span-2 {.row-span-2} + +``` +··· +``` + + +### col-span-2 {.col-span-2} + +``` +··· +``` + +### Primary section {.primary} + +``` +··· +··· +``` +Add `{.primary}` to make the title red. + + +### Secondary section {.secondary} + +``` +··· +``` +Add `{.secondary}` to make the title yellow. + +### col-span-3 {.col-span-3} + +``` +··· +``` + +### Supported + +Each section can have the following children: + +#### White + +- `pre` +- `ul` +- `table` + +#### Gray + +- `p` +- `h4` + +### H3 section + +Every box is an H3 section. The box will encompass everything inside the body of the H3. + +This is a basic section with paragraphs in it. + diff --git a/source/_posts/quickref.md b/source/_posts/quickref.md index 5867de9..59fa327 100644 --- a/source/_posts/quickref.md +++ b/source/_posts/quickref.md @@ -72,9 +72,9 @@ See: [Tables](#tables-2) | - | - | |-------------------|----------------| -| `.style-none` | No marker | -| `.style-round` | Round style | -| `.style-timeline` | Timeline style | +| `.marker-none` | No marker | +| `.marker-round` | Round style | +| `.marker-timeline` | Timeline style | #### Layout @@ -310,15 +310,46 @@ QuickRef uses markdown-it-multimd-table to render the table, See:[markdown-it- -Lists {.cols-3} +Lists Variants {.cols-3} -------- +### Overflow {.secondary} +List columns + +| - | - | +|--------------|------------------------| +| `{.cols-1}` | one column _(default)_ | +| `{.cols-2}` | two columns | +| ... | | +| `{.cols-12}` | | + +List markers + +| - | - | +|------------|------------------------| +| `{.marker-none}` | Marker is not set | +| `{.marker-timeline}` | Marker style like timeline | +| `{.marker-round}` | Round marker | + + ### One column (Default) - Item 1 - Item 2 - Item 3 +- Item 4 +- Item 5 -### Four column +#### ↓ Source Code +```markdown +- Item 1 +- Item 2 +- Item 3 +- Item 4 +- Item 5 +``` + + +### .cols-3 - Item 1 - Item 2 - Item 3 @@ -326,43 +357,89 @@ Lists {.cols-3} - Item 5 - Item 6 - Item 7 -- Item 8 -- Item 9 -{.cols-4} - - -### Rename branch {.row-span-2} -- #### **Renamed** to `new_name` - ```shell script - $ git branch -m - ``` -- #### **Push** and reset - ```shell script - $ git push origin -u - ``` -- #### **Delete** remote branch - ```shell script - $ git push origin --delete - ``` -{.style-timeline} - - -### No marker +{.cols-3} + +#### ↓ Source Code +```markdown - Item 1 - Item 2 - Item 3 - Item 4 - Item 5 - Item 6 - {.cols-2 .style-none} +- Item 7 +{.cols-3} +``` -### Round Style +### .marker-timeline {.row-span-2} +- **Renamed** to `new_name` + ```shell script + $ git branch -m + ``` +- **Push** and reset + ```shell script + $ git push origin -u + ``` +- **Delete** remote branch + ```shell script + $ git push origin --delete + ``` +{.marker-timeline} + +#### ↓ Source Code +```markdown +- **Renamed** to `new_name` + ```shell script + $ git branch -m + ``` +- **Push** and reset + ```shell script + $ git push origin -u + ``` +- **Delete** remote branch + ```shell script + $ git push origin --delete + ``` +{.marker-timeline} +``` + +### .marker-none - Item 1 - Item 2 - Item 3 -{.style-round} +- Item 4 +- Item 5 +- Item 6 +{.cols-2 .marker-none} +#### ↓ Source Code +```markdown +- Item 1 +- Item 2 +- Item 3 +- Item 4 +- Item 5 +- Item 6 +{.cols-2 .marker-none} +``` + + +### .marker-round +- Item 1 +- Item 2 +- Item 3 +- Item 4 +{.marker-round} + +#### ↓ Source Code +```markdown +- Item 1 +- Item 2 +- Item 3 +- Item 4 +{.marker-round} +``` H2 section {.cols-5} diff --git a/source/_posts/regex.md b/source/_posts/regex.md index 7a7c17e..cd3a79c 100644 --- a/source/_posts/regex.md +++ b/source/_posts/regex.md @@ -28,7 +28,7 @@ This is a quick cheat sheet to getting started with regular expressions. - [Regex in Vim](/vim#search-and-replace) _(quickref.me)_ - [Regex in Emacs](/emacs#search) _(quickref.me)_ - [Online regex tester](https://regex101.com/) _(regex101.com)_ -{.cols-2 .style-round} +{.cols-2 .marker-round} ### Character Classes @@ -81,7 +81,7 @@ This is a quick cheat sheet to getting started with regular expressions. - \$ - \\ - \? -{.cols-3 .style-none} +{.cols-3 .marker-none} Escape these special characters with `\` diff --git a/source/_posts/resolutions.md b/source/_posts/resolutions.md index 918d602..ced1b0a 100644 --- a/source/_posts/resolutions.md +++ b/source/_posts/resolutions.md @@ -20,7 +20,7 @@ Getting started {.cols-2} - Viewport is defined by the size of the rectangle filled by a web page on your screen - Screen resolution refers to the clarity of the text and images displayed on your screen - For design - {.style-round} + {.marker-round} ### Multi-format of Resolutions @@ -48,7 +48,7 @@ Getting started {.cols-2} - [BBCode](https://tableconvert.com/html-to-bbcode?data=https://quickref.me/resolutions#TableGenerator) - [PDF](https://tableconvert.com/html-to-pdf?data=https://quickref.me/resolutions#TableGenerator) - [JPEG](https://tableconvert.com/html-to-jpeg?data=https://quickref.me/resolutions#TableGenerator) -{.cols-4 .style-none} +{.cols-4 .marker-none} Lists of Resolutions ------------------- diff --git a/source/_posts/yaml.md b/source/_posts/yaml.md index 35d08aa..95e8279 100644 --- a/source/_posts/yaml.md +++ b/source/_posts/yaml.md @@ -26,7 +26,7 @@ Getting started {.cols-3} - End your YAML file with the `.yaml` or `.yml` extension - YAML is a superset of JSON - Ansible playbooks are YAML files -{.style-round} +{.marker-round} ### Scalar types {.row-span-2} @@ -377,7 +377,7 @@ YAML Reference {.cols-3} - Sequences aka arrays or lists - Scalars aka strings or numbers - Mappings aka hashes or dictionaries -{.style-round} +{.marker-round} Based on the YAML.org [refcard](https://yaml.org/refcard.html). @@ -468,7 +468,7 @@ Based on the YAML.org [refcard](https://yaml.org/refcard.html). - `\x12` (8-bit) - `\u1234` (16-bit) - `\U00102030` (32-bit) - {.cols-2 .style-none} + {.cols-2 .marker-none} #### Protective @@ -476,7 +476,7 @@ Based on the YAML.org [refcard](https://yaml.org/refcard.html). - `\"` (") - `\ ` ( ) - `\` (TAB) - {.cols-3 .style-none} + {.cols-3 .marker-none} #### C - `\0` (NUL) @@ -487,7 +487,7 @@ Based on the YAML.org [refcard](https://yaml.org/refcard.html). - `\r` (CR) - `\t` (TAB) - `\v` (VTAB) - {.cols-3 .style-none} + {.cols-3 .marker-none} #### Additional @@ -496,7 +496,7 @@ Based on the YAML.org [refcard](https://yaml.org/refcard.html). - `\N` (NEL) - `\L` (LS) - `\P` (PS) - {.cols-3 .style-none} + {.cols-3 .marker-none} ### More types diff --git a/themes/coo/source/css/components/layout_list.css b/themes/coo/source/css/components/layout_list.css index 46fdc78..2117a9d 100644 --- a/themes/coo/source/css/components/layout_list.css +++ b/themes/coo/source/css/components/layout_list.css @@ -11,23 +11,23 @@ padding: 0; } -.mdLayout .h3-wrap > .section ul:not(.style-none) > li::before { +.mdLayout .h3-wrap > .section ul:not(.marker-none) > li::before { content: ''; position: absolute; display: inline-block; - width: 4px; - height: 4px; + width: 5px; + height: 5px; background: #556677; border-radius: 50%; left: 14px; top: 18px; } -.mdLayout .h3-wrap > .section ul.style-round > li { +.mdLayout .h3-wrap > .section ul.marker-round > li { padding-left: 30px; } -.mdLayout .h3-wrap > .section ul.style-round > li::before{ +.mdLayout .h3-wrap > .section ul.marker-round > li::before{ content: ""; top: 16px; @apply inline-block w-2 h-2 bg-white border border-2 border-emerald-600 rounded-full; @@ -38,12 +38,12 @@ -.mdLayout .h3-wrap > .section > ul.style-timeline { +.mdLayout .h3-wrap > .section > ul.marker-timeline { counter-reset: stepCount; margin-top:1rem; } -.mdLayout .h3-wrap > .section > ul.style-timeline > li { +.mdLayout .h3-wrap > .section > ul.marker-timeline > li { padding-top: 0; padding-bottom: 1.5rem; border-left: 2px solid #48c78e; @@ -55,17 +55,17 @@ } -.mdLayout .h3-wrap > .section > ul.style-timeline > li:last-child { +.mdLayout .h3-wrap > .section > ul.marker-timeline > li:last-child { padding-bottom: 0.8rem; } -.mdLayout .h3-wrap > .section > ul.style-timeline > li > :not(:first-child) { +.mdLayout .h3-wrap > .section > ul.marker-timeline > li > :not(:first-child) { padding: 0px; margin-top: 1rem; } -.mdLayout .h3-wrap > .section > ul.style-timeline > li::before { +.mdLayout .h3-wrap > .section > ul.marker-timeline > li::before { counter-increment: stepCount; content: counter(stepCount); left: -14px; @@ -75,18 +75,18 @@ } -.mdLayout .h3-wrap > .section > ul.style-timeline > li:first-child::before { +.mdLayout .h3-wrap > .section > ul.marker-timeline > li:first-child::before { background: #48c78e; color:white; } -.mdLayout .h3-wrap > .section > ul.style-timeline > li:last-child{ +.mdLayout .h3-wrap > .section > ul.marker-timeline > li:last-child{ border-image: linear-gradient(to bottom, #48c78e, rgba(0, 0, 0, 0)) 1 100%; } -.mdLayout .h3-wrap > .section > ul.style-timeline > li > h4 { +.mdLayout .h3-wrap > .section > ul.marker-timeline > li > h4 { color: #2a2839; font-family: "Poppins", sans-serif; font-weight: 500;