2 次代码提交 6c6d756bec ... 5dad376040

作者 SHA1 备注 提交日期
  saddle-ClankerSaddle 5dad376040 Pad bare cards and dialogs by default; add .prose utility 10 小时之前
  saddle-ClankerSaddle 6c6d756bec Pad bare cards and dialogs by default; add .prose utility 10 小时之前
共有 1 个文件被更改,包括 8 次插入 和 0 次删除
  1. 8 0
      css/spry.css

+ 8 - 0
css/spry.css

@@ -1466,6 +1466,14 @@ input[type="radio"] {
    13. Components — cards
    ========================================================================== */
 
+.card {
+  background: var(--spry-card-bg);
+  border: var(--spry-border-width) solid var(--spry-card-border);
+  border-radius: var(--spry-radius);
+  box-shadow: var(--spry-card-shadow);
+  backdrop-filter: var(--spry-glass);
+}
+
 /* Padding comes with the card, so a bare <div class="card"> already looks
    right; structural sections carry their own padding flush to the frame, so
    a card built from them drops the default. Both rules sit at zero