From c5aa364e0e372d0e29063a27bd17811446db8b6a Mon Sep 17 00:00:00 2001 From: Alexis Hovorka Date: Fri, 16 Feb 2024 23:48:02 -0700 Subject: [feat] Flesh out basic UI --- design/cards.html | 37 ++++++++++++++++++++++++++++++++++--- 1 file changed, 34 insertions(+), 3 deletions(-) (limited to 'design/cards.html') diff --git a/design/cards.html b/design/cards.html index d6d2a7c..d2f3ad4 100644 --- a/design/cards.html +++ b/design/cards.html @@ -111,6 +111,37 @@ .card:has(img:last-child) { padding-bottom: 0; } + + code { + margin: 0 -2px; + padding: 2px 4px; + font: 14px/1.3em "Hack", monospace; + white-space: nowrap; + background: rgba(0,0,0,.05); + border-radius: 4px; + letter-spacing: 0; + } + .gfm-color_chip { + display: inline-block; + line-height: 1; + margin: 0 0 2px 4px; + vertical-align: middle; + border-radius: 3px; + width: 0.9em; + height: 0.9em; + background: #fff; + background-image: linear-gradient(135deg, #ded6ee 25%, transparent 0%, transparent 75%, #ded6ee 0%),linear-gradient(135deg, #ded6ee 25%, transparent 0%, transparent 75%, #ded6ee 0%); + background-size: 1em 1em; + background-position: 0 0, 0.5em 0.5em; + } + .gfm-color_chip>span { + display: inline-block; + width: 100%; + height: 100%; + margin-bottom: 2px; + border-radius: 3px; + border: 1px solid rgba(31,30,36,0.24); + } @@ -122,12 +153,12 @@

Example Note

Meh bold italic meh whatever lorem ipsum dolor sit amet adispicing elit

-

Foobar lipsum yeet

-

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.

+

Foobar lipsum yeet uwu

+

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Call the load() function. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.

function test() {
   return 42;
 }
-

It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

+

It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. RGBA(0,255,0,0.3)

#hash #tag more_vert
-- cgit v1.2.3-70-g09d2