]>
git.gir.st - subscriptionfeed.git/blob - app/static/style.css
2 font-family: sans-serif
;
13 text-decoration: none
;
17 .card-main:hover
.title
, .card-main:active
.title
,
18 .more-actions
label:hover
, .more-actions
label:active
,
19 .fake-link:active
, .fake-link:hover
,
21 summary:active
, summary:hover
{
23 text-decoration: none
;
34 box-sizing: border-box
;
35 max-width: 1200px; /* same as .articles */
44 box-sizing: border-box
;
47 .flashes>.flash-radio:checked + li {
50 .flashes>li .flash-close {
54 .flashes>li .flash-close::before {
59 .flashes
>li
.message
.flash-close::before:hover
,
60 .flashes>li.info .flash-close::before:hover {
65 text-decoration: underline
;
69 background-color: #ace;
70 border: 1px solid
#5ae;
78 background-color: #aaa;
79 border: 1px solid
#888;
82 .flashes>li.message a {
87 background-color: #f33;
88 border: 1px solid
#700;
96 border: 1px solid white
;
98 .flashes
>li
.welcome h2
,
99 .flashes>li.welcome p {
109 justify-content: center
;
116 box-shadow: 0 0 5px #222;
117 border:1px solid
#222;
119 margin: 0 .25em .5em .25em;
125 height: calc
(270px / 16 * 9);
129 width: 100%; height: 100%;
132 .card .thumb .badge {
136 background: rgba
(16,16,16,.8);
149 /* display ellipsis: */
150 display: -webkit-box
;
151 -webkit-box-orient: vertical
;
152 -webkit-line-clamp: 2;
161 left: 0; top: 0; right: 0; bottom: 0;
165 background: rgba
(255,0,0,.1);
167 .card
.pinned
.infobar details
.advanced
>summary::after
,
168 .card.pinned .infobar :not(details).advanced::after {
169 content: ' \1f4cc\FE0F';
176 .card .info-main, .card .infobar>:first-child {
179 text-overflow: ellipsis
;
192 border-color: transparent
;
203 .card .emoji, #submgr .emoji {
206 .card .details>:last-child .emoji {
222 .advanced:not([open]) summary{
233 ul#submgr
{list-style: none
}
241 details
[open
]:not
(.advanced
):not
(#filters
) {
242 border: 1px solid
#444;
243 border-radius: 3px 3px 0 0;
246 details:not
(.advanced
):not
(#filters
)>summary
{
247 border-radius: 3px 3px 0 0;
250 details
[open
]:not
(.advanced
):not
(#filters
)>summary
{
253 details
[open
]:not
(.advanced
):not
(#filters
)>summary:hover
,
254 details
[open
]:not
(.advanced
):not
(#filters
)>summary:active
{
257 details:not
(.advanced
):not
(#filters
)>*:not
(:first-child
) {
265 border:1px solid
#700;
267 box-sizing: border-box
;
270 .video_error::before {
271 content: '\26A0\fe0e';
273 .video_error a:link, .video_error a:visited {
276 .video_error a:hover, .video_error a:active {
283 /* https://stackoverflow.com/a/20201563 */
286 padding-top: calc
( 100% / var
(--aspect-ratio
) );
288 /* Note: clamping aspect-ratio to avoid vertical videos going
289 off-screen, but only on browsers that support nesting calc/max: */
290 @supports (padding:calc
(100%/max
(1))) {
293 calc
(100vh - 3em), /* make sure the header(~3em) and video element fit above the fold */
294 calc
( 100% / max
(var
(--aspect-ratio
), 4/3) )
298 .aspect-ratio video {
305 .more-actions
.emoji
,
306 .more-actions input[type="checkbox"] {
307 margin: 0 .7em; /*like input.emoji's padding*/
314 .header-left:not(:first-of-type) {
324 .pagination-container {
329 border: 1px solid
#aaa;
335 .pagination.prev::before {
337 padding-right: .25em;
342 .pagination.next::after {