-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
91 lines (78 loc) · 1.47 KB
/
style.css
File metadata and controls
91 lines (78 loc) · 1.47 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
body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
text-align: center;
}
h1 {
color: rgb(0, 128, 255);
text-align: center;
}
/* From Uiverse.io by BHARGAVPATEL1244 */
button {
outline: none;
cursor: pointer;
border: none;
padding: 0.9rem 2rem;
margin: 0;
font-family: inherit;
font-size: inherit;
position: relative;
display: inline-block;
letter-spacing: 0.05rem;
font-weight: 700;
font-size: 17px;
border-radius: 500px;
overflow: hidden;
background: rgb(0, 128, 255);
color: ghostwhite;
margin: 0 auto;
display: block;
}
button span {
position: relative;
z-index: 10;
transition: color 0.4s;
}
button:hover span {
color: aliceblue;
}
button::before,
button::after {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 0;
}
button::before {
content: "";
background: rgb(93, 161, 220);
width: 120%;
left: -10%;
transform: skew(30deg);
transition: transform 0.4s cubic-bezier(0.3, 1, 0.8, 1);
}
button:hover::before {
transform: translate3d(100%, 0, 0);
}
a {
text-decoration: none;
color: white;
}
hr {
width: 100vh;
}
h2 {
color: rgb(0, 128, 255);
}
.projects-1 {
color: rgb(0, 179, 255);
}
.projects-2 {
color: rgb(0, 179, 255);
}
img {
width: 40vh;
border-radius: 30px;
}