aboutsummaryrefslogtreecommitdiffstats
path: root/assets/less/docs.less
blob: 23814f8bcb806c1e3e77ed980403fb5966bd604a (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
// ==========================================================================
// HTML5 Video Player Demo Page
// ==========================================================================

// Reset
@import "lib/normalize.less";
// Mixins
@import "lib/mixins.less";

@font-face {
	font-family: "Avenir";
	src: 	url("../../assets/fonts/AvenirLTStd-Medium.woff2") format("woff2"), 
			url("../../assets/fonts/AvenirLTStd-Medium.woff") format("woff"), 
			url("../../assets/fonts/AvenirLTStd-Medium.ttf")  format("truetype");
	font-style:   normal;
	font-weight:  400;
}

@font-face {
	font-family: "Avenir";
	src: 	url("../../assets/fonts/AvenirLTStd-Heavy.woff2") format("woff2"), 
			url("../../assets/fonts/AvenirLTStd-Heavy.woff") format("woff"), 
			url("../../assets/fonts/AvenirLTStd-Heavy.ttf")  format("truetype");
	font-style:   normal;
	font-weight:  600;
}

// BORDER-BOX ALL THE THINGS! 
// http://paulirish.com/2012/box-sizing-border-box-ftw/
*, *::after, *::before {  
	box-sizing: border-box; 
}
html {
	font-size: 62.5%;
}
body {
	font-family: "Avenir", "Helvetica Neue", Helvetica, Arial, sans-serif;
	.font-size(18);
	color: #6D797F;
	line-height: 1.5;
	background: #fff;
	text-align: center;
}
h1 {
	.font-size(48);
	letter-spacing: -.025em;
	color: #2E3C44;
	margin: 0 0 10px;
	line-height: 1.2;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
p {
	margin: 0 0 20px;
}
header {
	margin: 40px 0;
}

.example-audio .player,
.example-video .player {
	margin: 0 auto;

	&:fullscreen {
		max-width: none;
	}
}
.example-audio .player {
	max-width: 480px;
}
.example-video .player {
	max-width: 1200px;
}