userContent.css Edit?
MicroB in Diablo works very well for me. Between Flash and HTML I have been able to make locally stored pages that provide me with information that makes the tablet very useful. I hope to post examples soon.
However, there are two domains that I access frequently that usually require that I increase zoom to 150% so that images are viewable from the windsheild mount while driving. Is there a way to edit the userContent.css so that the view for pages from just these two domains is increased automatically? If so, can someone provide an an example of the code that should be inserted in userContent.css? |
Re: userContent.css Edit?
try this ; replace 'somesite.com' with the actual domain:
Code:
@-moz-document domain(somesite.com) { |
Re: userContent.css Edit?
@ iamthewalrus: Is there a way to tweak this to make X% the default zoom for any page microB accesses?
|
Re: userContent.css Edit?
Yes if you leave out the @-moz....} brackets all images will be 150%, so like this
Code:
img{width: 150%; height: 150% !important } |
Re: userContent.css Edit?
Quote:
|
Re: userContent.css Edit?
Sorry, I meant to ask if there was a way to have the WHOLE PAGE rendered at X%, not just the images...???
|
Re: userContent.css Edit?
Quote:
Thanks for jumpstartin' my brain cells. :) |
Re: userContent.css Edit?
Well, you can do something like body {font-size: 150% !important} (off-hand, syntax not guaranteed.), I think.
|
Re: userContent.css Edit?
if the van don't come, you'll get your tan from standing in the english rain.
|
Re: userContent.css Edit?
Quote:
|
Re: userContent.css Edit?
thanks Benson. My wish is to make all files with paths that begin with "file:/" open at 150% font-size. Any tips on making that happen....?
|
Re: userContent.css Edit?
Quote:
I realize that the question I just asked Benson is a different question. I'd love an answer to both. |
Re: userContent.css Edit?
|
Re: userContent.css Edit?
Thank you!!!!!!
|
Re: userContent.css Edit?
Not sure on exactly simulating 150% zoom; combining my body line, iamthewalrus's img line, and maybe also applying the width and height to the body would be a first approximation, but frankly I don't like the way sites overrun the screen when zoomed, and usually could get by much happier with a text-only zoom than the whole-page zoom...
|
Re: userContent.css Edit?
I set my browser to minimum 20 points fontsize, automatically fit to width using css and not show horizontal or vertical scrollbars ever...it's all in the wiki.
|
Re: userContent.css Edit?
Thanks to all for their input...
My UserContent.css now looks like this. Code:
@-moz-document url-prefix(http://www.6abctogo.com/) {My question is, knowing that many of these url's have both a font and image size command, and knowing that I will pro'ly be adding more;.. Is there a more elegant way to do this? |
Re: userContent.css Edit?
Hey all. I hope you see this thread again...
Is there a command that can be placed in userContent.css that redirects to another page... For instance; the status bar app mnotify has an in-box link that opens the browser to page X. When it does this, I would rather be sent to page Y. |
Re: userContent.css Edit?
While we're at it, how about this:
I would like all www.nytimes.com urls to open in new page as http://www.google.com/gwt/n?u=http://www.nytimes.com... Doable? |
Re: userContent.css Edit?
Quote:
^That may be possible editing the "Hosts" file found in /etc/hosts and adding a rule like one of >> These... once you find the IP addy of www.nytimes.com However, since you wish to re-direct to a hosts specific sub-directory @ www.google.com you may be in the same boat as me. I never tried it that way. (I wish to re-direct from a specific hosts sub-directory.) |
Re: userContent.css Edit?
Ok, I'll add another Q...
Is there any way to set the User-Agent on a site-by-site basis with the custom CSS? I tried a while back...and failed. |
Re: userContent.css Edit?
Quote:
|
| All times are GMT. The time now is 21:03. |
vBulletin® Version 3.8.8