forked from rhvsingh/hacktoberfest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
120 lines (101 loc) · 2.09 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
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@200&display=swap');
:root {
--font-style: 300 1em/1.5 'Nunito Sans', sans-serif;
}
*,
*:before,
*:after {
box-sizing: border-box;
padding: 0;
margin: 0;
font: var(--font-style);
text-decoration: none;
color:white;
}
body {
background: #131315;
font: var(--font-style);
background-image: url(oJ7mKaaj_400x400.jpg);
background-position: center;
background-repeat: no-repeat;
}
.nav-title{
text-align: center;
text-shadow: #DF00FF;
text-decoration-color: aqua;
width:border;
border:6px solid palevioletred;
width:260px;
border-radius: 20px;
box-shadow: yellow;
font-size:40px;
font-style: italic;
font-weight: bolder;
}
.nav-links{
size: 3px;
color: coral;
padding: 7px;
size-adjust: 30px;
font-size:18px;
font-weight: 100;
}
.link-inner{
font-weight: bold;
}
img{
border-radius:50%;
}
button:hover {
cursor: pointer;
box-shadow: 0px 4px 4px #DF00FF;
}
button {
color: #fff;
border-radius: 25px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: transparent;
outline: none;
border: 0;
padding: 15px 50px;
overflow: hidden;
transition: all 0.5s;
}
/*button:before (attr data-hover)*/
button:hover:before {
opacity: 1;
transform: translate(0, 0);
}
.about{
font-size: 25px;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
button:before {
content: attr(data-hover);
position: absolute;
top: 1.1em;
left: 0;
width: 100%;
text-transform: uppercase;
letter-spacing: 3px;
font-weight: 800;
font-size: .8em;
opacity: 0;
transform: translate(-100%, 0);
transition: all .3s ease-in-out;
}
/*button div (button text before hover)*/
button:hover div {
opacity: 0;
transform: translate(100%, 0)
}
button div {
text-transform: uppercase;
letter-spacing: 3px;
font-weight: 800;
font-size: .8em;
transition: all .3s ease-in-out;
}