| Prev |   1   2   3   | Next
maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   userContent.css Edit? (https://talk.maemo.org/showthread.php?t=24752)

lm2 2008-11-04 22:26

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....?

lm2 2008-11-04 22:28

Re: userContent.css Edit?
 
Quote:

Originally Posted by iamthewalrus (Post 239391)
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.

I'd like to know how to have all pages render thus: what they would look like if I were a normal user who opened a page, selected "fit width to view," and then zoomed to 150%.

I realize that the question I just asked Benson is a different question. I'd love an answer to both.

Benson 2008-11-04 22:36

Re: userContent.css Edit?
 
Code:

@-moz-document url-prefix(file:/) {
  body {font-size: 150% !important}
}


lm2 2008-11-04 22:37

Re: userContent.css Edit?
 
Thank you!!!!!!

Benson 2008-11-04 22:41

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...

iamthewalrus 2008-11-04 22:48

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.

YoDude 2008-11-25 15:18

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/) {
    img {display: none !important }
}

@-moz-document url-prefix(http://207.251.86.248) {
    img {width: 100%; height: 100% !important }
}

@-moz-document url-prefix(http://www.6abctogo.com/) {
  body {font-size: 150% !important}
}

@-moz-document url-prefix(http://164.156.16.43/public/) {
    img {width: 100%; height: 100% !important }
}

@-moz-document url-prefix(http://www.ssec.wisc.edu/data/paw/) {
    img {width: 100%; height: 100% !important }
}

@-moz-document url-prefix(http://www.ssec.wisc.edu/data/paw/) {
  body {font-size: 180% !important}
}

@-moz-document url-prefix(http://www.marketwatch.com/m/) {
  body {font-size: 150% !important}
}

@-moz-document url-prefix(http://www.marketwatch.com/m/) {
    img {display: none !important }
}

@-moz-document url-prefix(http://m.reference.com/) {
  body {font-size: 180% !important}
}

@-moz-document url-prefix(http://imode.langtolang.com/) {
  body {font-size: 180% !important}
}

@-moz-document url-prefix(http://sunset.ci.sunnyvale.ca.us/airpac/) {
  body {font-size: 150% !important}
}

@-moz-document url-prefix(http://mobile.usa.gov/) {
  body {font-size: 180% !important}
}

@-moz-document url-prefix(https://mail.google.com/mail/x/) {
  body {font-size: 150% !important}
}

@-moz-document url-prefix(http://lyrics.twilightwap.com/) {
  body {font-size: 180% !important}
}

@-moz-document url-prefix(http://lyrics.twilightwap.com/) {
    img {display: none !important }
}

@-moz-document url-prefix(http://wapedia.mobi/) {
  body {font-size: 180% !important}
}

@-moz-document url-prefix(http://www.google.com/gwt/) {
  body {font-size: 180% !important}
}


@-moz-document url-prefix(http://www.apnews.com/ap/) {
    img {display: none !important }
}


@-moz-document url-prefix(http://m.cnn.com/) {
    img {display: none !important }
}

@-moz-document url-prefix(http://www.hopstop.com/pda) {
  body {font-size: 200% !important}
}

@-moz-document url-prefix(http://www.hopstop.com/pda) {
    img {display: none !important }
}

@-moz-document url-prefix(http://mobile.flightstats.com/) {
  body {font-size: 180% !important}
}


@-moz-document url-prefix(http://mobile.flightstats.com/) {
    img {display: none !important }
}

As you can see, quite a few entries :eek:

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?

YoDude 2009-02-12 13:27

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.

lm2 2009-02-12 14:43

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?

YoDude 2009-02-13 16:00

Re: userContent.css Edit?
 
Quote:

Originally Posted by lm2 (Post 263963)
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?


^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.)


| Prev |   1   2   3   | Next
All times are GMT. The time now is 21:03.

vBulletin® Version 3.8.8