| 1 |
/** |
| 2 |
* ActivityPub embed styles. |
| 3 |
*/ |
| 4 |
|
| 5 |
.activitypub-embed { |
| 6 |
background: #fff; |
| 7 |
border: 1px solid #e6e6e6; |
| 8 |
border-radius: 12px; |
| 9 |
padding: 0; |
| 10 |
max-width: 100%; |
| 11 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; |
| 12 |
} |
| 13 |
|
| 14 |
.activitypub-reply-block .activitypub-embed { |
| 15 |
margin: 1em 0; |
| 16 |
} |
| 17 |
|
| 18 |
.activitypub-embed-header { |
| 19 |
padding: 15px; |
| 20 |
display: flex; |
| 21 |
align-items: center; |
| 22 |
gap: 10px; |
| 23 |
} |
| 24 |
|
| 25 |
.activitypub-embed-header img { |
| 26 |
width: 48px; |
| 27 |
height: 48px; |
| 28 |
border-radius: 50%; |
| 29 |
} |
| 30 |
|
| 31 |
.activitypub-embed-header-text { |
| 32 |
flex-grow: 1; |
| 33 |
} |
| 34 |
|
| 35 |
.activitypub-embed-header-text h2 { |
| 36 |
color: #000; |
| 37 |
font-size: 15px; |
| 38 |
font-weight: 600; |
| 39 |
margin: 0; |
| 40 |
padding: 0; |
| 41 |
} |
| 42 |
|
| 43 |
.activitypub-embed-header-text .ap-account { |
| 44 |
color: #687684; |
| 45 |
font-size: 14px; |
| 46 |
text-decoration: none; |
| 47 |
} |
| 48 |
|
| 49 |
.activitypub-embed-content { |
| 50 |
padding: 0 15px 15px; |
| 51 |
} |
| 52 |
|
| 53 |
.activitypub-embed-content .ap-title { |
| 54 |
font-size: 23px; |
| 55 |
font-weight: 600; |
| 56 |
margin: 0 0 10px; |
| 57 |
padding: 0; |
| 58 |
color: #000; |
| 59 |
} |
| 60 |
|
| 61 |
.activitypub-embed-content .ap-subtitle { |
| 62 |
font-size: 15px; |
| 63 |
color: #000; |
| 64 |
margin: 0 0 15px; |
| 65 |
} |
| 66 |
|
| 67 |
.activitypub-embed-content .ap-preview { |
| 68 |
border: 1px solid #e6e6e6; |
| 69 |
border-radius: 8px; |
| 70 |
overflow: hidden; |
| 71 |
} |
| 72 |
|
| 73 |
.activitypub-embed-content .ap-preview img { |
| 74 |
width: 100%; |
| 75 |
height: auto; |
| 76 |
display: block; |
| 77 |
} |
| 78 |
|
| 79 |
.activitypub-embed-content .ap-preview-text { |
| 80 |
padding: 15px; |
| 81 |
} |
| 82 |
|
| 83 |
.activitypub-embed-meta { |
| 84 |
padding: 15px; |
| 85 |
border-top: 1px solid #e6e6e6; |
| 86 |
color: #687684; |
| 87 |
font-size: 13px; |
| 88 |
display: flex; |
| 89 |
gap: 15px; |
| 90 |
} |
| 91 |
|
| 92 |
.activitypub-embed-meta .ap-stat { |
| 93 |
display: flex; |
| 94 |
align-items: center; |
| 95 |
gap: 5px; |
| 96 |
} |
| 97 |
|
| 98 |
.activitypub-embed-meta a.ap-stat { |
| 99 |
color: inherit; |
| 100 |
text-decoration: none; |
| 101 |
} |
| 102 |
|
| 103 |
.activitypub-embed-meta strong { |
| 104 |
font-weight: 600; |
| 105 |
color: #000; |
| 106 |
} |
| 107 |
|
| 108 |
.activitypub-embed-meta .ap-stat-label { |
| 109 |
color: #687684; |
| 110 |
} |
| 111 |
|