summaryrefslogtreecommitdiff
path: root/design/cards.html
diff options
context:
space:
mode:
Diffstat (limited to 'design/cards.html')
-rw-r--r--design/cards.html37
1 files changed, 34 insertions, 3 deletions
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);
+ }
</style>
</head>
<body>
@@ -122,12 +153,12 @@
</h3>
<h2>Example Note</h2>
<p>Meh <strong>bold</strong> <em>italic</em> meh whatever <del>lorem</del> ipsum dolor sit amet adispicing elit</p>
- <p><span style="color:#1565C0">Foobar</span> <span style="color:#b00020">lipsum</span> <span style="background:#feefc3">yeet</span></p>
- <p>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.</p>
+ <p><span style="color:#1565C0">Foobar</span> <span style="color:#b00020">lipsum</span> <span style="background:#feefc3">yeet</span> <code>uwu</code></p>
+ <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Call the <code>load()</code> 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.</p>
<pre>function test() {
return 42;
}</pre>
- <p>It has <em>survived</em> 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.</p>
+ <p>It has <em>survived</em> 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. <code>RGBA(0,255,0,0.3)<span class="gfm-color_chip"><span style="background-color: RGBA(0,255,0,0.3);"></span></span></code></p>
<div class="tags"><span class="tag">#hash</span> <span class="tag">#tag</span>
<i class="material-icons-round">more_vert</i>
</div>