-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
96 lines (84 loc) · 1.67 KB
/
styles.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
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
text-align: center;
margin: 0;
padding: 0;
}
.user-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
padding: 20px;
}
.user-card1 {
background-color: #fff;
border: 1px solid #ddd;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
width: 300px;
padding: 20px;
text-align: center;
transition: transform 0.2s;
}
.user-card1:hover {
transform: scale(1.05);
}
.user-avatar1 {
max-width: 100px; /* Set the desired max width */
height: auto;
border-radius: 50%;
}
.user-card1 a {
text-decoration: none;
color: #007bff;
font-weight: bold;
}
.user-card1 a:hover {
text-decoration: underline;
}
.user-card1 p {
margin: 10px 0;
}
.user-data-left,
.user-data-right {
width: 45%; /* Adjust the width as needed */
}
.user-card {
background-color: #fff;
border: 1px solid #ddd;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
width: 600px; /* Increased card width for two columns */
padding: 20px;
margin: 20px auto;
text-align: left;
display: flex; /* Use flexbox to create two columns */
justify-content: space-between; /* Space between the columns */
transition: transform 0.2s;
}
.user-card:hover {
transform: scale(1.05);
}
.user-card img {
max-width: 100px;
height: 100px;
border-radius: 50%;
border: 5px solid rgb(24, 99, 157); /* Add this line for the black border */
}
.user-data-field {
margin: 10px 0;
}
.user-data-label {
font-weight: bold;
}
.navbar-expand-lg {
flex-wrap: wrap;
justify-content: flex-start;
}
.user-image {
width: 116px;
margin-right: 20px;
height: 100px;
}