[3/4] docs: generic.css: font size tweaks

Message ID 340f44510cedfa0be219bcfd523f57e0c5786360.1457575748.git.crobinso@redhat.com
State New
Headers show

Commit Message

Cole Robinson March 10, 2016, 2:12 a.m.
- change font-family to just 'sans-serif' rather than hardcode a few
  font families. this means we abide the user's browser font setting,
  and makes us consistent with other sites like en.wikipedia.org
- raise font-size to 90%. this is what en.wikipedia.org uses.

With these two tweaks, libvirt.org text renders the same as
en.wikipedia.org with fedora firefox out of the box config. Previously
the font on libvirt.org was very small and difficult to read.
---
 docs/generic.css | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.5.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Patch

diff --git a/docs/generic.css b/docs/generic.css
index 52cd392..285e390 100644
--- a/docs/generic.css
+++ b/docs/generic.css
@@ -2,8 +2,8 @@  body {
   margin: 0em;
   padding: 0px;
   color: rgb(0,0,0);
-  font-family: Verdana, Arial, Helvetica, sans-serif;
-  font-size: smaller;
+  font-family: sans-serif;
+  font-size: 90%;
   background: #ffffff;
 }