mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-20 01:03:17 +00:00
add theme linernotes_dark
This commit is contained in:
parent
79f25fa452
commit
ae42207b8d
35 changed files with 1613 additions and 0 deletions
31
app/javascript/styles/mods/display_fullmedia.css
Normal file
31
app/javascript/styles/mods/display_fullmedia.css
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
/*
|
||||
Full-height media previews:
|
||||
- normal media previews are forced to be 16:9 for consistency
|
||||
- use this if you prefer to see the aspect ratio unchanged
|
||||
|
||||
author: Kevin
|
||||
license: CC0 - Public Domain
|
||||
source: https://userstyles.org/styles/167207 [in part]
|
||||
*/
|
||||
|
||||
.media-gallery {
|
||||
max-height: 100% !important;
|
||||
height: 100% !important;
|
||||
}
|
||||
|
||||
.media-gallery__item-gifv-thumbnail, .media-gallery__item-gifv-thumbnail img {
|
||||
transform: translateY(0%) !important;
|
||||
max-height: 100% !important;
|
||||
}
|
||||
|
||||
.media-gallery__item-thumbnail, .media-gallery__item-thumbnail img, .media-gallery__gifv {
|
||||
max-height: 100% !important;
|
||||
}
|
||||
|
||||
.media-gallery__item {
|
||||
width: 100% !important;
|
||||
height: 100% !important;
|
||||
max-height: 100% !important;
|
||||
inset: 0 !important;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue