projects
/
website
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
336ae66
)
LESS-Mixins eingeführt, um das Styling der Schriften zu vereinfachen
author
Kai Moritz
<km@feder-software.de>
Mon, 23 Dec 2013 11:54:33 +0000
(12:54 +0100)
committer
Kai Moritz
<kai@juplo.de>
Tue, 19 Jan 2016 16:45:40 +0000
(17:45 +0100)
src/main/webapp/less/base/footer.less
patch
|
blob
|
history
src/main/webapp/less/base/head.less
patch
|
blob
|
history
src/main/webapp/less/base/navigation.less
patch
|
blob
|
history
src/main/webapp/less/base/typo.less
patch
|
blob
|
history
src/main/webapp/less/variables.less
patch
|
blob
|
history
diff --git
a/src/main/webapp/less/base/footer.less
b/src/main/webapp/less/base/footer.less
index
0ee263a
..
10ba196
100644
(file)
--- a/
src/main/webapp/less/base/footer.less
+++ b/
src/main/webapp/less/base/footer.less
@@
-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;
diff --git
a/src/main/webapp/less/base/head.less
b/src/main/webapp/less/base/head.less
index
1527e34
..
b1368ef
100644
(file)
--- a/
src/main/webapp/less/base/head.less
+++ b/
src/main/webapp/less/base/head.less
@@
-2,8
+2,7
@@
#header
{
#header
{
- font-family: 'BPreplay', Helvetica, Arial, sans-serif;
- font-weight: bold;
+ .bpreplay;
}
#logo
{
}
#logo
{
diff --git
a/src/main/webapp/less/base/navigation.less
b/src/main/webapp/less/base/navigation.less
index
58ef0a2
..
4cfdc9c
100644
(file)
--- a/
src/main/webapp/less/base/navigation.less
+++ b/
src/main/webapp/less/base/navigation.less
@@
-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
diff --git
a/src/main/webapp/less/base/typo.less
b/src/main/webapp/less/base/typo.less
index
98cc8ab
..
2d6c284
100644
(file)
--- a/
src/main/webapp/less/base/typo.less
+++ b/
src/main/webapp/less/base/typo.less
@@
-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 */
}
diff --git
a/src/main/webapp/less/variables.less
b/src/main/webapp/less/variables.less
index
125f9c1
..
915003d
100644
(file)
--- a/
src/main/webapp/less/variables.less
+++ b/
src/main/webapp/less/variables.less
@@
-10,3
+10,17
@@
@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;
+}