css/local.css: Pull justification markup out into the style file
authorW. Trevor King <wking@tremily.us>
Sat, 18 Jan 2014 04:47:00 +0000 (20:47 -0800)
committerW. Trevor King <wking@tremily.us>
Sat, 18 Jan 2014 04:47:00 +0000 (20:47 -0800)
Less clutter and more DRY.

css/local.css
index.html

index 70293a80f99bb40a6b3119a51a0ba6dec6e6af75..96cacc16974ab4b6695eec2189319359f6a9bece 100644 (file)
@@ -1,3 +1,8 @@
+.justified, .reveal blockquote {
+       text-align: justify;
+       text-justify: inter-word;
+}
+
 .reveal table thead th {
        text-align: center;
 }
index ba594b85526bf1d44b1e45b223f3375afc1ebd11..72e800265d4a72f685bf970b03070e6460a79e8c 100644 (file)
                                        <section>
                                                <h3>Dark Matter Developers</h3>
 
-                                               <blockquote
-                                                               style="text-align: justify; text-justify: inter-word">
+                                               <blockquote>
                                                        <a href="https://twitter.com/shanselman">
                                                                <img src="media/build/scott-hanselman-tw-th.png"
                                                                                 style="float: right; margin-left: 1.5em" />
                                                                style="float: left; margin-right: 1.5em" >
                                                        <img src="media/build/dancey-ecstasy-hw-fh.png" />
                                                </a>
-                                               <p style="text-align: justify; text-justify: inter-word">
+                                               <p class="justified">
                                                        Other than Googling for things, the majority of
                                                        scientists do not use computers more effectively today
                                                        than they did in 28 years ago.