shorts: emphasize lesson-text with accent border + smaller calendar icon
This commit is contained in:
+14
-1
@@ -197,7 +197,20 @@
|
||||
.shorts-actions .btn-link { padding:5px 11px;font-size:.76rem }
|
||||
.shorts-actions .btn-link.danger { color:#ef4444;border-color:rgba(239,68,68,.35) }
|
||||
.shorts-actions .btn-link.danger:hover { border-color:#ef4444 }
|
||||
.shorts-item .lesson-text { overflow-wrap:anywhere }
|
||||
.shorts-item .lesson-text {
|
||||
overflow-wrap: anywhere;
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
font-weight: 700 !important;
|
||||
font-size: .95rem !important;
|
||||
line-height: 1.7 !important;
|
||||
color: var(--text) !important;
|
||||
background: color-mix(in srgb, var(--accent) 10%, var(--card));
|
||||
border-left: 3px solid var(--accent);
|
||||
padding: 8px 12px 8px 14px;
|
||||
border-radius: 0 8px 8px 0;
|
||||
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 12%, transparent);
|
||||
}
|
||||
.shorts-skeleton { min-height:96px; background:linear-gradient(90deg,var(--bg) 25%,var(--card) 50%,var(--bg) 75%); background-size:200% 100%; animation:shorts-skeleton 1.2s ease-in-out infinite; border:1px solid var(--border) }
|
||||
@keyframes shorts-skeleton { from { background-position:200% 0 } to { background-position:-200% 0 } }
|
||||
.shorts-author { display:flex;align-items:center;gap:6px;flex-wrap:wrap }
|
||||
|
||||
Reference in New Issue
Block a user