Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
120 lines (107 loc) · 1.8 KB
/
Copy pathstyle.css
File metadata and controls
120 lines (107 loc) · 1.8 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
110
111
112
113
114
115
116
117
118
119
120
@font-face {
font-family: Plus Jakarta Sans;
src: url(PlusJakartaSans.ttf);
}
body {
font-family: "Plus Jakarta Sans", sans-serif;
background-color: #000000;
color: #ffffff;
padding: 0 min(150px, 10vw);
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
gap: 40px;
margin: 0;
min-height: 100vh;
}
*,
*::before,
*::after {
font-family: "Plus Jakarta Sans";
color: #ffffff;
margin: 0;
transition: 0.25s;
}
div {
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
gap: 20px;
width: max-content;
max-width: min(90%, 700px);
}
body:has(a:hover) div > *:not(a) {
opacity: 0;
transition: 0.25s;
}
img {
height: 27px;
}
h2 {
font-size: 30px;
font-weight: 500;
line-height: 32px;
}
h4 {
font-size: 20px;
font-weight: 500;
line-height: 32px;
}
a {
text-decoration: none;
width: 100%;
}
button {
display: flex;
padding: 3px;
justify-content: flex-start;
align-self: stretch;
border: none;
border-radius: 10px;
background: linear-gradient(90.87deg, #00fa84 0%, #00555c 100%);
cursor: pointer;
width: 110%;
> * {
padding: 10px 20px;
border-radius: 7.5px;
font-size: 15px;
font-weight: 500;
line-height: 32px;
text-align: left;
flex: 1 0 0;
position: relative;
z-index: 1;
}
> *::before {
content: " ";
background: #000000;
border-radius: 8px;
width: 90%;
min-width: calc(100% - 50px);
height: 100%;
position: absolute;
left: 0;
top: 0;
z-index: -1;
transition: 1s ease-in-out;
}
> *::after {
content: "A-H";
font-size: 13px;
color: #ffffff;
border-radius: 8px;
width: 26px;
height: 100%;
position: absolute;
right: min(22px, 4%);
top: 0;
rotate: 90deg;
z-index: -2;
}
}
/* button:hover > *::before {
width: 99.85%;
transition: 1s ease-in-out;
} */