-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
92 lines (83 loc) · 1.51 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
html, body {
padding: 0px;
margin: 0px;
height: 100%;
}
@import url("https://fonts.googleapis.com/css?family=Lato:400,700");
body, html {
height: 100%;
}
body {
font-family: "Lato", sans-serif;
color: #333333;
align-items: center;
align-content: center;
justify-content: center;
}
body{
background-image:url(background.jpg);
background-repeat:no-repeat;
background-size:100%;
}
#logo{
height:80px;
width:250px;
float:left;
margin-left: 3px;
margin-top: 0px;
padding: 0px;
}
button{
background-color:rgba(0,0,0,0);
border:#D5F5E3 2px solid;
margin:2%;
padding:10px;
}
.container {
width: auto;
margin: auto;
}
a {
text-transform: uppercase;
text-decoration: none;
font-weight: 700;
}
.btn {
position: relative;
letter-spacing: 0.25em;
margin: 0 auto;
padding: 1rem 2.5rem;
background: transparent;
outline: none;
font-size: 28px;
color: #333333;
}
.btn::after, .btn::before {
content: "";
position: absolute;
height: 100%;
width: 50%;
transform: skewX(30deg);
transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
z-index: -2;
}
.btn::before {
background-color: #ABEBC6;
top: -1rem;
left: 0rem;
}
.btn::after {
background-color: #6495ED;
top: 1rem;
left: 8rem;
}
.btn:hover::before, .btn:hover::after {
top: 0;
transform: skewx(0deg);
}
.btn:hover::after {
left: 0rem;
}
.btn:hover::before {
left: 8.75rem;
}