diff options
| author | 2021-08-30 10:58:06 +0200 | |
|---|---|---|
| committer | 2021-08-30 10:58:06 +0200 | |
| commit | 50ba6bbe07b0bb86eb07e3212ba2e22cb2878cf2 (patch) | |
| tree | 3e54faf8e06be88468d0be1e9df808f88691194e /p/themes/Origine-compact/origine-compact.rtl.css | |
| parent | 812eda1fa05e370c4c1645b5b82f09f9da2c7bf7 (diff) | |
UI: Add optional thumbnail and summary on feed items (#3805)
* UI: Add optional thumbnail and summary on feed items
Implements #561
* UI: Thumbnail: Own column, Custom size, Lazy load
* UI: Thumbnail: Remove unnecessary CSS rule
Remove rule already defined in base theme, no override needed
* CSS lint + RTL
* Improve thumbail and summary generation
* Support img alt
* Missing htmlspecialchars
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'p/themes/Origine-compact/origine-compact.rtl.css')
| -rw-r--r-- | p/themes/Origine-compact/origine-compact.rtl.css | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/p/themes/Origine-compact/origine-compact.rtl.css b/p/themes/Origine-compact/origine-compact.rtl.css index 62c7c75bd..ccdcb697f 100644 --- a/p/themes/Origine-compact/origine-compact.rtl.css +++ b/p/themes/Origine-compact/origine-compact.rtl.css @@ -878,6 +878,43 @@ a.btn, font-size: 0.8rem; } +.flux .item.thumbnail { + padding: 5px; + height: 50px; +} + +.flux .item.thumbnail.small { + height: 30px; +} + +.flux .item.thumbnail.portrait { + width: 38px; +} + +.flux .item.thumbnail.square { + width: 50px; +} + +.flux .item.thumbnail.landscape { + width: 80px; +} + +.flux .item.thumbnail.portrait.small { + width: 20px; +} + +.flux .item.thumbnail.square.small { + width: 30px; +} + +.flux .item.thumbnail.landscape.small { + width: 40px; +} + +.flux .item.title .summary { + max-height: 1.5em; +} + .flux .website .favicon { padding: 5px; } |
