-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
234 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
/** | ||
* ActivityPub embed styles. | ||
*/ | ||
|
||
.activitypub-embed { | ||
background: #fff; | ||
border: 1px solid #e6e6e6; | ||
border-radius: 12px; | ||
margin: 1em 0; | ||
padding: 0; | ||
max-width: 100%; | ||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; | ||
} | ||
|
||
.activitypub-embed-header { | ||
padding: 15px; | ||
display: flex; | ||
align-items: center; | ||
gap: 10px; | ||
} | ||
|
||
.activitypub-embed-header img { | ||
width: 48px; | ||
height: 48px; | ||
border-radius: 50%; | ||
} | ||
|
||
.activitypub-embed-header-text { | ||
flex-grow: 1; | ||
} | ||
|
||
.activitypub-embed-header-text h2 { | ||
color: #000; | ||
font-size: 15px; | ||
font-weight: 600; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
.activitypub-embed-header-text .ap-account { | ||
color: #687684; | ||
font-size: 14px; | ||
text-decoration: none; | ||
} | ||
|
||
.activitypub-embed-content { | ||
padding: 0 15px 15px; | ||
} | ||
|
||
.activitypub-embed-content .ap-title { | ||
font-size: 23px; | ||
font-weight: 600; | ||
margin: 0 0 10px; | ||
padding: 0; | ||
color: #000; | ||
} | ||
|
||
.activitypub-embed-content .ap-subtitle { | ||
font-size: 15px; | ||
color: #000; | ||
margin: 0 0 15px; | ||
} | ||
|
||
.activitypub-embed-content .ap-preview { | ||
border: 1px solid #e6e6e6; | ||
border-radius: 8px; | ||
overflow: hidden; | ||
} | ||
|
||
.activitypub-embed-content .ap-preview img { | ||
width: 100%; | ||
height: auto; | ||
display: block; | ||
} | ||
|
||
.activitypub-embed-content .ap-preview-text { | ||
padding: 15px; | ||
} | ||
|
||
.activitypub-embed-meta { | ||
padding: 15px; | ||
border-top: 1px solid #e6e6e6; | ||
color: #687684; | ||
font-size: 13px; | ||
display: flex; | ||
gap: 15px; | ||
} | ||
|
||
.activitypub-embed-meta .ap-stat { | ||
display: flex; | ||
align-items: center; | ||
gap: 5px; | ||
} | ||
|
||
.activitypub-embed-meta a.ap-stat { | ||
text-decoration: none; | ||
} | ||
|
||
.activitypub-embed-meta strong { | ||
font-weight: 600; | ||
color: #000; | ||
} | ||
|
||
.activitypub-embed-meta .ap-stat-label { | ||
color: #687684; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters