-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHedyLamarr1.css
96 lines (82 loc) · 1.66 KB
/
HedyLamarr1.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 {
background-color: #a4cbda;
font-family: "Inter", sans-serif;
color: #394a79;
margin: 0;
padding: 0;
}
.profile {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
.profile .title {
text-align: center; /* Change from "left" to "center" */
margin-right: auto; /* Remove margin-right and margin-left */
margin-left: auto;
display: flex;
flex-direction: column;
justify-content: center; /* Change from "flex-start" to "center" */
}
.profile h1 {
font-size: 48px;
font-weight: bolder;
margin: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.profile h2 {
font-size: 35px;
font-weight: bold;
margin: 0;
margin-top: 5px;
}
.profile img {
border-radius: 8%;
width: 300px;
height: auto;
object-fit: cover;
margin: 40px auto; /* Change margin properties to "auto" */
}
.biography h1 {
font-size: 20px;
font-weight: normal;
margin-top: 30px;
margin-bottom: 30px;
margin-left: 20px;
margin-right: 20px ;
}
.more-info h1 {
font-size: 20px;
font-weight: 400;
margin-top: 50px;
margin-bottom: 20px;
margin-left: 30px;
}
a {
color: inherit;
text-decoration: none;
line-height: 1.5;
font-size: 20px;
font-weight: normal;
}
a:hover {
text-decoration: underline;
}
@media (max-width: 768px) {
.profile {
flex-direction: column;
text-align: center;
}
.profile .title {
margin: 20px 0;
}
.profile img {
margin: 20px 0;
}
.more-info h1 {
margin-left: 0;
}
}