Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@ node_modules/
public/
resources/_gen/
.hugo_build.lock
.DS_Store
pa11y-report.json
.a11y-site/
2 changes: 2 additions & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
20

1 change: 0 additions & 1 deletion assets/icons/chevron-right-pink.svg

This file was deleted.

1 change: 1 addition & 0 deletions assets/icons/chevron-right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
176 changes: 156 additions & 20 deletions assets/scss/404.scss
Original file line number Diff line number Diff line change
@@ -1,51 +1,187 @@
// (C) 2026 GoodData Corporation

.td-404 {
background-color: $color-mist-gray;
background-color: $color-white;

.td-sidebar,
.td-toc {
display: none;
}

main {
flex: 0 0 100%;
max-width: 100%;
padding-left: 0 !important;
}

.td-main {
padding-top: $header-height-desktop + 40px;
padding-bottom: 40px;

@include mq(x-large) {
padding-top: $header-height-x-big-desktop + 80px;
padding-top: $header-height-x-big-desktop + 100px;
padding-bottom: 80px;
}

main {
@include mq(large) {
padding-top: 0;
}
}
}
}

.gd-404 {
margin: 0 auto;

&__header {
display: flex;
flex-direction: column;
align-items: center;
}

&__pretitle {
position: relative;
display: table;
height: 28px;
margin-bottom: 1rem;
padding: 8px 16px 4px;
font-family: $funnel-regular;
font-size: 0.875rem;
line-height: 0.875rem;
font-weight: 500;
text-transform: uppercase;
color: $color-black;

&::before,
&::after {
content: "";
position: absolute;
top: 0;
width: 10px;
height: 28px;
border: 1.5px solid $color-storm-gray;
}

&::before {
left: 0;
border-right: none;
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
}

&::after {
right: 0;
border-left: none;
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}
}

h1 {
font-family: $switzer-variable;
margin-bottom: 2rem;
font-size: 3rem;
&__title {
font-family: $funnel-regular;
margin-bottom: 1.5rem;
font-size: 2.5rem;
line-height: 1.25;
color: $color-heading;

@include mq(medium) {
font-size: 3rem;
}

@include mq(large) {
font-size: 4.25rem;
font-size: 4rem;
}
}

h2 {
font-family: $switzer-semibold;
&__suggest {
margin-top: 3rem;
}

&__subtitle {
font-family: $funnel-regular;
margin-bottom: 1.5rem;
font-size: 1.4375rem;
font-size: 1.25rem;
line-height: 1.25;
color: $color-heading;

@include mq(large) {
font-size: 2rem;
font-size: 1.5rem;
}
}

main {
ul {
list-style-type: none;
padding: 0;
&__links {
list-style: none;
margin: 0;
padding: 0;

@include mq(large) {
display: flex;
justify-content: center;
}

li {
margin-bottom: 9px;
margin-bottom: 1rem;

a {
font-size: 18px;
text-decoration: underline;
@include mq(large) {
margin-bottom: 0;

&:not(:last-child) {
margin-right: 3rem;
}
}
}
}
}

&__link {
display: inline-block;
position: relative;
font-family: $funnel-regular;
font-size: 18px;
text-decoration: none;
white-space: nowrap;
color: $color-link;

&:hover,
&:focus {
text-decoration: none;
color: $color-link;
}

span {
position: relative;
border-bottom: 2px solid $color-ice-blue;

&::after {
content: "";
position: absolute;
inset: auto auto -2px 0;
width: 0;
height: 2px;
background-color: $color-link;
transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
}

&::after {
content: "";
display: inline-block;
position: relative;
top: 2px;
width: 16px;
height: 16px;
margin-left: 6px;
background-color: currentColor;
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8.5 3l5 5-5 5M13 8H2.5' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center / contain;
transition: margin-left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

&:hover::after {
margin-left: 14px;
}

&:hover span::after {
width: 100%;
}
}
}
7 changes: 6 additions & 1 deletion assets/scss/alert.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,18 @@
}
}

.td-content blockquote blockquote {
color: inherit;
}

.alert {
position: relative;

&-heading {
.td-content & {
margin-top: 0;
margin-bottom: 5px;
font-family: $funnel-semibold;
font-size: 20px;
line-height: 1.3;
}
Expand Down Expand Up @@ -92,7 +97,7 @@

> svg {
position: absolute;
top: 26px;
top: 30px;
left: 32px;
}

Expand Down
2 changes: 1 addition & 1 deletion assets/scss/content-select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
border-bottom: 0;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
color: $color-storm-gray;
color: $color-gunpowder-gray;
font-family: $switzer-semibold;
font-size: 14px;
line-height: 1.25;
Expand Down
31 changes: 11 additions & 20 deletions assets/scss/cta-banner.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,13 @@
margin-bottom: pxtorem(40px);
overflow: hidden;
position: relative;
background-image: url("../img/blog-cta-desk.webp");
background-size: auto 90%;
background-repeat: no-repeat;
background-position: right center;

&__media {
flex: 1 1 0;
align-self: stretch;
margin: pxtorem(-32px) pxtorem(-32px) pxtorem(-32px) 0;
background: url("../img/blog-cta-desk.webp") no-repeat right center / auto 90%;
}

// ── Text column ──────────────────────────────────────────────────────────

Expand Down Expand Up @@ -80,28 +83,16 @@
flex-direction: column;
align-items: flex-start;
padding: pxtorem(24px);
padding-bottom: 50%;
background-image: url("../img/blog-cta-mobile.webp");
background-size: 90% auto;
background-repeat: no-repeat;
background-position: bottom center;

&__content {
width: 100%;
}

&__media {
position: static;
width: 100%;
max-width: 100%;
margin-top: pxtorem(8px);

img {
border-radius: 4px 4px 0 0;
max-height: 180px;
object-fit: cover;
object-position: top left;
}
align-self: stretch;
aspect-ratio: 621 / 310;
margin: pxtorem(8px) 0 pxtorem(-24px);
background: url("../img/blog-cta-mobile.webp") no-repeat center / cover;
}
}
}
Expand Down
28 changes: 28 additions & 0 deletions assets/scss/dark-theme/404.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,32 @@
color: $color-white;
}
}

.gd-404 {
&__pretitle {
color: $color-white;

&::before,
&::after {
border-color: $color-silver-gray;
}
}

&__link {
color: $color-ice-blue;

&:hover,
&:focus {
color: $color-ice-blue;
}

span {
border-bottom-color: rgba($color-ice-blue, 0.4);

&::after {
background-color: $color-ice-blue;
}
}
}
}
}
Loading
Loading