-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
103 lines (103 loc) · 1.96 KB
/
Copy pathstyle.css
File metadata and controls
103 lines (103 loc) · 1.96 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
:root{
--outer-color: #000;
--inner-color: #fff;
}
.octagonWrap-mini{
width:250px;
height:250px;
float: left;
position: relative;
overflow: hidden;
margin-top: 75px;
margin-left: 75px;
}
.octagonWrap-mini .octagon{
background-color: var(--inner-color);
border-color: var(--inner-color);
}
.octagonWrap{
width:400px;
height:400px;
float: left;
position: relative;
overflow: hidden;
}
.octagon{
position: absolute;
top: 0; right: 0; bottom: 0; left: 0;
overflow: hidden;
transform: rotate(45deg);
background: var(--outer-color);
}
.octagon:before{
position: absolute;
top: -3px; right: -3px; bottom: -3px; left: -3px;
transform: rotate(45deg);
content: '';
border: inherit;
}
.square{
width: 80px;
height: 100px;
background-color: var(--outer-color);
position: absolute;
bottom: 75px;
left: 0px;
}
.trapezoid{
border-bottom: 180px solid var(--inner-color);
border-left: 40px solid transparent;
border-right: 40px solid transparent;
height: 0;
width: 100px;
transform: rotate(-45deg);
margin-top: 215px;
margin-left: 210px;
}
.sybil{
display: none;
z-index: 100000000000000000000000;
color: #000;
position: absolute;
top: 215px;
width: 100%;
height: 300px;
}
.sybil .right, .sybil .left{
width: 39%;
}
.sybil .right{
float: right;
margin-right: 20px;
}
.sybil .right hr, .sybil .left hr{
display: block;
width: 130px;
margin: 13px 0;
color: #aaa;
}
.sybil .right hr:nth-last-of-type(), .sybil .left hr:nth-last-of-type(){
transform: rotate(12deg);
}
.sybil .right hr{
float: left;
}
.sybil .left{
float: left;
margin-left: 20px;
}
.sybil .left hr{
float: right;
}
.sybil .left-first{
transform: rotate(15deg);
}
.sybil .left-last{
transform: rotate(-15deg);
}
.sybil .right-first{
transform: rotate(-15deg);
}
.sybil .right-last{
transform: rotate(15deg);
}