Add color to inline code, and other tweaks for sourcehut.
sr.ht tweaks by exelotl
Details
Authorexelotl
LicenseCC0
Categorysourcehut
Created
Updated
Size534 B
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name sr.ht tweaks
@version 20221101.12.48
@namespace userstyles.world/user/exelotl
@description Add color to inline code, and other tweaks for sourcehut.
@author exelotl
@license CC0
==/UserStyle== */
@-moz-document domain("sr.ht") {
.content code, .readme code, .project-summary code {
color: rgb(41, 81, 121);
padding: 0 0.1rem;
}
@media (prefers-color-scheme:dark) {
.content code, .readme code, .project-summary code {
color: #ffd1a9;
}
}
}