aboutsummaryrefslogtreecommitdiff
path: root/mod/less/vendors/lessphp/tests/inputs/font_family.less
blob: c7186b57b3e2c2e1b6df03dcdb174bf2b9ba2bf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
@font-directory: 'fonts/';
@some-family: Gentium;

@font-face: maroon; // won't collide with @font-face { } 

@font-face {
	font-family: Graublau Sans Web;
	src: url(@{font-directory}GraublauWeb.otf) format("opentype");
}

@font-face {
  font-family: @some-family;
  src: url('@{font-directory}Gentium.ttf');
}
 
@font-face {
  font-family: @some-family;
  src: url("@{font-directory}GentiumItalic.ttf");
  font-style: italic;
}

h2 { 
	font-family: @some-family;
	crazy: @font-face;
}