projects
/
website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LESS-Mixins eingeführt, um das Styling der Schriften zu vereinfachen
[website]
/
src
/
main
/
webapp
/
less
/
base
/
typo.less
diff --git
a/src/main/webapp/less/base/typo.less
b/src/main/webapp/less/base/typo.less
index
1403333
..
2d6c284
100644
(file)
--- a/
src/main/webapp/less/base/typo.less
+++ b/
src/main/webapp/less/base/typo.less
@@
-1,27
+1,19
@@
/** Typografische Grundeinstellungen ******************************************/
/** Typografische Grundeinstellungen ******************************************/
-/** Farben:
- * 1: 0ACF00 Normal
- * 2: 2D9B27
- * 3: 078600 Dunkler
- * 4: 42E73A Heller
- * 5: 6EE768
- */
+@import '../variables.less';
body
{
body
{
-
font-family: 'DroidSerif', 'Times New Roman', 'Palatino Linotype' , serif
;
+
.droid
;
letter-spacing: 0;
line-height: 1.5em;
letter-spacing: 0;
line-height: 1.5em;
- padding: 1em
3em 1em 5
em;
- background-color:
#fff
;
+ padding: 1em
2em 1em 3
em;
+ background-color:
@hintergrund
;
}
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;
- color: #0ACF00;
+ .bpreplay;
+ color: @normal;
margin: 1em 0 .5em 0; /** 16px 0 8px 0 */
}
h1
margin: 1em 0 .5em 0; /** 16px 0 8px 0 */
}
h1
@@
-34,7
+26,6
@@
h1
h2
{
font-size: 112.5%; /** 18px */
h2
{
font-size: 112.5%; /** 18px */
- line-height: 1.5em; /** 27px */
}
h3
{
}
h3
{
@@
-44,11
+35,10
@@
h3
h4
{
font-size: 87.5%; /** 14px */
h4
{
font-size: 87.5%; /** 14px */
- line-height: 1.5em; /** 21px */
}
h1 a, h2 a, h3 a, h4 a
{
}
h1 a, h2 a, h3 a, h4 a
{
- color:
#0ACF00
;
+ color:
@normal
;
border-style: none;
}
h1 a:hover,
border-style: none;
}
h1 a:hover,
@@
-56,8
+46,8
@@
h2 a:hover,
h3 a:hover,
h4 a:hover
{
h3 a:hover,
h4 a:hover
{
- color:
#078600
;
- border-bottom: 1px solid
#078600
;
+ color:
@dunkler
;
+ border-bottom: 1px solid
@dunkler
;
}
h1 a:focus,
h2 a:focus,
}
h1 a:focus,
h2 a:focus,
@@
-68,12
+58,11
@@
h2 a:active,
h3 a:active,
h4 a:active
{
h3 a:active,
h4 a:active
{
- color:
#2D9B27
;
- border-bottom: 1px solid
#2D9B27
;
+ color:
@dunkel
;
+ border-bottom: 1px solid
@dunkel
;
}
p
{
}
p
{
- line-height: 1.5em; /** 21px */
margin: .5em 0 .5em 0;
}
ul, ol
margin: .5em 0 .5em 0;
}
ul, ol
@@
-105,28
+94,41
@@
th, td
border: .071428571em solid #000; /** 1px */
padding: .214285714em .5em; /** 3px 7px */
}
border: .071428571em solid #000; /** 1px */
padding: .214285714em .5em; /** 3px 7px */
}
+pre
+{
+ 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
{
hr
{
+ border: none;
+ border-top: 2px solid @normal;
+ background-color: @normal;
+ height: 1px;
margin: 1em 0 1em 0;
}
a
{
margin: 1em 0 1em 0;
}
a
{
- color:
#078600
;
- border-bottom: 1px dashed
#078600
;
+ color:
@dunkler
;
+ border-bottom: 1px dashed
@dunkler
;
}
a:hover
{
}
a:hover
{
- color:
#077600
;
- border-bottom: 1px solid
#077600
;
+ color:
@nochdunkler
;
+ border-bottom: 1px solid
@nochdunkler
;
}
a:focus,
a:active
{
}
a:focus,
a:active
{
- color:
#078600
;
- border-bottom: 1px solid
#078600
;
+ color:
@dunkler
;
+ border-bottom: 1px solid
@dunkler
;
}
a:visited
{
}
a:visited
{
- border-bottom: 1px dotted
#077600
;
+ border-bottom: 1px dotted
@nochdunkler
;
}
}