Schriftgröße für <code>-Tag korrigiert
authorKai Moritz <kai@juplo.de>
Sun, 15 Dec 2013 23:21:08 +0000 (00:21 +0100)
committerKai Moritz <kai@juplo.de>
Tue, 19 Jan 2016 16:45:35 +0000 (17:45 +0100)
Die meisten Browser wählen für <code>-Blöcke eine kleinere Schrift, obwohl
die Schriftgröße im Reset-CSS auf 100% gesetzt wurde.

src/main/webapp/less/base/typo.less

index fa90a6c..98cc8ab 100644 (file)
@@ -100,6 +100,11 @@ pre
 {
   line-height: 1.2em;
 }
 {
   line-height: 1.2em;
 }
+code
+{
+  font-size: 120%; /** Otherwise, the font-size will be 75%, though not specified so anywhere!! */
+  line-height: 1.2em;
+}
 hr
 {
   border: none;
 hr
 {
   border: none;