Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
109 lines (96 loc) · 2.17 KB
/
Copy pathstyles.css
File metadata and controls
109 lines (96 loc) · 2.17 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
@tailwind base;
@tailwind components;
@tailwind utilities;
body {
background: linear-gradient(
to bottom,
transparent 0%,
white 70%
),
fixed 0 0 / 20px 20px radial-gradient(rgb(212, 212, 212) 1px, transparent 0),
fixed 10px 10px / 20px 20px radial-gradient(rgb(202, 202, 202) 1px, transparent 0);
}
.dark body {
background: linear-gradient(
to bottom,
transparent 0%,
#111111 30%
),
fixed 0 0 / 20px 20px radial-gradient(rgb(47, 47, 47) 1px, transparent 0),
fixed 10px 10px / 20px 20px radial-gradient(rgb(43, 43, 43) 1px, transparent 0);
}
.logo{
display: flex;
justify-content: space-between;
align-items: center;
width: 115px;
}
.logo > span{
font-weight: 600;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
.center {
display: flex;
align-items: center;
justify-content: center;
}
.styled-button {
all: unset;
width: 100px;
height: 30px;
font-size: 16px;
background: transparent;
border: none;
position: relative;
color: #f0f0f0;
cursor: pointer;
z-index: 1;
padding: 10px 20px;
display: flex;
align-items: center;
justify-content: center;
white-space: nowrap;
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
}
.styled-button::after,
.styled-button::before {
content: "";
position: absolute;
bottom: 0;
right: 0;
z-index: -99999;
transition: all 0.4s;
}
.styled-button::before {
transform: translate(0%, 0%);
width: 100%;
height: 100%;
background: #28282d;
border-radius: 10px;
}
.styled-button::after {
transform: translate(10px, 10px);
width: 35px;
height: 35px;
background: #ffffff15;
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
border-radius: 50px;
}
.styled-button:hover::before {
transform: translate(5%, 20%);
width: 110%;
height: 110%;
}
.styled-button:hover::after {
border-radius: 10px;
transform: translate(0, 0);
width: 100%;
height: 100%;
}
.styled-button:active::after {
transition: 0s;
transform: translate(0, 5%);
}