-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
248 lines (211 loc) · 5.63 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
@import url('https://fonts.googleapis.com/css?family=Pacifico');
:root {
--body-color: 48 48 58;
--font-color: 255 255 255;
--highlight-color: 0 0 0;
--theme-background: 20 20 20;
--theme-light: 0 0 0;
--theme-medium: 0 0 0;
--theme-dark: 0 0 0;
}
body {
background-color: rgb(var(--body-color));
margin: 0px;
}
body::-webkit-scrollbar {
width: 4px;
}
body::-webkit-scrollbar-track {
background-color: rgb(var(--theme-background));
}
body::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.15);
}
* {
box-sizing: border-box;
}
h1, h2, h3, h4, input, select, button, span, a, p {
color: rgb(var(--font-color));
font-family: "Noto Sans", sans-serif;
font-size: 1rem;
font-weight: 400;
margin: 0px;
}
#apps-container > a {
display: flex;
align-items: center;
gap: 0.5rem;
background-color: rgb(255 255 255 / 10%);
padding: 1.5rem 0.75rem; /* Adjust padding to make boxes taller */
border-radius: 0.2rem;
text-decoration: none;
position: relative; /* Add position relative to use for pseudo-element */
overflow: hidden;
}
/* Add an animated RGB border to the top heading */
body::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 2px;
background: linear-gradient(to right, rgb(255 0 0), rgb(0 255 0), rgb(0 0 255), rgb(255 0 0));
animation: headingBorderAnimation 5s infinite linear; /* Adjust animation duration and timing function */
box-sizing: border-box;
}
@keyframes headingBorderAnimation {
0% {
background: linear-gradient(to right, rgb(255 0 0), rgb(0 255 0), rgb(0 0 255), rgb(255 0 0));
}
25% {
background: linear-gradient(to right, rgb(0 0 255), rgb(255 0 0), rgb(0 255 0), rgb(0 0 255));
}
50% {
background: linear-gradient(to right, rgb(0 255 0), rgb(0 0 255), rgb(255 0 0), rgb(0 255 0));
}
75% {
background: linear-gradient(to right, rgb(255 0 0), rgb(0 255 0), rgb(0 0 255), rgb(255 0 0));
}
100% {
background: linear-gradient(to right, rgb(0 0 255), rgb(255 0 0), rgb(0 255 0), rgb(0 0 255));
}
}
/* Increase the width of the RGB border */
#apps-container > a::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 4px solid; /* Adjust border width */
border-image: linear-gradient(45deg, rgb(255 0 0), rgb(0 255 0), rgb(0 0 255), rgb(255 0 0));
border-image-slice: 1;
animation: borderAnimation 5s infinite linear; /* Adjust animation duration and timing function */
box-sizing: border-box;
pointer-events: none; /* Ensure the pseudo-element does not interfere with interaction */
}
/* Adjust font style to be more attractive */
body {
font-family: 'Pacifico', cursive; /* Use the 'Pacifico' font for the entire page */
}
#apps-container > a > .label > .name {
font-size: 1.5rem; /* Increase heading size */
font-weight: 600; /* Make the font weight bolder */
color: #ff6f61; /* Change font color to an attractive color */
}
#apps-container > a > .label > .url {
font-size: 0.8rem;
color: #4a90e2; /* Change font color to another attractive color */
}
/* Additional adjustments for different box sizes on hover or focus */
#apps-container > a:is(:hover, :focus) {
background-color: rgb(255 255 255 / 16%);
padding: 2rem 0.75rem; /* Adjust padding to make boxes taller */
}
#apps-container > a:is(:hover, :focus) {
background-color: rgb(255 255 255 / 16%);
}
#apps-container > a:first-child {
border-top-left-radius: 0.5rem;
}
#apps-container > a:nth-child(2) {
color: rgb(255, 0, 0);
border-top-right-radius: 0.5rem;
}
#apps-container > a:nth-child(3) {
color: rgb(28, 204, 91);
}
#apps-container > a:nth-child(4) {
color: rgb(28, 147, 228);
}
#apps-container > a:nth-child(5) {
color: rgb(242, 85, 90);
}
#apps-container > a:nth-child(7) {
border-bottom-left-radius: 0.5rem;
}
#apps-container > a:last-child {
color: rgb(15, 118, 14);
border-bottom-right-radius: 0.5rem;
}
@media(max-width: 500px) {
body {
overflow: auto;
}
#phone {
height: 100vh;
display: flex;
width: 100%;
margin: 0px auto;
}
#main-wrapper {
width: 100%;
flex-grow: 1;
}
}
.social-buttons {
display: flex;
flex-wrap: wrap;
justify-content: right;
gap: 8px;
}
.social-button {
position: relative;
display: flex;
justify-content: center;
align-items: center;
outline: none;
width: 30px;
height: 30px;
text-decoration: none;
border-radius: 100%;
background: #fff;
text-align: center;
}
.social-button::after {
content: '';
position: absolute;
top: -1px;
left: 50%;
display: block;
width: 0;
height: 0;
border-radius: 100%;
transition: 0.3s;
}
.social-button:focus, .social-button:hover {
color: #fff;
}
.social-button:focus::after, .social-button:hover::after {
width: calc(100% + 2px);
height: calc(100% + 2px);
margin-left: calc(-50% - 1px);
}
.social-button i, .social-button svg {
position: relative;
z-index: 1;
transition: 0.3s;
}
.social-button i {
font-size: 20px;
}
.social-button svg {
height: 40%;
width: 40%;
}
#apps-container {
display: grid;
gap: 0.2rem;
grid-template-columns: repeat(2, 50%);
margin: 3rem auto; /* Center the container and provide top margin */
width: 80%; /* Set a wider width */
}
/* Add this style to center the boxes */
.social-buttons {
display: flex;
justify-content: center;
align-items: center;
height: 100vh; /* Set a bigger height to center vertically */
}