]> juplo.de Git - website/commitdiff
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 0ee263a55eb33c3de68f9e3bf8c358e341dcffc4..10ba19678075a22f19b633e854b60ef6b2b38e24 100644 (file)
@@ -1,7 +1,6 @@
 #footerlinks
 {
-  font-family: 'BPreplay', Helvetica, Arial, sans-serif;
-  font-weight: bold;
+  .bpreplay;
   position: relative;
   margin: 0;
   padding: 0;
index 1527e34247329afedf2d693d75a4d51200538b9a..b1368efa585ae2ba7aabad1efc09f1260fc5d1f1 100644 (file)
@@ -2,8 +2,7 @@
 
 #header
 {
-  font-family: 'BPreplay', Helvetica, Arial, sans-serif;
-  font-weight: bold;
+  .bpreplay;
 }
 #logo
 {
index 58ef0a2a4d1c555d0199e8b5e17ab1cf60a41e00..4cfdc9c75e526a81ebc8d7fda839529458a3bda0 100644 (file)
@@ -4,8 +4,7 @@ h2.nav
 #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;
@@ -40,8 +39,7 @@ h2.nav
 
 #breadcrumb
 {
-  font-family: 'BPreplay', Helvetica, Arial, sans-serif;
-  font-weight: bold;
+  .bpreplay;
   color: @normal;
 }
 #breadcrumb strong.b.title
index 98cc8ab9b41dee7af131e6447881b6559034b225..2d6c284888489ecd9455f7e7ff54328267cd0071 100644 (file)
@@ -4,7 +4,7 @@
 
 body
 {
-  font-family: 'DroidSerif', 'Times New Roman', 'Palatino Linotype' , serif;
+  .droid;
   letter-spacing: 0;
   line-height: 1.5em;
   padding: 1em 2em 1em 3em;
@@ -12,9 +12,7 @@ body
 }
 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 */
 }
index 125f9c1ee619c0832ab165cee97b1d7aac4ce7a3..915003db2b6d1867b7f6e010fc38383ca5a2797b 100644 (file)
 
 @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;
+}