Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(676)

Delta Between Two Patch Sets: doc/style.css

Issue 5571061: code review 5571061: godoc: new design (Closed)
Left Patch Set: diff -r 66559e4f816e https://go.googlecode.com/hg/ Created 13 years, 1 month ago
Right Patch Set: diff -r 6fa9a06da071 https://go.googlecode.com/hg/ Created 13 years, 1 month ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « doc/root.html ('k') | lib/godoc/godoc.html » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 body { 1 body {
2 margin: 0; 2 margin: 0;
3 font-family: Helvetica, Arial, sans-serif; 3 font-family: Helvetica, Arial, sans-serif;
4 font-size: 16px; 4 font-size: 16px;
5 } 5 }
6 pre, code { 6 pre, code {
7 font-family: Menlo, monospace; 7 font-family: Menlo, monospace;
8 font-size: 14px; 8 font-size: 14px;
9 } 9 }
10 body { 10 body {
11 color: #222; 11 color: #222;
12 } 12 }
13 a { 13 a {
14 color: #375EAB; 14 color: #375EAB;
15 text-decoration: none; 15 text-decoration: none;
16 } 16 }
17 p, pre, ul, ol { 17 p, pre, ul, ol {
18 margin: 20px; 18 margin: 20px;
19 } 19 }
20 pre { 20 pre {
21 background: #e9e9e9; 21 background: #e9e9e9;
22 padding: 10px; 22 padding: 10px;
23 23
24 -webkit-border-radius: 5px; 24 -webkit-border-radius: 5px;
25 -moz-border-radius: 5px; 25 -moz-border-radius: 5px;
26 border-radius: 5px; 26 border-radius: 5px;
27 } 27 }
28 28
29 h1, h2, h3, h4 { 29 h1, h2, h3, h4, .rootHeading {
30 margin: 20px 0; 30 margin: 20px 0;
31 padding: 0; 31 padding: 0;
32 color: #375EAB; 32 color: #375EAB;
33 font-weight: bold; 33 font-weight: bold;
34 } 34 }
35 h1 { 35 h1 {
36 font-size: 24px; 36 font-size: 24px;
37 } 37 }
38 h2 { 38 h2 {
39 font-size: 20px; 39 font-size: 20px;
40 background: #E0EBF5;
41 padding: 2px 5px;
40 } 42 }
41 h3 { 43 h3 {
42 font-size: 18px; 44 font-size: 18px;
43 } 45 }
44 h3, h4 { 46 h3, h4 {
45 » margin: 20px 10px; 47 » margin: 20px 5px;
46 } 48 }
47 h4 { 49 h4 {
48 font-size: 16px; 50 font-size: 16px;
49 } 51 }
52 .rootHeading {
53 font-size: 20px;
54 margin: 0;
55 }
50 56
51 h1 a, h2 a, h3 a, h4 a { 57 h1 a, h2 a, h3 a, h4 a {
52 text-decoration: underline; 58 text-decoration: underline;
53 } 59 }
54 60
61 dl {
62 margin: 20px;
63 }
64 dd {
65 margin: 2px 20px;
66 }
55 dl, dd { 67 dl, dd {
56 » margin: 0; 68 » font-size: 14px;
57 » font-size: 14px;
58 » margin: 2px 20px;
59 }
60 #nav {
61 » margin: 0 20px;
62 } 69 }
63 #nav table td { 70 #nav table td {
71 vertical-align: top;
72 }
73
74 table.dir th {
75 text-align: left;
76 }
77 table.dir td {
78 word-wrap: break-word;
64 vertical-align: top; 79 vertical-align: top;
65 } 80 }
66 81
67 #heading { 82 #heading {
68 float: left; 83 float: left;
69 margin: 0 0 10px 0; 84 margin: 0 0 10px 0;
70 padding: 16px 0; 85 padding: 16px 0;
71 font-size: 26px; 86 font-size: 26px;
72 font-weight: normal; 87 font-weight: normal;
73 } 88 }
(...skipping 10 matching lines...) Expand all
84 text-align: center; 99 text-align: center;
85 } 100 }
86 #page, 101 #page,
87 #topbar .container { 102 #topbar .container {
88 clear: both; 103 clear: both;
89 text-align: left; 104 text-align: left;
90 margin-left: auto; 105 margin-left: auto;
91 margin-right: auto; 106 margin-right: auto;
92 width: 900px; 107 width: 900px;
93 } 108 }
109 #plusone {
110 float: right;
111 }
112 #plusoneRoot {
113 float: right;
114 }
94 115
95 #copyright { 116 #copyright {
96 color: #666; 117 color: #666;
97 font-size: 14px; 118 font-size: 14px;
98 margin: 40px 0; 119 margin: 40px 0;
99 } 120 }
100 121
101 #menu > a, 122 #menu > a,
102 #menu > input, 123 #menu > input,
103 #learn .buttons a, 124 #learn .buttons a,
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 #left { 172 #left {
152 float: left; 173 float: left;
153 } 174 }
154 #right { 175 #right {
155 float: right; 176 float: right;
156 } 177 }
157 #left, #right { 178 #left, #right {
158 width: 415px; 179 width: 415px;
159 } 180 }
160 181
161 /*
162 .learncol { width: 560px !important; }
163 .aboutcol { width: 285px !important; }
164 */
165
166 #learn, 182 #learn,
167 #about { 183 #about {
168 padding-top: 20px; 184 padding-top: 20px;
169 } 185 }
170 #learn h2, 186 #learn h2,
171 #about { 187 #about {
172 margin: 0; 188 margin: 0;
173 } 189 }
174 #about { 190 #about {
175 font-size: 20px; 191 font-size: 20px;
176 } 192 }
177 193
178 #about { 194 #about {
179 » height: 85px; 195 » height: 96px;
180 } 196 }
181 #gopher { 197 #gopher {
182 » background: url(/doc/gopher.png) no-repeat; 198 » background: url(/doc/gopher/frontpage.png) no-repeat;
183 background-position: center top; 199 background-position: center top;
184 » height: 165px; 200 » height: 155px;
185 } 201 }
186 #start { 202 #start {
187 display: block; 203 display: block;
188 padding: 10px; 204 padding: 10px;
189 205
190 text-align: center; 206 text-align: center;
191 text-decoration: none; 207 text-decoration: none;
192 208
193 -webkit-border-radius: 5px; 209 -webkit-border-radius: 5px;
194 -moz-border-radius: 5px; 210 -moz-border-radius: 5px;
(...skipping 24 matching lines...) Expand all
219 -moz-border-radius-topleft: 5px; 235 -moz-border-radius-topleft: 5px;
220 -moz-border-radius-topright: 5px; 236 -moz-border-radius-topright: 5px;
221 border-top-left-radius: 5px; 237 border-top-left-radius: 5px;
222 border-top-right-radius: 5px; 238 border-top-right-radius: 5px;
223 } 239 }
224 #learn .input textarea { 240 #learn .input textarea {
225 width: 100%; 241 width: 100%;
226 height: 100%; 242 height: 100%;
227 border: none; 243 border: none;
228 outline: none; 244 outline: none;
245 resize: none;
229 } 246 }
230 #learn .output { 247 #learn .output {
231 » border-top: 1px solid #375EAB; 248 » border-top: none !important;
232 249
233 padding: 10px; 250 padding: 10px;
234 height: 59px; 251 height: 59px;
235 overflow: auto; 252 overflow: auto;
236 253
237 -webkit-border-bottom-right-radius: 5px; 254 -webkit-border-bottom-right-radius: 5px;
238 -webkit-border-bottom-left-radius: 5px; 255 -webkit-border-bottom-left-radius: 5px;
239 -moz-border-radius-bottomright: 5px; 256 -moz-border-radius-bottomright: 5px;
240 -moz-border-radius-bottomleft: 5px; 257 -moz-border-radius-bottomleft: 5px;
241 border-bottom-right-radius: 5px; 258 border-bottom-right-radius: 5px;
242 border-bottom-left-radius: 5px; 259 border-bottom-left-radius: 5px;
243 } 260 }
244 #learn .output pre { 261 #learn .output pre {
245 padding: 0; 262 padding: 0;
246 263
247 -webkit-border-radius: 0; 264 -webkit-border-radius: 0;
248 -moz-border-radius: 0; 265 -moz-border-radius: 0;
249 border-radius: 0; 266 border-radius: 0;
250 } 267 }
251 #learn .input, 268 #learn .input,
252 #learn .input textarea, 269 #learn .input textarea,
253 #learn .output, 270 #learn .output,
254 #learn .output pre { 271 #learn .output pre {
255 » background: #E0EBF5; 272 » background: #FFFFD8;
273 }
274 #learn .input,
275 #learn .output {
276 » border: 1px solid #375EAB;
256 } 277 }
257 #learn .buttons { 278 #learn .buttons {
258 padding: 20px 0 10px 0; 279 padding: 20px 0 10px 0;
259 text-align: right; 280 text-align: right;
260 } 281 }
261 #learn .buttons a { 282 #learn .buttons a {
262 height: 16px; 283 height: 16px;
263 margin-left: 5px; 284 margin-left: 5px;
264 285
265 padding: 10px; 286 padding: 10px;
(...skipping 24 matching lines...) Expand all
290 } 311 }
291 #blog .read { 312 #blog .read {
292 text-align: right; 313 text-align: right;
293 } 314 }
294 315
295 .exampleHeading { cursor: pointer; } 316 .exampleHeading { cursor: pointer; }
296 .example .collapsed { display: block; } 317 .example .collapsed { display: block; }
297 .example .expanded { display: none; } 318 .example .expanded { display: none; }
298 .exampleVisible .collapsed { display: none; } 319 .exampleVisible .collapsed { display: none; }
299 .exampleVisible .expanded { display: block; } 320 .exampleVisible .expanded { display: block; }
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b