-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
174 lines (142 loc) · 3.18 KB
/
styles.css
File metadata and controls
174 lines (142 loc) · 3.18 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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
body{
background-color: rgb(228, 204, 200);
height: 100%;
}
h1{
color: rgb(250, 250, 250);
text-align: center;
justify-content: center;
display: flex;
padding-top: 60px;
font-family: 'Courier New', Courier, monospace;
}
h3{
color: rgb(250, 250, 250);
text-align: center;
justify-content: center;
display: flex;
font-family: monospace;
}
a{
color: rgb(3, 4, 61);
}
p{
font-size: large;
}
.middle-container{
display:flex;
min-width: 50%;
min-height: 60%;
justify-content: center;
flex-direction: column;
height: 100vh;
position: relative;
margin: 0 auto;
width:70%;
background-color: rgb(228, 221, 215);
border-radius: 20px; /*rounded corner*/
overflow: hidden; /*hidden overflow*/
}
.nav{
display: flex;
justify-content: right;
padding:1%;
height: 2%;
/*background-color: aquamarine;*/
}
.banner{
height: 20%;
align-items: center;
background-color: rgb(25, 25, 26);
position: relative;
border-radius: 10px; /*rounded corner*/
overflow: hidden; /*hidden overflow*/
}
.profile-pic {
width: 200px; /* Adjust as needed */
height:200px; /* Same as width for a perfect circle */
border-radius: 50%;
object-fit:cover;/* Ensures the image fills the circle */
top: -10%;
left: 2%;
position: relative;
}
.sub-middle-container{
width: 100%;
top: -10%;
left: 5%;
position: relative;
}
#info-conntainer{
display: flex;
width: 100%;
}
#info-container > div{
width:50%;
}
#show-links{
font-size: x-large;
}
.about-this-page{
width: 60%;
height:fit-content;
}
#assignment-links {
display: none; /* Initially hidden */
width: 30%;
padding: 2% 0 0 10%;
border-radius: 10px;
}
#assignment-links ul {
list-style:none;
}
#assignment-links li:hover {
transition: transform 0.3s ease-in-out;
transform: scale(1.1);
}
#about-me{
width: 60%;
}
.image-container{
display: flex;
width:100%; /* Ensures equal width */
height:100%; /* Ensures equal height */
gap: 20px; /* Spacing between images */
}
.image-container > img{
width: 50%;
}
.image-container img{
width: 300px; /* Ensures equal width */
height: 300px; /* Ensures equal height */
object-fit: cover;
border-radius: 10%;
transition: transform 0.3s ease-in-out;
background-color:aqua;
}
.werwer{
display: flex;
justify-content: left;
border-radius: 10%;
object-fit: cover;
}
.image-container img:hover {
transform: scale(1.1);
}
.hidden {
display: none;
}
.qr-container {
display: flex;
justify-content: flex-end; /* Align to the right */
gap: 20px; /* Optional: space between QR image and other elements if any */
top: 20px; /* Adjust the positioning as necessary */
position: relative; /* Ensure the positioning works correctly */
}
.qr-container img {
width: 100px; /* Adjust this size as needed */
height: 100px; /* Maintain aspect ratio or adjust */
object-fit: cover; /* Ensures the image scales correctly */
border-radius: 10%; /* Optional: rounded corners */
transition: transform 0.3s ease-in-out;
}