LESS-Mixins eingeführt, um das Styling der Schriften zu vereinfachen
authorKai Moritz <km@feder-software.de>
Mon, 23 Dec 2013 11:54:33 +0000 (12:54 +0100)
committerKai Moritz <kai@juplo.de>
Tue, 19 Jan 2016 16:45:40 +0000 (17:45 +0100)
src/main/webapp/less/base/footer.less
src/main/webapp/less/base/head.less
src/main/webapp/less/base/navigation.less
src/main/webapp/less/base/typo.less
src/main/webapp/less/variables.less

index 0ee263a..10ba196 100644 (file)
@@ -1,7 +1,6 @@
 #footerlinks
 {
 #footerlinks
 {
-  font-family: 'BPreplay', Helvetica, Arial, sans-serif;
-  font-weight: bold;
+  .bpreplay;
   position: relative;
   margin: 0;
   padding: 0;
   position: relative;
   margin: 0;
   padding: 0;
index 1527e34..b1368ef 100644 (file)
@@ -2,8 +2,7 @@
 
 #header
 {
 
 #header
 {
-  font-family: 'BPreplay', Helvetica, Arial, sans-serif;
-  font-weight: bold;
+  .bpreplay;
 }
 #logo
 {
 }
 #logo
 {
index 58ef0a2..4cfdc9c 100644 (file)
@@ -4,8 +4,7 @@ h2.nav
 #menu,
 #submenu
 {
 #menu,
 #submenu
 {
-  font-family: 'BPreplay', Helvetica, Arial, sans-serif;
-  font-weight: bold;
+  .bpreplay;
   color: @normal;
   margin: .5em 0 1.5em 0;
   padding: 0.25em 0.25em 0.25em 1.5em;
   color: @normal;
   margin: .5em 0 1.5em 0;
   padding: 0.25em 0.25em 0.25em 1.5em;
@@ -40,8 +39,7 @@ h2.nav
 
 #breadcrumb
 {
 
 #breadcrumb
 {
-  font-family: 'BPreplay', Helvetica, Arial, sans-serif;
-  font-weight: bold;
+  .bpreplay;
   color: @normal;
 }
 #breadcrumb strong.b.title
   color: @normal;
 }
 #breadcrumb strong.b.title
index 98cc8ab..2d6c284 100644 (file)
@@ -4,7 +4,7 @@
 
 body
 {
 
 body
 {
-  font-family: 'DroidSerif', 'Times New Roman', 'Palatino Linotype' , serif;
+  .droid;
   letter-spacing: 0;
   line-height: 1.5em;
   padding: 1em 2em 1em 3em;
   letter-spacing: 0;
   line-height: 1.5em;
   padding: 1em 2em 1em 3em;
@@ -12,9 +12,7 @@ body
 }
 h1, h2, h3, h4, h5, h6
 {
 }
 h1, h2, h3, h4, h5, h6
 {
-  font-family: 'BPreplay', Helvetica, Arial, sans-serif;
-  letter-spacing: 0;
-  font-weight: bold;
+  .bpreplay;
   color: @normal;
   margin: 1em 0 .5em 0; /** 16px 0 8px 0 */
 }
   color: @normal;
   margin: 1em 0 .5em 0; /** 16px 0 8px 0 */
 }
index 125f9c1..915003d 100644 (file)
 
 @schrift:     #000;
 @hintergrund: #FFF;
 
 @schrift:     #000;
 @hintergrund: #FFF;
+
+
+/** Schriften */
+
+.droid ()
+{
+  font-family: 'DroidSerif', 'Times New Roman', 'Palatino Linotype' , serif;
+}
+
+.bpreplay ()
+{
+  font-family: 'BPreplay', Helvetica, Arial, sans-serif;
+  font-weight: bold;
+}