page.css 1.7 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
p, ul, ol {
49 50 51 52 53
	margin-top: 0;
	margin-bottom: 20px;
	max-width: 780px;
}

54
div {
55
	/* padding-left: 30px; */
56 57 58
	margin-bottom: 20px;
}

59
.desc {
60 61 62 63 64 65 66
	padding-left: 0px;
}

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

68 69 70 71 72 73
code {
	display: block;
	width: -webkit-calc( 100% - 40px );
	width: -moz-calc( 100% - 40px );
	width: calc( 100% - 40px );
	padding: 20px;
O
OpenShift guest 已提交
74
	white-space: pre-wrap;
75 76 77 78
	background-color: #f9f9f9;
	overflow: auto;
}

G
Greg Tatum 已提交
79 80 81 82 83
iframe {
	width: 100%;
	height: 420px;
	border:0;
}
84 85 86 87 88

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

90 91 92 93 94 95 96 97 98 99
td {
	text-align: center;
}

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

100 101 102 103
strong {
	color: #000;
	font-weight: normal;
}
104 105 106 107 108 109 110 111 112 113 114

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

J
Jost Schmithals 已提交
115
#button:hover {
J
Jost Schmithals 已提交
116 117
	cursor: pointer;
	opacity: 1;
J
Jost Schmithals 已提交
118
}
119 120 121 122

a.permalink {
	float: right;
	margin-left: 5px;
123
}
124 125 126 127 128 129 130 131

a.param,
span.param {
	color: #999;
}

a.param:hover {
	color: #777;
132
}
D
Don McCurdy 已提交
133 134 135 136 137 138 139 140 141 142

sup, sub {
	/* prevent superscript and subscript elements from affecting line-height */
  vertical-align: baseline;
  position: relative;
  top: -0.4em;
}
sub {
  top: 0.4em;
}