-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
67 lines (53 loc) · 1.28 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
@import url('https://fonts.googleapis.com/css2?family=Oswald&family=Pixelify+Sans:wght@600&family=Poppins:wght@300&family=Roboto:wght@400&display=swap');
:root{
--blue: #463f96;
--light-blue: #121025;
}
*{
margin: 0;
padding: 0;
}
body {
background-color: rgb(10, 10, 10);
height: 100vh;
padding: 0;
margin: 0;
display: flex;
justify-content: center;
flex-direction: column;
}
.link {
border-top: 1px solid rgba(255, 255, 255, 0.5) ;
color: white;
display: block;
font-family: 'Pixelify Sans', sans-serif;;
font-size: clamp(2em, 8vw, 7em);
padding: clamp(0.25em, 1vw, 1em) clamp(1em, 4vw, 4em);
text-decoration: none;
position: relative;
}
.light:hover{
color: var(--light-blue);
}
.link:nth-child(3){
border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
.link:hover:before{
transition: width 600ms ease;
width: 100%;
}
.link:before{
/*background: linear-gradient(
to right,
transparent,
blue
);*/
/*background: -webkit-linear-gradient(to right, #8e0e00, #1f1c18);*/
background: linear-gradient(to right, transparent,var(--blue), var(--light-blue));
content: "";
position: absolute;
content: 0px;
left: 0px;
height: 100%;
width: 0%;
}