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
431fe57
..
2d6c284
100644
(file)
--- a/
src/main/webapp/less/base/typo.less
+++ b/
src/main/webapp/less/base/typo.less
@@
-4,17
+4,15
@@
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;
+ padding: 1em
2em 1em 3
em;
background-color: @hintergrund;
}
h1, h2, h3, h4, h5, h6
{
background-color: @hintergrund;
}
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 */
}
@@
-28,7
+26,6
@@
h1
h2
{
font-size: 112.5%; /** 18px */
h2
{
font-size: 112.5%; /** 18px */
- line-height: 1.5em; /** 27px */
}
h3
{
}
h3
{
@@
-38,7
+35,6
@@
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
{
@@
-67,7
+63,6
@@
h4 a:active
}
p
{
}
p
{
- line-height: 1.5em; /** 21px */
margin: .5em 0 .5em 0;
}
ul, ol
margin: .5em 0 .5em 0;
}
ul, ol
@@
-99,6
+94,15
@@
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
{
border: none;
hr
{
border: none;