-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404-dark-theme.scss
124 lines (109 loc) · 2.53 KB
/
404-dark-theme.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
html, body, h1, p {
margin: 0;
padding: 0;
}
a {
text-decoration: none;
}
@font-face {
font-family: 'sf_pro_displaybold';
src: url('../fonts/sf-pro-display-bold-webfont.woff2') format('woff2'),
url('../fonts/sf-pro-display-bold-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'sf_pro_displaylight';
src: url('../fonts/sf-pro-display-light-webfont.woff2') format('woff2'),
url('../fonts/sf-pro-display-light-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'sf_pro_displaymedium';
src: url('../fonts/sf-pro-display-medium-webfont.woff2') format('woff2'),
url('../fonts/sf-pro-display-medium-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
.not-found-dark {
background-color: #2c304d;
background-image: linear-gradient(60deg, #2c304d 0%, #502d55 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#2c304d', endColorstr='#502d55', GradientType=1);
position: relative;
width: 100vw;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
&::after {
@media (min-width: 768px) {
content: '';
background-image: url(../img/bg-lines-dark-theme.svg);
background-size: cover;
background-position: center;
position: fixed;
background-repeat: no-repeat;
width: 100%;
height: 100%;
animation-name: rotated-bg;
animation-duration: 300s;
animation-timing-function: linear;
animation-iteration-count: infinite;
z-index: 1;
@keyframes rotated-bg {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
}
}
&__image {
@media (min-width: 768px) {
margin-top: 150px;
position: relative;
z-index: 2;
}
width: 473.5px;
@media (min-height: 768px) {
width: 947px;
}
display: block;
max-width: 100%;
}
&__title {
font-size: 50px;
color: #F8DAC2;
margin-top: 40px;
margin-bottom: 15px;
font-family: 'sf_pro_displaybold', sans-serif;
}
&__description {
font-size: 25px;
color: rgba(#f8f4e9, .5);
margin-bottom: 30px;
font-family: 'sf_pro_displaylight', sans-serif;
}
&__button {
background-color: #493c59;
width: 154px;
height: 54px;
border-radius: 5px;
color: #fff;
font-size: 18px;
display: flex;
align-items: center;
justify-content: center;
position: relative;
z-index: 2;
font-family: 'sf_pro_displaymedium', sans-serif;
transition: all 1s;
&:hover {
background-color: lighten(#493c59, 5%);
}
}
}