forked from housseindjirdeh/angular2-hn
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy patherror-message.component.scss
More file actions
116 lines (108 loc) · 2.19 KB
/
Copy patherror-message.component.scss
File metadata and controls
116 lines (108 loc) · 2.19 KB
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
@use "sass:math";
@use "../../scss/media" as *;
@use "../../scss/theme_variables" as *;
.error-section {
height: 300px;
margin: 200px;
@media #{$mobile-only} {
height: 0;
display: block;
position: relative;
margin: 30vh 0;
}
p {
text-align: center;
padding: 0 25px;
&.strong {
margin-top: 25px;
font-weight: bold;
}
}
.skull {
width: $skull-size;
height: $skull-size;
position: relative;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: auto;
.head {
width: 100%;
height: 75%;
border-radius: 15% / 20%;
position: absolute;
top: 0;
left: 0;
&:before, &:after {
content: "";
position: absolute;
border-radius: 50%;
width: 20%;
height: 30%;
bottom: 10%;
}
&:before {
left: 10%;
}
&:after {
right: 10%;
}
.crack {
width: 10%;
height: 10%;
position: absolute;
top: 0;
right: 25%;
transform: skew(-15deg);
&:before {
content: "";
position: absolute;
top: 100%;
left: math.div($skull-size, 15);
border-right: math.div($skull-size, 20) solid transparent;
border-left: math.div($skull-size, 40) solid transparent;
}
}
}
.mouth {
width: 40%;
height: 25%;
position: absolute;
top: 75%;
left: 30%;
border-radius: 0 0 math.div($skull-size, 10) math.div($skull-size, 10);
&:before {
content: "";
position: absolute;
width: 15%;
height: 50%;
border-radius: 50% / 30%;
left: 42.5%;
top: -25%;
}
.teeth {
position: absolute;
bottom: 0;
left: 45%;
width: 10%;
height: 50%;
margin-bottom: -5%;
border-radius: 50% / 20%;
&:before, &:after {
content: "";
position: absolute;
width: 100%;
height: 100%;
border-radius: 50% / 20%;
}
&:before {
left: -250%;
}
&:after {
right: -250%;
}
}
}
}
}