smol tweaks for USw by pabli

smol tweaks for USw screenshot
Install Get Stylus Write a review

Details

Authorpabli

LicenseMIT

Created atMarch 3, 2022 22:57

Updated atMarch 3, 2022 22:57

Applies touserstyles.world

Statistics

Learn how we calculate statistics in the FAQ.

Total views45

Total installs68

Weekly installs8

Description

Some tweaks for userstyles.world



☕ Support me on ko-fi

Notes

Userstyle doesn't have notes.

History

Daily snapshots of style statistics.

2022-03-032022-03-052022-03-062022-03-082022-03-092022-03-102022-03-122022-03-132022-03-142022-03-162022-03-172022-03-18Date0.000.380.751.131.501.882.252.633.00Daily countDaily installsDaily updatesDaily views
2022-03-032022-03-052022-03-062022-03-082022-03-092022-03-102022-03-122022-03-132022-03-142022-03-162022-03-172022-03-18Date1.002.704.305.907.509.2010.8012.4014.00Total countTotal installsTotal views

Source code

/* ==UserStyle==
@name           smol tweaks for USw
@namespace      https://userstyles.world/user/pabli
@version        1.0.0
@description    Some tweaks for userstyles.world
@author         Pabli
@preprocessor   stylus
@var            number    imgsize    "Screenshot size"                    ['%', 50, 0, null, 1]
@var            checkbox  imgh       "Enlarge screenshot on hover"        1
@var            number    imgsizeh   "Screenshot size on hover"           ['%', 100, 0, null, 1]
@var            checkbox  linkimg    "Hide [🔗] from links"              1
@var            checkbox  history    "Align history charts horizontally"  1
@var            checkbox  socials    "Align socials horizontally"         1
@var            checkbox  scrhide    "Hide scrollbar in Reviews"          1
@var            checkbox  reviews    "Move reviews under a screenshot"    0
==/UserStyle== */

@-moz-document domain("userstyles.world") {
	
// smaller image
.preview > .card {
	width: imgsize;
	transition: 0.3s;
}
if imgh {
	.preview > .card:hover {
		width: imgsizeh;
		cursor: zoom-in;
	}
}
// history horizontal
if history {
	.history {
		display: flex;
		flex-wrap: wrap;
	}
	.history > p {
		width: 100%;
	}
	.chart {
		width: 50%;
	}
}
// socials horizontal
if socials {
	.socials {
		display: flex;
		flex-wrap: wrap;
		margin: 0;
	}
	.socials > h2 {
		width: 100%;
		margin: 0;
	}
	.socials > div {
		margin-right: 15px;
	}
	.socials > div > svg {
		margin-right: 5px;
	}
	.styles > h2 {
		margin: 0;
	}
}
// remove 🔗 from links
if linkimg {
	a[href^='/link/']::after, a[href^='http']::after {
		content: unset;
	}
}
// hide scrollbar in reviews
if scrhide {
	.Box-body {
		overflow-y: unset;
	}
}
// reviews on top
if reviews {
	.wrapper {
		display: flex;
		flex-direction: column;
	}
	.wrapper > .preview {
		order: 0;
	}
	.wrapper > .reviews {
		order: 1;
	}
	.wrapper > section {
		order: 2;
	}
}
}

Reviews

No reviews yet.