-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprofile1.css
More file actions
141 lines (120 loc) · 2.3 KB
/
Copy pathprofile1.css
File metadata and controls
141 lines (120 loc) · 2.3 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
/* General Styles */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: cyan;
}
/* Header */
header {
background: #007bff;
color: white;
padding: 15px 0;
position: sticky;
top: 0;
z-index: 1000;
}
.container {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 20px;
}
.logo h1 {
margin: 0;
}
nav ul {
list-style: none;
display: flex;
gap: 20px;
}
nav ul li {
display: inline;
}
nav ul li a {
color: white;
text-decoration: none;
font-weight: bold;
}
.menu-toggle {
display: none;
font-size: 24px;
cursor: pointer;
}
/* Profile Section */
.profile-section {
display: flex;
justify-content: center;
padding: 40px 0;
}
.profile-container {
display: flex;
gap: 30px;
background: white;
padding: 30px;
border-radius: 10px;
box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
max-width: 800px;
width: 100%;
}
/* Cards */
.profile-card, .actions-card {
flex: 1;
padding: 20px;
border-radius: 8px;
background: whitesmoke;
box-shadow: 0px 35px 50px rgba(0, 0, 0, 0.4);
text-align: center;
opacity: 0.8;
}
.actions-card a{text-decoration: none;}
.profile-card{line-height: 4em; text-align: justify;}
.profile-card h2 {
color: #007bff;
}
.actions-card h2 {
color: #333;
margin-bottom: 15px;
}
button {
display: block;
width: 100%;
padding: 12px;
margin: 10px 0;
border: none;
border-radius: 5px;
background: #007bff;
color: white;
font-size: 16px;
cursor: pointer;
transition: 0.3s;
}
button:hover {
background: #0056b3;
}
/* Responsive Design */
@media (max-width: 768px) {
.profile-container {
flex-direction: column;
}
.menu-toggle {
display: block;
}
nav ul {
display: none;
flex-direction: column;
position: absolute;
top: 60px;
left: 0;
background: #007bff;
width: 100%;
padding: 10px;
}
nav ul.show {
display: flex;
}
nav ul li {
text-align: center;
margin: 10px 0;
}
}