aboutsummaryrefslogtreecommitdiff
path: root/_content/css
AgeCommit message (Collapse)Author
2026-03-11_content/blog: add post on the source-level inlinerAlan Donovan
To preview, download this CL and run: $ go run ./cmd/golangorg --gopls & $ open http://localhost:6060/go.dev/blog/inliner Change-Id: I0ae552feda02e82da397aacdf63a9178e3e07e9c Reviewed-on: https://go-review.googlesource.com/c/website/+/753760 Auto-Submit: Alan Donovan <adonovan@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Austin Clements <austin@google.com>
2025-07-29_content/css: style tables produced from markdownAlan Donovan
We emit a <div class=markdown> around the whole output of goldmark, so that CSS style rules can easily select them (without affecting HTML tables in the spec, for example). The default style for markdown tables now has thin grey lines, grey headings, and a little padding. Also, remove the FS middleware used to inject default.tmpl into x/tools/gopls/doc, since that file is now actually present. And add it to the fake data at _content/gopls/doc. Fixes golang/go#67368 Change-Id: If91e702c394d73a181bd780711e8be6f661f2e59 Reviewed-on: https://go-review.googlesource.com/c/website/+/691616 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Auto-Submit: Alan Donovan <adonovan@google.com>
2025-06-09_content/css: fix editor's scroll on playgroundNikita Shoshin
Use "display: flex" to account for the height of the "Press Esc to move..." banner when calculating the height of the editor. This fixes the bug that prevented users from scrolling to the end of the text. Fixes golang/go#63237 Change-Id: I1d4c196d9b3170d766ffdd0df779c5e693a6ed5a GitHub-Last-Rev: 77278635b3e79f13310434c99ca07dfff97b3b8d GitHub-Pull-Request: golang/website#323 Reviewed-on: https://go-review.googlesource.com/c/website/+/679035 Reviewed-by: Sean Liao <sean@liao.dev> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Auto-Submit: Sean Liao <sean@liao.dev>
2025-04-19_content: show anchor links when hovering over article headersTzu-Chien Yu
Previously, users had to hover directly over the ¶ symbol to reveal the anchor link, making it difficult to discover its existence. This change updates the CSS to also display the anchor link when hovering over the entire header text, improving usability. Fixes golang/go#70827 Change-Id: I179bba16affc5dc79bb99dd74d6ea3ac7c2f375e GitHub-Last-Rev: ebcdebd4c209d8cf6c99d47c95a0e587e850551b GitHub-Pull-Request: golang/website#318 Reviewed-on: https://go-review.googlesource.com/c/website/+/663875 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Sean Liao <sean@liao.dev> Reviewed-by: Sean Liao <sean@liao.dev> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: David Chase <drchase@google.com>
2024-09-05_content/css: color of buttons and links, in auto (dark) themeDeleplace
Fixes golang/go#69215 Change-Id: I708e7af6790969444afc0527775643d4c42c90c3 Reviewed-on: https://go-review.googlesource.com/c/website/+/611155 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Hyang-Ah Hana Kim <hyangah@gmail.com>
2024-07-25_content: add anchor links to article headersHana (Hyang-Ah) Kim
These anchor links allow users to copy the links for jumping tos the specific sections easily. We use javascript to add these links to handle both .html and .md file format contents. If we had only markdown-based contents, we could've adjusted the markdown-to-html renderer instead of relying on javascript. Alternatively, we can try to rewrite the html in a later pass, but html dom query and rewrite is simpler in JS. In order to minimize styling changes in the header text, we set up the anchor on ¶ symbol that appears only on hover. This is similar to how pkg.go.dev handles header anchor links. Adjust the code for TOC generation (in godocs.js), since now the heading elements include ¶, we want to drop it but use the first part of the heading elements when compiling TOC. Fixes golang/go#68596 Change-Id: Idfe4734c54c636e426b579fdcd697156e87b5747 Reviewed-on: https://go-review.googlesource.com/c/website/+/601055 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-05-07blog/chacha8rand: give perf graphs a white backgroundRuss Cox
They have black text and black on very dark gray doesn't look that great in dark mode (although it does seem in keeping with the gestalt of dark mode). Also fix coloring of links containing <code> text, by removing color override for <code>. Otherwise only the non-code parts of the links shows up blue, which is very confusing, like in <a><code>math/rand</code>'s <code>Read</code></a> where only the 's shows up blue. Change-Id: I345fd1ffaaa7e20804b31adcdab8d3d3d4acb924 Reviewed-on: https://go-review.googlesource.com/c/website/+/583835 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Roland Shoemaker <roland@golang.org>
2024-01-17_content/css: set img max width to 100%Hana (Hyang-Ah) Kim
Fixes golang/go#65139 Change-Id: I9284fb5d2aae5f4dcff2e422f163381aa19fdb09 Reviewed-on: https://go-review.googlesource.com/c/website/+/556416 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2023-12-15_content: serve wiki pages on go.devRuss Cox
The wiki pages have been copied to go.googlesource.com/wiki and will be code reviewed using Gerrit, like other Go repos. Unlike other Go repos, self-review will be permitted, and there is no requirement for Googlers to be involved to make a change. These relaxations are possible because the wiki has no production code. The set of wiki +2'ers is a superset of the usual code +2'ers. Fixes golang/go#61940. Change-Id: I01823720091fbaa24e95e9c82abeaadba867a17c Reviewed-on: https://go-review.googlesource.com/c/website/+/518297 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2023-10-13_content: add Go fonts back for go.dev/blog/go-fontsRuss Cox
go.dev/blog/go-fonts is meant to render using the Go fonts, but in the move from x/blog to x/website, I dropped those files accidentally, because they were in _static instead of _content. Bring them back, properly linked from the fonts blog post. Change-Id: Ia96b12df95f968357c87d8423d4ca9eb76a83f9e Reviewed-on: https://go-review.googlesource.com/c/website/+/534858 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Russ Cox <rsc@golang.org> Reviewed-by: Eli Bendersky <eliben@google.com>
2023-08-09_content: make "Press Esc to move out of the editor" message stop flickeringRuss Cox
It's distracting to have this "Press Esc to move out of the editor" message flicker on and off as focus shifts around the pages, especially since it moves everything else up and down. Make the message permanent and unobtrusive instead. Change-Id: Iabe7a723f01ff2b54c49b3ef1214a1787b2751cd Reviewed-on: https://go-review.googlesource.com/c/website/+/517695 Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Prudhvi Krishna Chintala <prudhvikrishna@google.com> Reviewed-by: Jamal Carvalho <jamal@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org>
2023-08-07_content/css: fix for icon to appear in High Contrast Light Modeprudhvikrishna
https://screencast.googleplex.com/cast/NTUwNDM3ODE0NzQzODU5Mnw3ZDI4OTZhMy03ZA Change-Id: Id0b179d91b9a099adc2af28ffa18b7eaa68b8508 Reviewed-on: https://go-review.googlesource.com/c/website/+/506677 Run-TryBot: Jamal Carvalho <jamal@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org>
2023-07-28_content: fix for links to have underline on keyboard focusprudhvikrishna
Change-Id: I373e92ffe1f245eb0bd5b696d9885fe290f1b326 Reviewed-on: https://go-review.googlesource.com/c/website/+/506676 Run-TryBot: Jamal Carvalho <jamal@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Prudhvi Krishna Chintala <prudhvikrishna@google.com> Auto-Submit: Jamal Carvalho <jamal@golang.org>
2023-07-28_content/css: provide fix for text to meet the color contrastprudhvikrishna
requirements https://screenshot.googleplex.com/8RiRhFfeua2HQM8.png https://screenshot.googleplex.com/fTHSYz3NnJ7YPDN.png Change-Id: I04d00b4468e93f93ea418cb11df01976b150fb80 Reviewed-on: https://go-review.googlesource.com/c/website/+/506375 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org> Run-TryBot: Jamal Carvalho <jamal@golang.org> Auto-Submit: Jamal Carvalho <jamal@golang.org>
2023-07-20_content: provide keyboard shortcut to avoid focus trap.prudhvikrishna
added 'Esc' key as shortcut to avoid focus trap for code editor in go website. https://screencast.googleplex.com/cast/NjM1MDM3ODI1MDUzNDkxMnwyMDllNGZlNi0yZA Change-Id: I291505a335ddaa04fc440d2d3052e6b9a891f86f Reviewed-on: https://go-review.googlesource.com/c/website/+/510875 Reviewed-by: Jamal Carvalho <jamal@golang.org> Run-TryBot: Jamal Carvalho <jamal@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Jamal Carvalho <jamal@golang.org>
2023-07-17_content: provide skiplink to go websiteprudhvikrishna
added skiplink to skip over the navigation and header elements of the page and go directly to the main content. https://screencast.googleplex.com/cast/NjUzMzAxNTk2MzQzNTAwOHxmYjc5NGE4OS1iMQ Change-Id: I58271abacfcd80a2e996e83c6ad7611711989e92 Reviewed-on: https://go-review.googlesource.com/c/website/+/508975 Auto-Submit: Jamal Carvalho <jamal@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org> Run-TryBot: Jamal Carvalho <jamal@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org>
2023-07-12_content: fix heading level hierarchyprudhvikrishna
Change-Id: Icb333a465491af0c70bdfc5c1134a2c707711f12 Reviewed-on: https://go-review.googlesource.com/c/website/+/506997 Reviewed-by: Neelesh Bodas <neelesh@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Prudhvi Krishna Chintala <prudhvikrishna@google.com> Reviewed-by: Nooras Saba‎ <saba@golang.org> Run-TryBot: Jamal Carvalho <jamal@golang.org>
2023-06-21_content/css: hide cookie banner in print viewJamal Carvalho
Fixes golang/go#60820. Change-Id: I99943604c8588264f2898b0011b0135778a15628 Reviewed-on: https://go-review.googlesource.com/c/website/+/503879 Run-TryBot: Jamal Carvalho <jamal@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
2023-05-23_content: add cookie notification bannerJamal Carvalho
Change-Id: I5bbdc9f7d685736ffddd5c5289c39c68c777088e Reviewed-on: https://go-review.googlesource.com/c/website/+/492676 Reviewed-by: Suzy Mueller <suzmue@golang.org> Reviewed-by: Todd Kulesza <tkulesza@google.com> Run-TryBot: Jamal Carvalho <jamal@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org>
2023-04-20_content: add toggle to display other ports on download pageJamal Carvalho
Fixes golang/go#59317. Change-Id: I1fd8020838f519b3a481745a979a0253458e4257 Reviewed-on: https://go-review.googlesource.com/c/website/+/486555 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com> Auto-Submit: Jamal Carvalho <jamal@golang.org> Run-TryBot: Jamal Carvalho <jamal@golang.org>
2023-03-29internal/play: fix support for vet errors in playground outputRobert Findley
The compile proxy for go.dev/play was not forwarding the Request.WithVet or Response.VetErrors fields, resulting in no vet errors in the new playground. Furthermore, it looked like the styling intended for errors and system messages was not being correctly applied, due to CSS selectors changing. Fix both of these bugs, assuming that the broken styling is in fact a bug. Result at https://github.com/golang/go/issues/58560#issuecomment-1480044674 Fixes golang/go#58560 Change-Id: If7a9a4323414f4c844e90bd340d93a74e59ce462 Reviewed-on: https://go-review.googlesource.com/c/website/+/478576 TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Robert Findley <rfindley@google.com> Run-TryBot: Robert Findley <rfindley@google.com> Reviewed-by: Jamal Carvalho <jamal@golang.org>
2023-03-09_content: Why Go - new cardsFrederick Mixell
New cards from the Why Go designs. - Adds new card from design to Use Cases and Case Studies. - Slider omitted because it's redesign will be in another cr. Screenshot:(Use Cases) https://drive.google.com/file/d/1XZOmbLkzTCIriGuivAyAeI-HhOReDOjJ/view?usp=sharing Screenshot: (Case Studies) https://drive.google.com/file/d/1qiCCpARiqSSvOVcN6nOc5kci61cldAo0/view?usp=sharing Change-Id: I4d3d465d694dffee455ab3beb3eaba4b1b862629 Reviewed-on: https://go-review.googlesource.com/c/website/+/436336 Reviewed-by: Jamal Carvalho <jamal@golang.org> Run-TryBot: Jamal Carvalho <jamal@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
2023-03-09_content: Go project page redesignFrederick Mixell
Converting project page to use the "flat card" - divides up page into sections to match the design preserving ID's - removes test in web.txt that looks for release schedule because it was removed. Video: https://drive.google.com/file/d/1MYcZTeuoDAoEFTWRRVZ93hyLsJSwKi2I/view?usp=sharing Change-Id: If3df2f050592c5c1ac3a92763404e8eaba3972be Reviewed-on: https://go-review.googlesource.com/c/website/+/445578 Run-TryBot: Jamal Carvalho <jamal@golang.org> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com> Reviewed-by: Jamal Carvalho <jamal@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org>
2023-03-09_content: Doc index masonry layoutFrederick Mixell
- converts existing doc index content into html sections - uses css columns to create css only masonry layout Video: https://drive.google.com/file/d/1VJ9IEz_mpVDhRXN6KPa7Z_z2oy4623an/view?usp=sharing Change-Id: Iad7413bad2ad5aaeff9dfc6334f206177508acc4 Reviewed-on: https://go-review.googlesource.com/c/website/+/443698 Run-TryBot: Jamal Carvalho <jamal@golang.org> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com> Reviewed-by: Jamal Carvalho <jamal@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org>
2023-03-09_content: Help page updateFrederick Mixell
- Adds new card style for help page Screenshot: https://drive.google.com/file/d/11nT6QYZkgoCvvfwRkZVfV1Rrw74VEj9N/view?usp=sharing Change-Id: Ie104b424ae2d837c9457b666a382f246122ef89e Reviewed-on: https://go-review.googlesource.com/c/website/+/443695 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com> Reviewed-by: Jamal Carvalho <jamal@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Jamal Carvalho <jamal@golang.org>
2023-03-09_content: Learn page redesignFrederick Mixell
- redesign header - moved sections into cards and reordered page - Hooked up jump link layout but they're not matching functionality of pkg site yet Video: https://drive.google.com/file/d/1OAGq_566FX2ASC68fmQMDfNk17dtp3jr/view?usp=sharing Change-Id: I7224840e8316909b98a97cf876813f111621d2a7 Reviewed-on: https://go-review.googlesource.com/c/website/+/445579 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Than McIntosh <thanm@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org> Run-TryBot: Jamal Carvalho <jamal@golang.org>
2023-02-21_content: fix duplicate github iconJamal Carvalho
Fixes golang/go#58555 Change-Id: I36788aabbe09c4e5f343ae88d94392c202ff144f Reviewed-on: https://go-review.googlesource.com/c/website/+/469815 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com> Run-TryBot: Jamal Carvalho <jamal@golang.org>
2023-02-21_content: All releases page updateFrederick Mixell
This update is to the /dl page design. - Page title updated - Table updated to reflect design - spacing/color adjustments to match design Video: https://drive.google.com/file/d/1Yhov_7v4h6vS9lQlQuuVqF3T3M-dXQnU/view?usp=sharing Change-Id: Ifc7d8ad64b99e5ec44f4b2be657082ef20f30fa5 Reviewed-on: https://go-review.googlesource.com/c/website/+/442515 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com> Run-TryBot: Jamal Carvalho <jamal@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org>
2023-02-14_content: Breadcrumbs added to children pages.Frederick Mixell
Added to all doc children page with doclayout. Added to Why Go pages. Added to Security pages. Video of Changes: https://drive.google.com/file/d/1wX9e9K9H9wPTaLLQHh15-cWzMTMRr9DO/view?usp=sharing Change-Id: I0fbf8e925e7fa357762d8eebd2bf13d561d49d86 Reviewed-on: https://go-review.googlesource.com/c/website/+/432775 Reviewed-by: Jamal Carvalho <jamal@golang.org> Run-TryBot: Jamal Carvalho <jamal@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
2023-02-14_content: qa updates play pageFrederick Mixell
- adds dark mode functionality for the community menu - adds 'overflow: auto;' over 'overflow: scroll;' for play page about modal to prevent ghost scroll bars on certain devices. Change-Id: I175f21aa06b47bd590010551e8bd3757993bea96 Reviewed-on: https://go-review.googlesource.com/c/website/+/453795 Run-TryBot: Jamal Carvalho <jamal@golang.org> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com> Reviewed-by: Jamal Carvalho <jamal@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org>
2023-02-10_content/css: fix content aside section overlapping with footerAnkit Verma
Fixes golang/go#58134 Change-Id: Ie2ef4d2b32d2f9eb834e0d7f909efecda4c08331 GitHub-Last-Rev: 8914d0f4f365e9bf0cd36e197905e6a5efa92956 GitHub-Pull-Request: golang/website#190 Reviewed-on: https://go-review.googlesource.com/c/website/+/464015 Reviewed-by: Jamal Carvalho <jamal@golang.org> Run-TryBot: Jamal Carvalho <jamal@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Suzy Mueller <suzmue@golang.org>
2023-01-13_content: Revert font to match site styleFrederick Mixell
Reverting the new text styles for download page because text styles are global. Reference: https://go-review.googlesource.com/c/website/+/441855/comment/4c6c0465_65e895ec/ Staging: https://change-461796-dot-goog-godev-qa.uc.r.appspot.com/go.dev/doc/install ! This staging doesn't have access to /dl functionality so there isn't text for the download button. Change-Id: I132c56ec67a93f91a4a557703f6d27a7e6875024 Reviewed-on: https://go-review.googlesource.com/c/website/+/461796 Reviewed-by: Jamal Carvalho <jamal@golang.org> Reviewed-by: Russ Cox <rsc@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Jamal Carvalho <jamal@golang.org>
2022-12-28_content: Sidebar template propFrederick Mixell
- Adds desktop only sidebar options - Turn on any doc template with "Sidebar" prop - currently 2 sidebar choices "faq" or "bug" Added to the following pages - /doc/install - /doc/faq - /help Video: https://drive.google.com/file/d/1MmZSvdqcmREeB5ZU0YXwuilFDsusmne1/view?usp=sharing Change-Id: Ie106fdfeac464752789319aa87ffe0144dbc5c88 Reviewed-on: https://go-review.googlesource.com/c/website/+/441857 TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Jamal Carvalho <jamal@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com> Run-TryBot: Jamal Carvalho <jamal@golang.org>
2022-12-21_content: Download install redesignFrederick Mixell
- Updates /doc/install design - Updates /dl/ button style Screenshot Buttons: https://drive.google.com/file/d/1zfuQRuYxlvb1ej0LS5bCituFX91scQA1/view?usp=sharing Screenshot Doc Install: https://drive.google.com/file/d/1lhLf8DXq93F-u20i54eH9-CS5CzF9X_-/view?usp=sharing Change-Id: I7ced9f5cdd6540382d3df23b87caadfd1c78cb1d Reviewed-on: https://go-review.googlesource.com/c/website/+/441855 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com> Reviewed-by: Jamal Carvalho <jamal@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Jamal Carvalho <jamal@golang.org> Auto-Submit: Jamal Carvalho <jamal@golang.org>
2022-12-05_content: Copy code snippetsFrederick Mixell
- Updates pre style for doc articles - Adds js for copying code snippets - .CopyPaste class with button to work with the js Darkmode Screenshot: https://drive.google.com/file/d/1plTsw3rd_KoeNkjwEB19uOGZtr5DlHAT/view?usp=sharing Video: https://drive.google.com/file/d/1PuPiSVbKZsOSadW-iVYI-aNmiiXpPn8B/view?usp=sharing Change-Id: I2c244c6dd8e73b13c7ee8554d35919d0eb3e18c6 Reviewed-on: https://go-review.googlesource.com/c/website/+/441856 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com> Reviewed-by: Jamal Carvalho <jamal@golang.org> Run-TryBot: Jamal Carvalho <jamal@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org>
2022-11-18_content: change Go headline on go.devRuss Cox
The old one (“Build fast, reliable, and efficient software at scale”) is missing "simple" and "secure"; also "fast" and "efficient" are synonyms. Change-Id: I50e6bb524e5095d88b4b71f644c3653da98712ff Reviewed-on: https://go-review.googlesource.com/c/website/+/451297 Reviewed-by: Sameer Ajmani <sameer@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Russ Cox <rsc@golang.org>
2022-11-15_content/css: invert github css for dark themeJamal Carvalho
Fixes golang/go#56559. Change-Id: I3f8aa801ad3ef97686903dd1019f5df2f2ed9e3d Reviewed-on: https://go-review.googlesource.com/c/website/+/450416 Run-TryBot: Jamal Carvalho <jamal@golang.org> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Jamal Carvalho <jamal@golang.org>
2022-11-10_content/blog: post 13yearsRuss Cox
Post about Go's 13th birthday. Also tweak the css to not background color fixed-width font in paragraphs. Coloring whole <pre> blocks is fine, but coloring font changes is typographically suspect and especially doesn't work well with our convention in this web site of setting spaces inside phrases like "go test" with variable-width spaces: <code>go</code> <code>test</code>. It looks terrible to have a background highlight on that. Change-Id: Ibbb3ad782d05f107fda572c269c24ef82e937d61 Reviewed-on: https://go-review.googlesource.com/c/website/+/449456 Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Eli Bendersky <eliben@google.com> Auto-Submit: Russ Cox <rsc@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org>
2022-11-07_content/css: improve playground page marginsJamal Carvalho
Fixes golang/go#56518. Change-Id: Ia9a55046873961b53b031b3ccbf764041ac29e5a Reviewed-on: https://go-review.googlesource.com/c/website/+/447998 Reviewed-by: Robert Findley <rfindley@google.com> Auto-Submit: Jamal Carvalho <jamal@golang.org> Run-TryBot: Jamal Carvalho <jamal@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org>
2022-10-31_content: update header nav with dropdowns and subnavsConor Britain
Adds dropdown menus as well as fixed open/closed states. Adds submenus to mobile header nav. Change-Id: I0fdf6fd81008857b1ed28f0a8388de8e004eb722 Reviewed-on: https://go-review.googlesource.com/c/website/+/435522 Reviewed-by: Jamal Carvalho <jamal@golang.org> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
2022-08-19_content: style theme defaults to system preferenceJamal Carvalho
The style theme matches pkg.go.dev behavior in respecting the users preferred theme set by the system. Change-Id: I1dab33bda043f054522f88f8e64c539e61934433 Reviewed-on: https://go-review.googlesource.com/c/website/+/424834 Reviewed-by: Suzy Mueller <suzmue@golang.org>
2022-08-17_content/css: fix content auto-scrolling on selectionGeorge Looshch
Fix content auto-scrolling when it’s being selected and the cursor is less than 4.6875rem from the top border of browser view window Fixes golang/go#52917 Change-Id: Ibf077bbeb3ba57ee425b1965e9e833ba66d11383 Reviewed-on: https://go-review.googlesource.com/c/website/+/409014 Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Jamal Carvalho <jamal@golang.org> Reviewed-by: Zeke Lu <lvzecai@gmail.com> Reviewed-by: Soham Dongargaonkar <sohamssd@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Jamal Carvalho <jamal@golang.org>
2022-04-19_content: fix colors for links in BackgroundQuotesSuzy Mueller
The colors for the link and the background color for the background quotes are too similar, so the quotes do not appear. This change adds style to the links in the background quotes so that they inherit the colors. Updates golang/go#52312 Change-Id: Ib7fa0b23ff194333f50c1346747ea06d25e09254 Reviewed-on: https://go-review.googlesource.com/c/website/+/400894 Run-TryBot: Suzy Mueller <suzmue@golang.org> Reviewed-by: Nooras Saba‎ <saba@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org>
2022-04-07_content/css: use color variables in download tableJamal Carvalho
For the text in the download table to be visible for all themes the row background color must switch with the page theme. For golang/go#34601 Change-Id: I369445f25efc3b3771f324f1c0555f9049cf3390 Reviewed-on: https://go-review.googlesource.com/c/website/+/398974 Trust: Jamal Carvalho <jamal@golang.org> Run-TryBot: Jamal Carvalho <jamal@golang.org> Reviewed-by: Jonathan Amsterdam <jba@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Jamal Carvalho <jamal@golang.org> Reviewed-by: Russ Cox <rsc@golang.org>
2022-03-28_content/css: hide the footer in media printManlio Perillo
Currently, unlike the site header, the site footer is visible when printing a document. Change-Id: Ieb17be48cd0aa679cb0a4e675df7c39678d9b45a Reviewed-on: https://go-review.googlesource.com/c/website/+/394174 Reviewed-by: Jamal Carvalho <jamalcarvalho@google.com> Trust: Ian Lance Taylor <iant@google.com>
2022-03-17_content/css: fix image background color in dark modeJamal Carvalho
Transparent images on the doc pages assume there is a white background. This change preserves the white background for images when the site is viewed with the dark theme. For golang/go#34601. Change-Id: I4c0a28d173d7ecf52547da6e5a6382d84bc922e3 Reviewed-on: https://go-review.googlesource.com/c/website/+/392479 Run-TryBot: Jamal Carvalho <jamal@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Trust: Jamal Carvalho <jamalcarvalho@google.com>
2022-03-17_content: fix solutions pages subnavigationJamal Carvalho
When the header was made unsticky the subnav for the usecase page was not adjusted. This change fixes the positioning and initialization of the subnav. Change-Id: I48569fc6c4e21b782ed30269db17083b7b5eea74 Reviewed-on: https://go-review.googlesource.com/c/website/+/391538 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Trust: Jamal Carvalho <jamalcarvalho@google.com>
2022-03-10_content/css: improve contrast for playground and dark theme elementsJamal Carvalho
For golang/go#34601. Fixes golang/go#51584. Change-Id: I0a1715eacb5e3cef51aff7285dbdf9a0a5a6ea3c Reviewed-on: https://go-review.googlesource.com/c/website/+/391535 Run-TryBot: Jamal Carvalho <jamal@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Trust: Jamal Carvalho <jamalcarvalho@google.com>
2022-03-10_content: fix go.dev/play text colorEgon Elbre
The text color in go.dev/play was accidentally set to color-text-subtle in CL 384874 whereas the correct color is color-text. Fixes golang/go#51584 Change-Id: I0a512d826bb88dc16db032334350935503724f09 Reviewed-on: https://go-review.googlesource.com/c/website/+/391394 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org> Trust: Dmitri Shuralyov <dmitshur@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Valentin Deleplace <deleplace@google.com> Reviewed-by: Russ Cox <rsc@golang.org>
2022-03-09_content: add dark mode stylesMauricio Alvarado
Added dark mode styles and images. For golang/go#34601 Change-Id: I1a4d9599cbe8e3b51380be914cfe1abbc3cd79bb Reviewed-on: https://go-review.googlesource.com/c/website/+/384874 Reviewed-by: Jamal Carvalho <jamalcarvalho@google.com> Trust: Dmitri Shuralyov <dmitshur@google.com>