Skip to content

Commit

Permalink
feat: add 404 page style
Browse files Browse the repository at this point in the history
  • Loading branch information
ngunner15 committed Oct 8, 2024
1 parent 987c5b3 commit 2a02ff0
Showing 1 changed file with 32 additions and 45 deletions.
77 changes: 32 additions & 45 deletions frontend/src/views/ErrorViews/FourOhFour/styles.scss
Original file line number Diff line number Diff line change
@@ -1,61 +1,48 @@
@use '@bcgov-nr/nr-theme/design-tokens/variables.scss' as vars;
@use '@carbon/type';

.fof-container {
margin: 0;
max-width: 100%;
min-height: 100vh;
padding: 1rem;
background-color: rgb(131, 217, 200);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;

.four-oh-four-page {
img {
width: 25%;
min-width: 21.875rem;
height: 100%;
width: 100%;
object-fit: contain;
}

.list {
li {
list-style-type: none;
}
h1 {
@include type.type-style('fluid-heading-05', true);
color: var(--#{vars.$bcgov-prefix}-text-primary);
margin-bottom: 2.5rem;
}

p {
@include type.type-style('fluid-paragraph-01', true);
color: var(--#{vars.$bcgov-prefix}-text-secondary);
margin-bottom: 0.25rem;
}

button {
margin-top: 2rem;
margin-bottom: 3rem;
inline-size: 16rem;
}

.link {
margin-bottom: 0.5rem;
position: relative;
display: inline-block;
transition: color var(--#{vars.$bcgov-prefix}-transition-base);
color: var(--#{vars.$bcgov-prefix}-text-01);
text-decoration: none;
margin-left: 1rem;
.four-oh-four-row {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}

&:before {
content: '\21B3'; //"↳"
position: absolute;
left: -1rem;
color: var(--#{vars.$bcgov-prefix}-text-01);
cursor: pointer;
@media only screen and (max-width: 1055px) {
margin-top: 0;
margin-left: 0;
img {
height: 50vh;
width: 90vw;
}
}

.fof-text {
text-align: center;
font-family: cursive;
font-weight: 700;
font-size: 13rem;
transform: translate(0, -20%);
letter-spacing: 0.02em;
color: #F9f1cc;
text-shadow: 5px 5px 0px #FFB650,
10px 10px 0px #FFD662,
15px 15px 0px #FF80BF,
20px 20px 0px #EF5097,
25px 25px 0px #6868AC,
30px 30px 0px #90B1E0;
@media only screen and (max-width: 672px) {
margin-top: 0;
}
}

0 comments on commit 2a02ff0

Please sign in to comment.