-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
137 lines (123 loc) · 2.85 KB
/
style.css
File metadata and controls
137 lines (123 loc) · 2.85 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
/* Improved Styles for RandomFetch Pages */
html {
overflow-y: auto;
}
body {
min-height: 100vh;
background-color: #0F0F0F;
margin: 0;
font-family: 'Poppins', sans-serif;
}
.box-container {
width: 100%;
min-height: calc(100vh - 100px);
display: flex;
justify-content: center;
align-items: flex-start; /* Align top with some margin */
padding-top: 2rem;
padding-bottom: 2rem;
box-sizing: border-box;
margin-top: 3rem;
}
.box {
width: 90%;
max-width: 500px;
background: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
border-radius: 20px;
padding: 2.5rem;
color: white;
transition: all 0.4s ease;
display: flex;
flex-direction: column;
align-items: center;
gap: 1.5rem;
/* justify-content: space-evenly; Removed to let gap handle spacing */
}
.box:hover {
transform: translateY(-5px);
border-color: rgba(0, 255, 157, 0.5);
box-shadow: 0 10px 40px rgba(0, 255, 157, 0.15);
background: rgba(255, 255, 255, 0.08);
}
button {
background: transparent;
border: 2px solid #00FF9D;
color: #00FF9D;
padding: 1rem 2rem;
font-size: 1.1rem;
font-weight: 600;
border-radius: 50px;
cursor: pointer;
transition: all 0.3s ease;
width: 100%;
font-family: 'Poppins', sans-serif;
text-transform: uppercase;
letter-spacing: 1px;
margin-bottom: 0; /* Handled by gap */
}
button:hover {
background: #00FF9D;
color: #0F0F0F;
box-shadow: 0 0 20px rgba(0, 255, 157, 0.4);
transform: translateY(-2px);
}
button:active {
transform: translateY(0);
}
.content-container {
width: 100%;
min-height: 200px;
max-height: 60vh;
padding: 1.5rem;
border: 1px solid rgba(0, 255, 157, 0.3);
border-radius: 15px;
overflow-y: auto;
background: rgba(0, 0, 0, 0.2);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
word-wrap: break-word;
}
/* Scrollbar for content */
.content-container::-webkit-scrollbar {
width: 8px;
}
.content-container::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.05);
border-radius: 4px;
}
.content-container::-webkit-scrollbar-thumb {
background: #00FF9D;
border-radius: 4px;
}
.content-container img {
max-width: 100%;
height: auto;
border-radius: 10px;
box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
h1 {
text-align: center;
color: #fff;
margin-bottom: 2rem;
text-shadow: 0 0 10px rgba(0, 255, 157, 0.3);
}
p {
font-size: 1.1rem;
line-height: 1.6;
}
@media (max-width: 600px) {
.box {
padding: 1.5rem;
}
button {
padding: 0.8rem 1.5rem;
font-size: 1rem;
}
}