forked from iamrahulmahato/master-web-development
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtestp.css
142 lines (123 loc) · 2.69 KB
/
testp.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
/* Global Styles */
body {
font-family: 'Arial', sans-serif;
background: #040423; /* Dark background */
color: #fff;
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Profile Container */
.profile-container {
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
width: 100%;
max-width: 1200px; /* Limit width for laptops and larger screens */
margin: auto;
}
/* Content Sections */
.content-section {
width: 100%;
margin: 20px 0;
padding: 15px;
background: #1c1c3c;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
text-align: left;
}
/* Profile Details Card */
.profile-detail-card {
background: #344565;
padding: 15px;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
text-align: left;
margin: 10px 0;
transition: transform 0.3s;
}
/* Hover Effect for Cards */
.profile-detail-card:hover {
transform: scale(1.03);
}
/* Buttons */
button, .button {
background-color: #e63946;
color: #fff;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s, transform 0.2s;
}
button:hover, .button:hover {
background-color: #d62839;
transform: scale(1.05);
}
/* Account Details and Notification Cards */
.account-card, .notification-card {
background: #6c757d;
color: #fff;
padding: 10px;
border-radius: 8px;
margin: 10px 0;
text-align: left;
align-items: flex-end;
transition: transform 0.3s;
}
/* Hover Effect for Account/Notification Cards */
.account-card:hover{
transform: translateY(-3px);
}
.notification-card:hover {
transform: translateY(-3px);
}
/* Responsive Adjustments */
/* Laptop and larger screens */
@media (max-width: 1200px) {
.profile-container {
max-width: 100%;
padding: 15px;
}
.content-section {
margin: 15px 0;
padding: 10px;
}
}
/* Tablet screens */
@media (max-width: 768px) {
.profile-container {
padding: 10px;
}
.content-section {
margin: 10px 0;
padding: 8px;
}
.profile-detail-card, .account-card, .notification-card {
padding: 12px;
font-size: 0.9rem;
}
button, .button {
padding: 8px 16px;
font-size: 0.9rem;
}
}
/* Mobile screens */
@media (max-width: 480px) {
.profile-container {
padding: 5px;
}
.content-section {
padding: 8px;
margin: 10px 0;
}
.profile-detail-card, .account-card, .notification-card {
padding: 8px;
font-size: 0.85rem;
}
button, .button {
padding: 6px 12px;
font-size: 0.85rem;
}
}