]>
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 */
43 box-sizing: border-box
;
46 .flashes>.flash-radio:checked ~ li {
49 .flashes>li .flash-close {
53 .flashes>li .flash-close::before {
58 .flashes
>li
.message
.flash-close::before:hover
,
59 .flashes>li.info .flash-close::before:hover {
64 text-decoration: underline
;
68 background-color: #ace;
69 border: 1px solid
#5ae;
77 background-color: #aaa;
78 border: 1px solid
#888;
81 .flashes>li.message a {
86 background-color: #f33;
87 border: 1px solid
#700;
95 border: 1px solid white
;
97 .flashes
>li
.welcome h2
,
98 .flashes>li.welcome p {
108 justify-content: center
;
115 box-shadow: 0 0 5px #222;
116 border:1px solid
#222;
118 margin: 0 .25em .5em .25em;
124 height: calc
(270px / 16 * 9);
128 width: 100%; height: 100%;
131 .card .thumb .badge {
135 background: rgba
(16,16,16,.8);
148 /* display ellipsis: */
149 display: -webkit-box
;
150 -webkit-box-orient: vertical
;
151 -webkit-line-clamp: 2;
160 left: 0; top: 0; right: 0; bottom: 0;
164 background: rgba
(255,0,0,.1);
166 .card
.pinned
.infobar details
.advanced
>summary::after
,
167 .card.pinned .infobar :not(details).advanced::after {
168 content: ' \1f4cc\FE0F';
175 .card .info-main, .card .infobar>:first-child {
178 text-overflow: ellipsis
;
191 border-color: transparent
;
202 .card .emoji, #submgr .emoji {
205 .card .details>:last-child .emoji {
221 .advanced:not([open]) summary{
232 ul#submgr
{list-style: none
}
240 details
[open
]:not
(.advanced
):not
(#filters
) {
241 border: 1px solid
#444;
242 border-radius: 3px 3px 0 0;
245 details:not
(.advanced
):not
(#filters
)>summary
{
246 border-radius: 3px 3px 0 0;
249 details
[open
]:not
(.advanced
):not
(#filters
)>summary
{
252 details
[open
]:not
(.advanced
):not
(#filters
)>summary:hover
,
253 details
[open
]:not
(.advanced
):not
(#filters
)>summary:active
{
256 details:not
(.advanced
):not
(#filters
)>*:not
(:first-child
) {
264 border:1px solid
#700;
266 box-sizing: border-box
;
269 .video_error::before {
270 content: '\26A0\fe0e';
272 .video_error a:link, .video_error a:visited {
275 .video_error a:hover, .video_error a:active {
282 /* https://stackoverflow.com/a/20201563 */
285 padding-top: calc
( 100% / var
(--aspect-ratio
) );
287 /* Note: clamping aspect-ratio to avoid vertical videos going
288 off-screen, but only on browsers that support nesting calc/max: */
289 @supports (padding:calc
(100%/max
(1))) {
292 calc
(100vh - 3em), /* make sure the header(~3em) and video element fit above the fold */
293 calc
( 100% / max
(var
(--aspect-ratio
), 4/3) )
297 .aspect-ratio video {
304 .more-actions
.emoji
,
305 .more-actions input[type="checkbox"] {
306 margin: 0 .7em; /*like input.emoji's padding*/
313 .header-left:not(:first-of-type) {
323 .pagination-container {
328 border: 1px solid
#aaa;
334 .pagination.prev::before {
336 padding-right: .25em;
341 .pagination.next::after {