-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
110 lines (96 loc) · 1.75 KB
/
styles.css
File metadata and controls
110 lines (96 loc) · 1.75 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
body {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
background-color: #eceff1;
margin: 0;
font-family: 'Arial', sans-serif;
}
button {
padding: 10px 20px;
background-color: #6200ea;
color: white;
border: none;
border-radius: 8px;
cursor: pointer;
font-size: 16px;
transition: background-color 0.3s;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}
button:hover {
background-color: #3700b3;
}
#profile-card {
display: flex;
flex-direction: column;
align-items: center;
background: white;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
margin-top: 20px;
max-width: 400px;
width: 100%;
}
#image {
border-radius: 50%;
width: 150px;
height: 150px;
object-fit: cover;
border: 4px solid #ddd;
margin-bottom: 10px;
}
#username {
margin: 5px 0;
font-size: 24px;
color: #333;
font-weight: bold;
text-align: center;
}
#details {
margin-top: 10px;
text-align: left;
font-size: 14px;
color: #555;
width: 100%;
line-height: 1.5;
}
hr {
width: 80%;
margin: 20px 0;
border: 0;
height: 1px;
background: #ccc;
}
/* Responsive */
@media (max-width: 768px) {
body {
padding: 0 10px;
box-sizing: border-box;
}
button {
width: 100%;
font-size: 14px;
}
#profile-card {
padding: 15px;
width: 100%;
margin: 20px auto;
max-width: 90%;
}
#image {
width: 120px;
height: 120px;
}
#username {
font-size: 20px;
}
#details {
font-size: 12px;
}
hr {
width: 100%;
}
}