]>
git.gir.st - subscriptionfeed.git/blob - app/static/style.css
2 font-family: sans-serif
;
12 text-decoration: none
;
16 .card-main:hover
.title
, .card-main:active
.title
,
17 .more-actions
label:hover
, .more-actions
label:active
,
19 summary:active
, summary:hover
{
21 text-decoration: none
;
32 box-sizing: border-box
;
33 max-width: 1200px; /* same as .articles */
41 box-sizing: border-box
;
44 .flashes>.flash-radio:checked ~ li {
47 .flashes>li .flash-close {
51 .flashes>li .flash-close::before {
56 .flashes
>li
.message
.flash-close::before:hover
,
57 .flashes>li.info .flash-close::before:hover {
62 text-decoration: underline
;
66 background-color: #ace;
67 border: 1px solid
#5ae;
75 background-color: #aaa;
76 border: 1px solid
#888;
79 .flashes>li.message a {
84 background-color: #f33;
85 border: 1px solid
#700;
93 border: 1px solid white
;
95 .flashes
>li
.welcome h2
,
96 .flashes>li.welcome p {
106 justify-content: center
;
113 box-shadow: 0 0 5px #222;
114 border:1px solid
#222;
116 margin: 0 .25em .5em .25em;
122 height: calc
(270px / 16 * 9);
126 width: 100%; height: 100%;
129 .card .thumb .badge {
133 background: rgba
(16,16,16,.8);
146 /* display ellipsis: */
147 display: -webkit-box
;
148 -webkit-box-orient: vertical
;
149 -webkit-line-clamp: 2;
158 left: 0; top: 0; right: 0; bottom: 0;
162 background: rgba
(255,0,0,.1);
164 .card
.pinned
.infobar details
.advanced
>summary::after
,
165 .card.pinned .infobar :not(details).advanced::after {
166 content: ' \1f4cc\FE0F';
173 .card .info-main, .card .infobar>:first-child {
176 text-overflow: ellipsis
;
189 border-color: transparent
;
200 .card .emoji, #submgr .emoji {
203 .card .details>:last-child .emoji {
219 .advanced:not([open]) summary{
230 ul#submgr
{list-style: none
}
238 details
[open
]:not
(.advanced
):not
(#filters
) {
239 border: 1px solid
#444;
240 border-radius: 3px 3px 0 0;
243 details:not
(.advanced
):not
(#filters
)>summary
{
244 border-radius: 3px 3px 0 0;
247 details
[open
]:not
(.advanced
):not
(#filters
)>summary
{
250 details
[open
]:not
(.advanced
):not
(#filters
)>summary:hover
,
251 details
[open
]:not
(.advanced
):not
(#filters
)>summary:active
{
254 details:not
(.advanced
):not
(#filters
)>*:not
(:first-child
) {
262 border:1px solid
#700;
264 box-sizing: border-box
;
267 .video_error::before {
268 content: '\26A0\fe0e';
270 .video_error a:link, .video_error a:visited {
273 .video_error a:hover, .video_error a:active {
280 /* https://stackoverflow.com/a/20201563 */
283 padding-top: calc
( 100% / var
(--aspect-ratio
) );
285 /* Note: clamping aspect-ratio to avoid vertical videos going
286 off-screen, but only on browsers that support nesting calc/max: */
287 @supports (padding:calc
(100%/max
(1))) {
290 calc
(100vh - 3em), /* make sure the header(~3em) and video element fit above the fold */
291 calc
( 100% / max
(var
(--aspect-ratio
), 4/3) )
295 .aspect-ratio video {
302 .more-actions
.emoji
,
303 .more-actions input[type="checkbox"] {
304 margin: 0 .7em; /*like input.emoji's padding*/
311 .header-left:not(:first-of-type) {
321 .pagination-container {
326 border: 1px solid
#aaa;
332 .pagination.prev::before {
334 padding-right: .25em;
339 .pagination.next::after {