zetarmany commited on
Commit
c717e82
·
verified ·
1 Parent(s): 667e073

Create style.css

Browse files
Files changed (1) hide show
  1. style.css +194 -0
style.css ADDED
@@ -0,0 +1,194 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* static/css/style.css */
2
+ :root {
3
+ --primary-color: #2c3e50;
4
+ --secondary-color: #3498db;
5
+ --accent-color: #e74c3c;
6
+ --dark-bg: #1a1a1a;
7
+ }
8
+
9
+ /* Loading Screen */
10
+ .loading-screen {
11
+ position: fixed;
12
+ top: 0;
13
+ left: 0;
14
+ width: 100%;
15
+ height: 100%;
16
+ background: linear-gradient(135deg, var(--primary-color), #000);
17
+ z-index: 9999;
18
+ display: flex;
19
+ justify-content: center;
20
+ align-items: center;
21
+ transition: opacity 0.5s ease, visibility 0.5s ease;
22
+ }
23
+
24
+ .loading-screen.hidden {
25
+ opacity: 0;
26
+ visibility: hidden;
27
+ }
28
+
29
+ .loading-content {
30
+ text-align: center;
31
+ color: white;
32
+ max-width: 600px;
33
+ padding: 20px;
34
+ }
35
+
36
+ .loading-slideshow {
37
+ width: 100%;
38
+ height: 300px;
39
+ border-radius: 10px;
40
+ overflow: hidden;
41
+ box-shadow: 0 10px 30px rgba(0,0,0,0.5);
42
+ margin-bottom: 20px;
43
+ background-size: cover;
44
+ background-position: center;
45
+ transition: background-image 1s ease;
46
+ }
47
+
48
+ /* Cards */
49
+ .photo-card {
50
+ transition: transform 0.3s ease, box-shadow 0.3s ease;
51
+ border: none;
52
+ border-radius: 10px;
53
+ overflow: hidden;
54
+ box-shadow: 0 5px 15px rgba(0,0,0,0.1);
55
+ }
56
+
57
+ .photo-card:hover {
58
+ transform: translateY(-5px);
59
+ box-shadow: 0 8px 25px rgba(0,0,0,0.2);
60
+ }
61
+
62
+ .photo-card img {
63
+ height: 250px;
64
+ object-fit: cover;
65
+ }
66
+
67
+ .trending-card {
68
+ border: 2px solid gold;
69
+ position: relative;
70
+ }
71
+
72
+ .trending-badge {
73
+ position: absolute;
74
+ top: 10px;
75
+ right: 10px;
76
+ background: linear-gradient(45deg, gold, #ffd700);
77
+ color: black;
78
+ padding: 5px 15px;
79
+ border-radius: 20px;
80
+ font-weight: bold;
81
+ box-shadow: 0 2px 10px rgba(0,0,0,0.3);
82
+ }
83
+
84
+ /* Admin Card */
85
+ .admin-card {
86
+ position: relative;
87
+ overflow: hidden;
88
+ }
89
+
90
+ .photo-overlay {
91
+ position: absolute;
92
+ top: 0;
93
+ left: 0;
94
+ width: 100%;
95
+ height: 100%;
96
+ background: rgba(0,0,0,0.5);
97
+ display: flex;
98
+ justify-content: center;
99
+ align-items: center;
100
+ opacity: 0;
101
+ transition: opacity 0.3s ease;
102
+ }
103
+
104
+ .admin-card:hover .photo-overlay {
105
+ opacity: 1;
106
+ }
107
+
108
+ /* Login Card */
109
+ .login-card {
110
+ border: none;
111
+ border-radius: 15px;
112
+ box-shadow: 0 10px 30px rgba(0,0,0,0.2);
113
+ }
114
+
115
+ .login-card .card-header {
116
+ border-radius: 15px 15px 0 0;
117
+ }
118
+
119
+ /* Buttons */
120
+ .btn-like {
121
+ transition: transform 0.2s ease;
122
+ }
123
+
124
+ .btn-like:hover {
125
+ transform: scale(1.1);
126
+ }
127
+
128
+ .btn-like.active {
129
+ color: var(--accent-color);
130
+ }
131
+
132
+ /* Animations */
133
+ @keyframes pulse {
134
+ 0% { transform: scale(1); }
135
+ 50% { transform: scale(1.05); }
136
+ 100% { transform: scale(1); }
137
+ }
138
+
139
+ .trending-card {
140
+ animation: pulse 2s infinite;
141
+ }
142
+
143
+ /* Responsive */
144
+ @media (max-width: 768px) {
145
+ .photo-card img {
146
+ height: 200px;
147
+ }
148
+
149
+ .loading-slideshow {
150
+ height: 200px;
151
+ }
152
+ }
153
+
154
+ /* Custom Scrollbar */
155
+ ::-webkit-scrollbar {
156
+ width: 10px;
157
+ }
158
+
159
+ ::-webkit-scrollbar-track {
160
+ background: #f1f1f1;
161
+ }
162
+
163
+ ::-webkit-scrollbar-thumb {
164
+ background: var(--primary-color);
165
+ border-radius: 5px;
166
+ }
167
+
168
+ ::-webkit-scrollbar-thumb:hover {
169
+ background: var(--secondary-color);
170
+ }
171
+
172
+ /* Notification */
173
+ .notification {
174
+ position: fixed;
175
+ top: 20px;
176
+ right: 20px;
177
+ padding: 15px 25px;
178
+ background: white;
179
+ border-radius: 10px;
180
+ box-shadow: 0 5px 20px rgba(0,0,0,0.2);
181
+ z-index: 10000;
182
+ animation: slideIn 0.3s ease;
183
+ }
184
+
185
+ @keyframes slideIn {
186
+ from {
187
+ transform: translateX(100%);
188
+ opacity: 0;
189
+ }
190
+ to {
191
+ transform: translateX(0);
192
+ opacity: 1;
193
+ }
194
+ }