1
0
mirror of https://github.com/golang/go synced 2024-11-23 09:00:04 -07:00
go/doc
jimmyfrasche d96221f206 doc: make front page video respond to layout changes (1/2)
The videos on the front page are always the same width, regardless of
the viewport width. These changes let the video fill the space given
to its container regardless of layout. It uses the standard hack for
making iframes responsive, but the videos are loaded at random and do
not have uniform aspect ratios so that information is injected into the
DOM using custom properties. If these are not supported, it falls back
to the same layout present before this change.

Note: this change also requires CL 108678 to complete the fix,
though either CL without the other is harmless.

Updates #24997.

Change-Id: I2f93dc21ffe01d99ce0e175e9dd0e3d486fddc9f
Reviewed-on: https://go-review.googlesource.com/108677
Run-TryBot: Andrew Bonventre <andybons@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2018-05-08 19:21:12 +00:00
..
articles doc/articles/wiki: highlight the use of _ warning 2018-02-14 04:54:37 +00:00
codewalk all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
devel doc: document Go 1.10.2 2018-04-30 18:01:00 +00:00
gopher website: recreate 16px and 32px favicon 2016-08-25 15:43:32 +00:00
play doc/play: update URL for concurrent pi 2016-01-06 20:23:21 +00:00
progs net/http,doc: use HTTP status code constants where applicable 2018-02-26 05:04:31 +00:00
asm.html cmd/compile: add softfloat support to mips64{,le} 2018-04-27 14:50:17 +00:00
cmd.html doc: website: changed link for cover 2017-06-18 16:19:31 +00:00
code.html doc: Proper default value for the $GOPATH. 2017-06-28 05:47:47 +00:00
conduct.html doc: remove Sarah Adams from conduct working group contacts 2018-01-25 17:27:24 +00:00
contrib.html doc/contrib.html: fix outdated link 2017-12-11 22:15:38 +00:00
contribute.html doc/contribute.html: adjust wording from previous CL 2018-04-16 22:12:29 +00:00
debugging_with_gdb.html doc: remove interior <code> spaces in debugging, diagnostics docs 2018-01-09 21:48:03 +00:00
diagnostics.html all: restore changes from faulty merge/revert 2018-02-12 20:13:59 +00:00
docs.html doc: fix a sentence position. 2017-11-25 17:06:50 +00:00
editors.html doc/editors: remove feature matrix for various editors/IDEs 2018-02-05 18:37:02 +00:00
effective_go.html doc: make chart.apis.google.com link not clickable 2018-04-26 18:26:06 +00:00
gccgo_contribute.html doc: fix stale gofrontend/gccgo contribution link 2016-09-01 18:38:38 +00:00
gccgo_install.html doc: update GCC release info in gccgo_install 2017-10-03 14:33:14 +00:00
go1.1.html doc: s/tool chain/toolchain/ 2018-01-09 21:47:03 +00:00
go1.2.html doc: s/tool chain/toolchain/ 2018-01-09 21:47:03 +00:00
go1.3.html doc: s/tool chain/toolchain/ 2018-01-09 21:47:03 +00:00
go1.4.html
go1.5.html
go1.6.html doc: GCC 6 will have the Go 1.6.1 user libraries 2016-04-14 20:00:33 +00:00
go1.7.html doc: fix broken links in 1.7 release docs 2016-11-07 18:51:29 +00:00
go1.8.html doc: fix broken link in go1.8.html 2017-02-22 23:51:12 +00:00
go1.9.html doc/1.9: add mention of net/http.LocalAddrContextKey 2017-08-28 19:21:54 +00:00
go1.10.html doc: correct statement in go1.10 release notes 2018-04-23 22:21:48 +00:00
go1.html doc: change anchor URLs from golang.org/dl/ to /dl/ 2018-01-20 04:13:12 +00:00
go1compat.html doc: s/tool chain/toolchain/ 2018-01-09 21:47:03 +00:00
go_faq.html doc: update FAQ on binary sizes 2018-04-30 16:11:15 +00:00
go_mem.html
go_spec.html Revert "doc: remove non-prime from list of primes in spec" 2018-03-19 21:51:23 +00:00
go-logo-black.png
go-logo-blue.png
go-logo-white.png
help.html doc: hide content blocked by GFW when served in CN 2017-09-11 14:59:59 +00:00
ie.css
install-source.html doc: switch from spaces to tabs for indentation in example code 2018-04-11 04:30:47 +00:00
install.html doc: clarify package uninstall/clean command 2018-04-16 19:54:55 +00:00
root.html doc: make front page video respond to layout changes (1/2) 2018-05-08 19:21:12 +00:00
security.html doc: dissuade people from using PGP for security reports 2017-04-17 18:33:08 +00:00
share.png
tos.html