page.css 1.1 KB
Newer Older
M
Mr.doob 已提交
1 2 3 4 5 6 7
@font-face {
	font-family: 'inconsolata';
	src: url('files/inconsolata.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

8
body {
M
Mr.doob 已提交
9
	margin: 30px 20px;
10
	color: #555;
M
Mr.doob 已提交
11
	font-family: 'inconsolata';
12
	font-size: 15px;
13
	line-height: 18px;
14 15 16 17
	overflow: auto;
}

a {
18
	color: #1184CE;
19 20 21
}

h1 {
22
	color: #333;
23
	font-size: 25px;
24 25
	font-weight: normal;

M
Mr.doob 已提交
26
	margin-top: 10px;
27 28 29
}

h2 {
30
	color: #4B0;
31
	font-size: 18px;
32 33
	font-weight: normal;

34 35 36 37 38 39 40
	margin-top: 40px;
}

h3 {
	color: #000;
	font-size: 16px;
	font-weight: normal;
41 42

	margin-top: 30px;
43 44 45
}

div {
46
	/* padding-left: 30px; */
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
	margin-bottom: 20px;
}

div.desc {
	padding-left: 0px;
}

pre, code {
	margin-top: 20px;
	margin-bottom: 20px;
}
code {
	display: block;
	width: -webkit-calc( 100% - 40px );
	width: -moz-calc( 100% - 40px );
	width: calc( 100% - 40px );
	padding: 20px;
O
OpenShift guest 已提交
64
	white-space: pre-wrap;
65 66 67 68
	background-color: #f9f9f9;
	overflow: auto;
}

69 70 71 72
strong {
	color: #000;
	font-weight: normal;
}
73 74 75 76 77 78 79 80 81 82 83 84 85 86

#button {
	position: fixed;
	top: 20px;
	right: 20px;
	padding: 8px;
	color: #fff;
	background-color: #555;
	opacity: 0.5;
}

	#button:hover {
		cursor: pointer;
		opacity: 1;
87
	}