CSS: Don't override font-weight for section
authorFlorian Haas <florian@hastexo.com>
Wed, 30 Oct 2013 13:34:27 +0000 (14:34 +0100)
committerFlorian Haas <florian@hastexo.com>
Thu, 7 Nov 2013 16:39:34 +0000 (00:39 +0800)
.slides>section and .slides>section>section set the font-weight to
"normal". This overrides any font-weight setting a theme may set at
the body or .reveal level, and requires a theme author to also
specifically set the font-weight for .slides>section and
.slides>section>section. That's tedious and also counterintuitive.

Adopt a saner default by setting the font-weight to inherit.

css/reveal.css

index 7f1dd74a0b9812c46171583c15e553385bb52535..d03409bacff0b6bed7167aeb3a7e4104d8726369 100644 (file)
@@ -530,7 +530,7 @@ body {
 
        z-index: 10;
        line-height: 1.2em;
-       font-weight: normal;
+       font-weight: inherit;
 
        -webkit-transform-style: preserve-3d;
           -moz-transform-style: preserve-3d;