page.css 1.4 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;
M
Mr.doob 已提交
14
	tab-size: 4;
15 16 17 18
	overflow: auto;
}

a {
19
	color: #1184CE;
J
Jost Schmithals 已提交
20 21
	cursor: pointer;
	text-decoration: underline;
22 23 24
}

h1 {
25
	color: #333;
26
	font-size: 25px;
27 28
	font-weight: normal;

M
Mr.doob 已提交
29
	margin-top: 10px;
30 31 32
}

h2 {
33
	color: #4B0;
34
	font-size: 18px;
35 36
	font-weight: normal;

37 38 39 40 41 42 43
	margin-top: 40px;
}

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

45
	margin-top: 40px;
46 47 48
}

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

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

pre, code {
	margin-top: 20px;
	margin-bottom: 20px;
}
J
Jost Schmithals 已提交
61

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

G
Greg Tatum 已提交
73 74 75 76 77
iframe {
	width: 100%;
	height: 420px;
	border:0;
}
78 79 80 81 82

th {
	padding: 10px;
	text-decoration: underline;
}
J
Jost Schmithals 已提交
83

84 85 86 87 88 89 90 91 92 93
td {
	text-align: center;
}

table code {
	padding: 2px;
	margin: 0px;
	width: auto;
}

94 95 96 97
strong {
	color: #000;
	font-weight: normal;
}
98 99 100 101 102 103 104 105 106 107 108

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

J
Jost Schmithals 已提交
109
#button:hover {
J
Jost Schmithals 已提交
110 111
	cursor: pointer;
	opacity: 1;
J
Jost Schmithals 已提交
112
}
113 114 115 116

a.permalink {
	float: right;
	margin-left: 5px;
117
}