-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
109 lines (102 loc) · 1.99 KB
/
Copy pathstyle.css
File metadata and controls
109 lines (102 loc) · 1.99 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
/* you can import CSS from other pens - we'll import color and typography styles from this pen */
@import url(https://fonts.googleapis.com/css?family=Oswald);
body {
background: #001127;
color: #00e0e0;
font-family: "Oswald", Arial, sans-serif;
text-align: center;
}
h1 {
width: 100%;
color: #fff;
text-align: center;
letter-spacing: 0.1em;
margin: 2em 0;
font-size: 2.5em;
font-family:initial;
}
.links {
width: 90%;
margin: 0 auto;
}
.link {
display: inline-table;
vertical-align: middle;
width: 100px;
height: 34px;
line-height: 36px;
/* text-transform: uppercase; */
text-decoration: none;
color: #00e0e0;
letter-spacing: 0.13em;
text-align: center;
font-size: 1.5rem;
margin: 40px;
position: relative;
}
.link span {
position: absolute;
height: 100%;
width: 100%;
top: 0;
left: 0;
text-align: center;
}
/* .wipe, .slide, .opacity {
border: 2px solid #00e0e0;
border-radius: 4px;
overflow: hidden;
}
.opacity {
transition: background-color 0.3s linear, color 0.3s linear;
background: rgba(255, 255, 255, 0);
}
.opacity:hover {
color: #124a58;
background: rgba(255, 255, 255, 0.9);
}
.wipe {
transition: color 0.3s ease-out;
}
.wipe::after {
width: 100%;
height: 100%;
display: block;
background-color: #fff;
content: " ";
position: absolute;
top: 0;
transition: transform 0.2s cubic-bezier(0.215, 0.61, 0.355, 1);
transform: translateY(34px);
z-index: -1;
}
.wipe:hover {
color: #124a58;
}
.wipe:hover::after {
transform: translateY(0px);
}*/
.underline {
border: 2px solid transparent;
}
.underline::after {
width: 0%;
height: 2px;
display: block;
background-color: #fff;
content: " ";
position: absolute;
top: 34px;
left: 50%;
transition: left 0.2s cubic-bezier(0.215, 0.61, 0.355, 1), width 0.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.underline:hover::after {
width: 100%;
height: 2px;
display: block;
background-color: #fff;
content: " ";
position: absolute;
top: 34px;
left: 0;
}