-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
175 lines (153 loc) · 3.43 KB
/
style.css
File metadata and controls
175 lines (153 loc) · 3.43 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
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
/* General Reset */
body {
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
background: linear-gradient(135deg, #1e3c72, #2a5298);
color: #fff;
display: flex;
flex-direction: column;
align-items: center;
line-height: 1.8;
overflow-x: hidden;
}
/* Header */
.header {
text-align: center;
padding: 20px;
background: linear-gradient(145deg, #2a5298, #1e3c72);
border-radius: 15px;
margin: 20px;
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
animation: fadeIn 1s ease-in-out;
}
.header h1 {
font-size: 2.5rem;
text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
}
.header h2 {
font-size: 1.2rem;
margin-top: 10px;
color: #ddd;
}
/* Content Cards */
.content {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
padding: 20px;
}
.card {
background: linear-gradient(145deg, #ffffff, #f0f0f0);
color: #333;
width: 300px;
padding: 20px;
border-radius: 15px;
box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3), -10px -10px 20px rgba(255, 255, 255, 0.5);
text-align: center;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 25px rgba(0, 0, 0, 0.4);
}
.card img {
max-width: 100%;
margin: 15px 0;
border-radius: 10px;
}
.video-container {
text-align: center;
margin: 20px auto;
padding: 15px;
background: linear-gradient(145deg, #ffffff, #f0f0f0);
border-radius: 15px;
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
max-width: 600px;
}
.video-element {
width: 100%;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.video-caption {
font-size: 1rem;
color: #555;
margin-top: 10px;
}
/* Table */
.table-section {
width: 90%;
max-width: 800px;
margin: 20px auto;
text-align: center;
}
.table-section table {
width: 100%;
border-collapse: collapse;
background: linear-gradient(145deg, #d87474, #b65d5d);
border-radius: 10px;
overflow: hidden;
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}
.table-section th, .table-section td {
padding: 15px;
border: 1px solid #ddd;
}
.table-section th {
background: #2a5298;
color: #fff;
}
.table-section tr:hover {
background: #ddd;
}
/* Login Form */
.login-section {
width: 350px;
padding: 20px;
background: linear-gradient(145deg, #e66868, #f0f0f0);
border-radius: 15px;
box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3), -10px -10px 20px rgba(255, 255, 255, 0.5);
margin: 20px auto;
}
.login-form label {
display: block;
margin-bottom: 5px;
font-size: 1rem;
color: #333;
}
.login-form input {
width: 90%;
padding: 10px;
margin-bottom: 15px;
border: none;
border-radius:3px;
box-shadow: inset 3px 3px 6px rgba(0, 0, 0, 0.2), inset -3px -3px 6px rgba(255, 255, 255, 0.5);
}
.login-form button {
width: 100%;
padding: 10px;
background: linear-gradient(145deg, #1e3c72, #2a5298);
border: none;
border-radius: 5px;
color: white;
font-size: 1.2rem;
cursor: pointer;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.login-form button:hover {
transform: scale(1.05);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}
/* Animations */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}