-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
146 lines (145 loc) · 2.58 KB
/
style.css
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
body {
background: #0f1923;
font-family: "Muli";
}
div {
display: -webkit-box;
display: flex;
height: 100vh;
-webkit-box-align: center;
align-items: center;
-webkit-box-pack: center;
justify-content: center;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
flex-flow: column;
}
div a {
width: 100%;
max-width: 240px;
height: 54px;
padding: 8px;
font-size: 0.8rem;
font-weight: 900;
color: #ff4655;
text-align: center;
text-transform: uppercase;
text-decoration: none;
box-shadow: 0 0 0 1px inset rgba(236, 232, 225, 0.3);
position: relative;
margin: 10px 0;
}
div a.white:hover > p {
color: #ece8e1;
}
div a.white > p {
background: #ece8e1;
color: #0f1923;
}
div a.white > p span.base {
border: 1px solid transparent;
}
div a.transparent:hover > p {
color: #ece8e1;
}
div a.transparent:hover > p span.text {
box-shadow: 0 0 0 1px #ece8e1;
}
div a.transparent > p {
background: #0f1923;
color: #ece8e1;
}
div a.transparent > p span.base {
border: 1px solid #ece8e1;
}
div a:after, div a:before {
content: "";
width: 1px;
position: absolute;
height: 8px;
background: #0f1923;
left: 0;
top: 50%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
}
div a:before {
right: 0;
left: initial;
}
div a p {
margin: 0;
height: 54px;
line-height: 54px;
box-sizing: border-box;
z-index: 1;
left: 0;
width: 100%;
position: relative;
overflow: hidden;
}
div a p span.base {
box-sizing: border-box;
position: absolute;
z-index: 2;
width: 100%;
height: 100%;
left: 0;
border: 1px solid #ff4655;
}
div a p span.base:before {
content: "";
width: 2px;
height: 2px;
left: -1px;
top: -1px;
background: #0f1923;
position: absolute;
-webkit-transition: 0.3s ease-out all;
transition: 0.3s ease-out all;
}
div a p span.bg {
left: -5%;
position: absolute;
background: #ff4655;
width: 0;
height: 100%;
z-index: 3;
-webkit-transition: 0.3s ease-out all;
transition: 0.3s ease-out all;
-webkit-transform: skewX(-10deg);
transform: skewX(-10deg);
}
div a p span.text {
z-index: 4;
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
}
div a p span.text:after {
content: "";
width: 4px;
height: 4px;
right: 0;
bottom: 0;
background: #0f1923;
position: absolute;
-webkit-transition: 0.3s ease-out all;
transition: 0.3s ease-out all;
z-index: 5;
}
div a:hover {
color: #ece8e1;
}
div a:hover span.bg {
width: 110%;
}
div a:hover span.text:after {
background: #ece8e1;
}
#h
{
color: white;
}