]>
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 border: 1px solid white
;
86 .flashes
>li
.welcome h2
,
87 .flashes>li.welcome p {
97 justify-content: center
;
104 box-shadow: 0 0 5px #222;
105 border:1px solid
#222;
107 margin: 0 .25em .5em .25em;
113 height: calc
(270px / 16 * 9);
117 width: 100%; height: 100%;
120 .card .thumb .badge {
124 background: rgba
(16,16,16,.8);
144 left: 0; top: 0; right: 0; bottom: 0;
151 .card .info-main, .card .infobar>:first-child {
154 text-overflow: ellipsis
;
178 .card .emoji, #submgr .emoji {
181 .card .details>:last-child .emoji {
197 .advanced:not([open]) summary{
208 ul#submgr
{list-style: none
}
220 border:1px solid
#700;
222 box-sizing: border-box
;
225 .video_error::before {
226 content: '\26A0\fe0e';
228 .video_error a:link, .video_error a:visited {
231 .video_error a:hover, .video_error a:active {
238 /* https://stackoverflow.com/a/20201563 */
241 /* Note: clamping aspect-ratio, to avoid vertical videos going off-screen */
242 padding-top: calc
( 100% / max
(var
(--aspect-ratio
), 4/3) );
244 .aspect-ratio video {
251 .more-actions
.emoji
,
252 .more-actions input[type="checkbox"] {
253 margin: 0 .7em; /*like input.emoji's padding*/
260 .header-left:not(:first-of-type) {
270 .pagination-container {
275 border: 1px solid
#aaa;
281 .pagination.prev::before {
283 padding-right: .25em;
288 .pagination.next::after {