parsav  Diff

Differences From Artifact [ea5ab728f6]:

To Artifact [d34b63e467]:


500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
...
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
article.post {
	@extend %box;
	display: grid;
	margin: unset;
	grid-template-columns: 1in 1fr max-content max-content;
	grid-template-rows: min-content max-content;
	margin-bottom: 0.1in;
	transition: 0.3s;
	>.avatar {
		grid-column: 1/2; grid-row: 1/2;
		img { display: block; width: 1in; height: 1in; margin:0; }
		background: linear-gradient(to bottom, tone(-53%), tone(-57%));
	}
	>a[href].username {
		display: block;
................................................................................
		grid-column: 3/4; grid-row: 2/3;
		justify-content: center;
		> .like, > .rt {
			margin: 0.5em 0.3em;
			padding-left: 1.3em;
			background-size: 1.1em;
			background-repeat: no-repeat;
			pointer-events: all;
			min-width: 0.3em;
			&:empty {
				transition: 0.3s;
				opacity: 0.0001; // qutebrowser won't show hints if opacity=0 :(
				&:hover, &:focus { opacity: 0.6 !important; }
			}
		}
		> .like { background-image: url(/s/heart.webp); }
		> .rt   { background-image: url(/s/retweet.webp); }
	}

	// used for keyboard navigation
	&.live-selected {
		margin-left: 0.4in;
		margin-right: -0.4in;
		box-shadow: 0 0 0 1px tone(15%), 0 0 1in tone(5%, -0.5);
	}
}

article.post:hover div.stats { > .like, > .rt { &:empty {opacity: 0.3;} } }

a[href].rawlink {
	@extend %teletype;







|







 







<













|
|
|







500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
...
543
544
545
546
547
548
549

550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
article.post {
	@extend %box;
	display: grid;
	margin: unset;
	grid-template-columns: 1in 1fr max-content max-content;
	grid-template-rows: min-content max-content;
	margin-bottom: 0.1in;
	transition: 0.2s ease-out;
	>.avatar {
		grid-column: 1/2; grid-row: 1/2;
		img { display: block; width: 1in; height: 1in; margin:0; }
		background: linear-gradient(to bottom, tone(-53%), tone(-57%));
	}
	>a[href].username {
		display: block;
................................................................................
		grid-column: 3/4; grid-row: 2/3;
		justify-content: center;
		> .like, > .rt {
			margin: 0.5em 0.3em;
			padding-left: 1.3em;
			background-size: 1.1em;
			background-repeat: no-repeat;

			min-width: 0.3em;
			&:empty {
				transition: 0.3s;
				opacity: 0.0001; // qutebrowser won't show hints if opacity=0 :(
				&:hover, &:focus { opacity: 0.6 !important; }
			}
		}
		> .like { background-image: url(/s/heart.webp); }
		> .rt   { background-image: url(/s/retweet.webp); }
	}

	// used for keyboard navigation
	&.live-selected {
		//margin-left: 0.4in; margin-right: -0.4in;
		box-shadow: 0 0 0 1px tone(15%), 0 0 1in tone(5%, -0.5);
		transform: scale(1.05) translateX(0.1in);
	}
}

article.post:hover div.stats { > .like, > .rt { &:empty {opacity: 0.3;} } }

a[href].rawlink {
	@extend %teletype;