Active Topics

 


Reply
Thread Tools
YoDude's Avatar
Posts: 2,869 | Thanked: 1,784 times | Joined on Feb 2007 @ Po' Bo'. PA
#1
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?
 

The Following User Says Thank You to YoDude For This Useful Post:
Posts: 566 | Thanked: 150 times | Joined on Dec 2007
#2
try this ; replace 'somesite.com' with the actual domain:
Code:
@-moz-document domain(somesite.com) {
    img{width: 150%; height: 150% !important }
}
 

The Following 2 Users Say Thank You to iamthewalrus For This Useful Post:
Posts: 609 | Thanked: 232 times | Joined on Dec 2007 @ the end of my rope
#3
@ iamthewalrus: Is there a way to tweak this to make X% the default zoom for any page microB accesses?
 
Posts: 566 | Thanked: 150 times | Joined on Dec 2007
#4
Yes if you leave out the @-moz....} brackets all images will be 150%, so like this
Code:
 img{width: 150%; height: 150% !important }
Also see the web section of the old wiki. Be quick because this wiki will be close down and I'm too lazy to copy it to the new one.
 

The Following User Says Thank You to iamthewalrus For This Useful Post:
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#5
Originally Posted by iamthewalrus View Post
Yes if you leave out the @-moz....} brackets all images will be 150%, so like this
Code:
 img{width: 150%; height: 150% !important }
Also see the web section of the old wiki. Be quick because this wiki will be close down and I'm too lazy to copy it to the new one.
No, you're confused. The old maemo.org wiki is being closed in favor of the new maemo.org wiki. The itT wiki is not being closed, but one of the major reasons for its existence and use was how bad the maemo.org wiki was. It's generally deprecated by maemo.org people since they brought the new one up.
 

The Following User Says Thank You to Benson For This Useful Post:
Posts: 609 | Thanked: 232 times | Joined on Dec 2007 @ the end of my rope
#6
Sorry, I meant to ask if there was a way to have the WHOLE PAGE rendered at X%, not just the images...???
 
YoDude's Avatar
Posts: 2,869 | Thanked: 1,784 times | Joined on Feb 2007 @ Po' Bo'. PA
#7
Originally Posted by iamthewalrus View Post
try this ; replace 'somesite.com' with the actual domain:
Code:
@-moz-document domain(somesite.com) {
    img{width: 150%; height: 150% !important }
}
'GOO GOO G'JOOB!

Thanks for jumpstartin' my brain cells.
 
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#8
Well, you can do something like body {font-size: 150% !important} (off-hand, syntax not guaranteed.), I think.
 

The Following User Says Thank You to Benson For This Useful Post:
briand's Avatar
Posts: 566 | Thanked: 145 times | Joined on Feb 2008 @ Tallahassee, FL
#9
if the van don't come, you'll get your tan from standing in the english rain.
__________________
N800 / OS2008
Now running Canola-free (by invitation) since 2215 UTC 21 May 2008.
 
Posts: 566 | Thanked: 150 times | Joined on Dec 2007
#10
Originally Posted by lm2 View Post
Sorry, I meant to ask if there was a way to have the WHOLE PAGE rendered at X%, not just the images...???
What do you by 'mean render the page at X%?' Do 'you mean zoom in so that it becomes wider than the screen'? Or just larger fontsize and images but width adjusted to the screen? Latter is explained in the wiki like I said.
 
Reply


 
Forum Jump


All times are GMT. The time now is 12:52.