Questions tagged [userstyles]

Userstyles are stylesheets written in programs like Stylish which are used to customize the specific website for a specific user, that's why we call them userstyles.

Userstyles are stylesheets written in programs like Stylish which are used to customize the specific website for a specific user, that's why we call them userstyles.

29 questions
7
votes
1 answer

Fullscreen inverted luminance filter for dark themed browsing but keeping hues in CSS

I need help to find a work around for my quick and dirty dark browsing CSS filter that used to work nicely, but no longer works on most google pages, actually any pages with divs (I use it as a userstyle). I am in no way a programmer, just a user…
7
votes
2 answers

How to attach user CSS to Microsoft Edge?

In Internet Explorer I can attach my own CSS: for instance, in IE 11 using Tools → Internet Options → General tab → Appearance section → Accessibility → User style sheet → Format documents using my style sheet (https://i.stack.imgur.com/gwHYs.png).…
Dmitry
  • 73
  • 1
  • 3
5
votes
5 answers

How to select * but exclude ? Or set to default style?

Browsers usually set different default styles for elements. Users can also override the defaults using custom stylesheets. I often override these default styles using my own styles, e.g.: * {padding:0; margin:0; } However, I wish to respect the…
Pacerier
  • 86,231
  • 106
  • 366
  • 634
3
votes
3 answers

How to force an image's alt text to display instead of the image?

There is a website whose text I am interested in reading, however the images that accompany it may have content which I'd prefer not to see. I'm trying to use the Firefox extension Stylish to add a rule for that website. The following CSS rules work…
George T
  • 698
  • 9
  • 18
2
votes
0 answers

Firefox ignoring borders in user style, unless I don't specify all four sides

I'm trying to write a user style for this page using Stylish in Firefox 27.0.1. The stylesheet I have so far is: @-moz-document domain("www.hitbox.tv") { /***** Change stream area colours *****/ .meta, /* title and tabs */ .userContent.cf /* share…
Rena
  • 3,923
  • 3
  • 22
  • 19
1
vote
3 answers

Select all elements with a certain color?

Is there a selector that can select all elements with a certain color? I want to change all text with color: #1a0dab to color:00b0f4.
1
vote
0 answers

CSS for image inside visited link

I'm trying to use a:visited img in a userstyle for YouTube, but it has no effect: a:visited img { filter: grayscale(100%) !important; } On the other hand, if I instead use a:visited and a img, they work fine: a:visited { color: red…
root
  • 1,812
  • 1
  • 12
  • 26
1
vote
0 answers

userContent.css does not work for Slack in Firefox

I'm trying to make default Slack fonts bigger. I'm using Firefox's userContent.css: @-moz-document domain(mastodon.social) { .column { flex: 1 0 25% !important; } }; @-moz-document domain(slack.com) { [lang] body { …
art-solopov
  • 4,289
  • 3
  • 25
  • 44
1
vote
1 answer

How to center the Firefox #urlbar?

In the Firefox navigationbar I only have the back/forward buttons on the one side and the menu button on the other side of the urlbar. Now I'd like to horizontally center the urlbar on the remaining space of the navigationbar with a custom…
lobbos
  • 11
  • 3
1
vote
3 answers

CSS: How can I center 2 elements next to each other (inline-block) only that share a container with other elements?

I'm creating a userstyle for a website, so I can't change any HTML, just pure CSS.

I want to make h3 and p be next to each other and in the…
user3926061
  • 13
  • 1
  • 6
1
vote
1 answer

How to restyle website to flow content around sidebar?

I am attempting to write a userstyle to reformat another website (no chance to change html). Currently the website has main content on left with a full height sidebar on RHS. I have used CSS to remove much of the sidebar content and would now like…
MymsMan
  • 191
  • 8
0
votes
1 answer

Conversion from CSS to UserScript

I'm trying to convert a small piece of UserStyles visual theme code into a TamperMonkey script. Until a few months ago, UserStyles.org had a feature that allowed you to do this with the click of a button. Alas, it is no longer available. Please help…
0
votes
0 answers

CSS how to set font-size to @container itself in Stylus' User-Style?

I'm using the Stylus extension in Chrome, trying to set multiple sites' main content to a certain char-per-line, what I'm trying firstly: @-moz-document url-prefix("https://www.google.com/search?q=") { .g { container-type: inline-size; …
a_a
  • 37
  • 4
0
votes
2 answers

CSS: Selector for Google's search box

I am trying to make Google's homepage more to my liking. I have added the following CSS: * { /* zoom: */ /* font-size: 103% ; */ min-width: 0px !important ; } input { width: 1000px !important ; } #top_nav > * { /* font-size: 2em…
HappyFace
  • 3,439
  • 2
  • 24
  • 43
0
votes
0 answers

Can you use two different pseudo elements on one element on CSS?

I make userstyles, in other words, third party CSS or custom CSS, and I'm replacing text with content property and the before and after pseudo elements. The problem is, to completely hide the original text, I have to set the original element's…
John R.
  • 36
  • 4
1
2