aboutsummaryrefslogtreecommitdiff
path: root/_content/css/styles.css
diff options
context:
space:
mode:
authorFrederick Mixell <frederick.mixell@leftfieldlabs.com>2022-10-12 11:31:08 -0400
committerJamal Carvalho <jamal@golang.org>2023-02-21 15:50:18 +0000
commite0f28dd77b5296b976aead9f62766f65442af8ca (patch)
treed695a9bbd1c97cbe39f1ea39dc12c8b137ce7f7f /_content/css/styles.css
parent6d3537d05981561569142b6866346442b8729f8b (diff)
downloadgo-x-website-e0f28dd77b5296b976aead9f62766f65442af8ca.tar.xz
_content: All releases page update
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>
Diffstat (limited to '_content/css/styles.css')
-rw-r--r--_content/css/styles.css65
1 files changed, 60 insertions, 5 deletions
diff --git a/_content/css/styles.css b/_content/css/styles.css
index a875d18c..303fa699 100644
--- a/_content/css/styles.css
+++ b/_content/css/styles.css
@@ -4549,6 +4549,43 @@ h2.Playground-about {
}
.toggleButton {
cursor: pointer;
+ background-color: var(--color-background-accented);
+ padding: 0.5rem;
+}
+h3.toggleButton {
+ font-style: normal;
+ font-weight: 500;
+ font-size: 1rem;
+ line-height: 1.5rem;
+ padding-left: 1rem;
+ display: flex;
+ align-items: center;
+}
+#archive h2.toggleButton {
+ background-color: var(--color-background);
+}
+.toggleButton span.toggleText {
+ font-style: normal;
+ font-weight: 400;
+ font-size: 1rem;
+ line-height: 1.5rem;
+ color: var(--color-text-link);
+ margin-left: 0.625rem;
+}
+.toggleButton-img {
+ display: block;
+}
+.toggleButton-img-dark {
+ display: none;
+}
+[data-theme='dark'] .toggleButton-img {
+ display: none;
+}
+[data-theme='dark'] .toggleButton-img-dark {
+ display: block;
+}
+.toggle .collapsed img {
+ transform: rotate(180deg);
}
.toggle > .collapsed {
display: block;
@@ -4805,16 +4842,34 @@ a#start .desc {
height: 2.5rem;
}
table.downloadtable {
- margin-left: 20px;
- margin-right: 20px;
+ width: 100%;
border-collapse: collapse;
}
-table.downloadtable tr {
- background-color: var(--color-background-accented);
+table.downloadtable thead {
+ border: 2px solid var(--color-background-accented);
}
table.downloadtable tr:nth-child(2n),
-table.downloadtable tr.first {
+table.downloadtable tr.first,
+table.downloadtable tr {
background-color: var(--color-background);
+ border: 2px solid var(--color-background-accented);
+}
+
+table.downloadtable tr.first th {
+ text-align: left;
+ font-style: normal;
+ font-weight: 500;
+ font-size: 1rem;
+ line-height: 1.5rem;
+}
+table.downloadtable td {
+ font-style: normal;
+ font-weight: 400;
+ font-size: 1rem;
+ line-height: 1.5rem;
+}
+table.downloadtable td.filename, table.downloadtable tr.first th:nth-child(1) {
+ padding-left: 4.5rem;
}
table.downloadtable td,
table.downloadtable th {