SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2015-06-27 13:27:33

twoion
Emerald Caffeine
From: 星界
Registered: 2012-05-11
Posts: 1,648

Firefox/Iceweasel reader mode: How to change the font families

Helvetica,Arial,sans-serif

Last edited by twoion (2015-06-27 13:29:02)

Offline

Be excellent to each other!

#2 2015-06-27 14:05:49

cpoakes
#! CrunchBanger
From: Tucson, Arizona
Registered: 2012-05-19
Posts: 202

Re: Firefox/Iceweasel reader mode: How to change the font families

Not only thanks for the tip, but thanks for introducing me to this groovy feature.


programming and administering unix since 1976 (BSD, System III, Xenix, System V, Linux)

Offline

#3 2015-06-27 14:08:48

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: Firefox/Iceweasel reader mode: How to change the font families

Offline

#4 2015-08-28 04:43:46

ssray23
New Member
Registered: 2015-08-28
Posts: 6

Re: Firefox/Iceweasel reader mode: How to change the font families

Last edited by ssray23 (2015-08-28 04:46:00)

Offline

#5 2015-08-28 15:12:09

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: Firefox/Iceweasel reader mode: How to change the font families

body.serif {
    line-height: "10px" !important;
    color: "blue" !important;
  }

Offline

#6 2015-08-28 16:14:13

ssray23
New Member
Registered: 2015-08-28
Posts: 6

Re: Firefox/Iceweasel reader mode: How to change the font families

@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document url-prefix("about:reader") {
  body.serif {
    font-family: "Times New Roman" !important;
  }
  body.sans-serif {
    font-family: "Helvetica Neue LT" !important; 
    line-height: "10px" !important;
    color: "blue" !important;
  }
}

Offline

#7 2015-08-28 16:59:30

twoion
Emerald Caffeine
From: 星界
Registered: 2012-05-11
Posts: 1,648

Re: Firefox/Iceweasel reader mode: How to change the font families

^ numeric values with units are not to be quoted, and built-in colour names are constants and not to be quoted either.

line-height: 10px !important;
color: blue !important;

Offline

#8 2015-08-28 17:20:07

ssray23
New Member
Registered: 2015-08-28
Posts: 6

Re: Firefox/Iceweasel reader mode: How to change the font families

Offline

#9 2015-08-28 17:37:31

flaneur
#! Member
Registered: 2014-01-24
Posts: 99

Re: Firefox/Iceweasel reader mode: How to change the font families

@-moz-document url-prefix("about:reader") {
  * {
    line-height: 10px !important;
  }
}

Last edited by flaneur (2015-08-28 17:42:45)

Offline

#10 2015-08-28 17:51:55

ssray23
New Member
Registered: 2015-08-28
Posts: 6

Re: Firefox/Iceweasel reader mode: How to change the font families

@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document url-prefix("about:reader") {
  * {
    line-height: 120% !important;
  }
  body.serif {
    font-family: "Times New Roman" !important;
    line-height: 100% !important;
    color: rgb(38,38,38) !important;
  }
  body.sans-serif {
    font-family: "Helvetica Neue LT" !important; 
    line-height: 100% !important;
    color: rgb(38,38,38) !important;
  }
}

Offline

#11 2015-08-28 21:04:54

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: Firefox/Iceweasel reader mode: How to change the font families

Offline

#12 2015-08-29 04:24:13

ssray23
New Member
Registered: 2015-08-28
Posts: 6

Re: Firefox/Iceweasel reader mode: How to change the font families

Below is the final working version of my css after cleaning up redundant lines from the previous version of the code:

@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document url-prefix("about:reader") {
  * {
    line-height: 120% !important;
    color: rgb(38,38,38) !important;
  }
  body.serif {
    font-family: "Times New Roman" !important; 
  }
  body.sans-serif {
    font-family: "Helvetica Neue LT" !important; 
  }
}

Thanks,
S Ray

Offline

#13 2015-08-29 04:28:52

flaneur
#! Member
Registered: 2014-01-24
Posts: 99

Re: Firefox/Iceweasel reader mode: How to change the font families

Last edited by flaneur (2015-08-29 04:48:56)

Offline

#14 2015-10-28 07:38:31

ssray23
New Member
Registered: 2015-08-28
Posts: 6

Re: Firefox/Iceweasel reader mode: How to change the font families

@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document url-prefix("about:reader") {
  * {
    line-height: 117% !important;
    color: #262626 !important; 
  }
  body.serif {
    font-family: "Times New Roman" !important; 
  }
  body.sans-serif {
    font-family: "Helvetica Neue LT" !important; 

  }
}

Offline

#15 2015-10-28 09:45:26

vic
#! by Default
From: /grill
Registered: 2009-02-13
Posts: 3,361

Re: Firefox/Iceweasel reader mode: How to change the font families


Time to move on!#

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh

Debian Logo