commit | 36da86b3f128315a7a2bb8af286aa1d2afe4cf8a | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@golang.org> | Wed Nov 17 14:12:38 2021 -0500 |
committer | Russ Cox <rsc@golang.org> | Mon Nov 22 16:39:59 2021 +0000 |
tree | c6a0c22367c6d3cc916dd570e49e4ffc407a0bee | |
parent | 17652410950eee5403eb3f071027a84b3a647b9b [diff] |
go.dev/_content/css: move header bar to edges of page, like footer Right now the header is constrained to the middle 75.75em of the page. That lines up nicely when content is also limited to the middle 75.75em, but some pages will want to allow a wider viewport, and then it looks weird to have the content starting to the left of the Go logo and continuing past the right of the tabs. Let the header expand to the left and right sides of the page (up to a margin on wider devices), just like the footer. Change-Id: Ic667ec8d23dfb06ab6c532caad6b507dd5ce6fe5 Reviewed-on: https://go-review.googlesource.com/c/website/+/364814 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org>
This repo holds content and serving programs for the golang.org and go.dev web sites.
Content is in _content/ (golang.org), go.dev/_content/ (go.dev), and tour/ (tour.golang.org). Server code is in cmd/ and internal/.
To run the combined golang.org+go.dev server to preview local content changes, use:
go run ./cmd/golangorg
The supporting programs cmd/admingolangorg and cmd/googlegolangorg are the servers for admin.golang.org and google.golang.org. (They do not use the _content/ directories.)
Each command directory has its own README.md explaining deployment.
This repository uses prettier to format JS and CSS files.
The version of prettier
used is 1.18.2.
It is encouraged that all JS and CSS code be run through this before submitting a change. However, it is not a strict requirement enforced by CI.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the website repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/website:” in the subject line, so it is easy to find.