-
Notifications
You must be signed in to change notification settings - Fork 0
/
universe.css
240 lines (201 loc) · 5.34 KB
/
universe.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
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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
/* Navbar */
ul{
display: inline;
}
ul li {
display: inline-block;
position: relative;
margin-top: 30px;
}
ul li a {
text-decoration: none;
color: yellow;
font-size: 25px;
text-transform: capitalize;
padding: 20px;
font-weight: 800;
}
a.nav-link{
color: white;
}
ul li a.nav-link:hover{
color: #000;
background: lightblue;
border-radius: 20px;
}
label{
font-weight: 800;
font-size: 18px;
margin-left: 240px;
}
button.btn-btn-info{
width: 100%;
height: 50px;
color:#fff;
background: black;
border: 0px;
margin-top: 30px;
}
button:hover{
background: green;
}
/* Main container with image and text */
.image-container {
position: relative;
text-align: left;
color: white;
}
.image-container img {
width: 100%;
height: 700px;
display: block;
}
.overlay-text {
position: absolute;
top: 50%;
left: 15%;
transform: translate(-20%, -30%);
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
width: 60%;
}
.overlay-text h1 {
font-size: 6rem;
font-weight: bold;
margin-bottom: 10px;
}
.overlay-text p {
font-size: 1.4rem;
color: yellow;
}
/* text */
.text-container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
width: 100%;
padding: 20px;
background-color: gold;
color: black;
box-sizing: border-box;
height: 700px;
}
.text-container h1{
font-size: 3.5rem;
margin: 10px 0;
}
.text-container p{
margin: 10px 0;
font-size: 1.2rem;
width: 60%;
}
/* Uni Image */
.universeimg {
width: 100%;
box-sizing: border-box;
}
.universeimg img {
width: 100%;
height: auto;
display: block;
border-radius: 0;
}
/* Featured Story */
.today {
display: flex;
align-items: center; /* Align items vertically */
justify-content: space-between; /* Adjust spacing between elements */
padding: 20px; /* Add padding for spacing */
height: 800px;
}
.today-content {
flex: 1; /* Make the text container take up available space */
padding-right: 20px; /* Space between the text and image */
}
.big{
font-size: 4.5rem; /* Make the heading bigger */
color: black;
}
.img-of-day {
max-width: 60%; /* Ensure the image does not take more than 50% of the width */
height: 700px; /* Maintain aspect ratio */
}
.container-fluid-expand {
max-width: 100%; /* Ensure the container takes the full width of the page */
margin: 0 auto; /* Center the container horizontally */
padding: 0 15px; /* Add some padding for spacing */
}
/* Main container with image and text */
.image-container {
position: relative;
text-align: left;
color: white;
}
.image-container img {
width: 100%;
height: auto;
display: block;
}
.overlay-text {
position: absolute;
top: 50%;
left: 15%;
transform: translate(-20%, -30%);
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
width: 60%;
}
.overlay-text h1 {
font-size: 6rem;
font-weight: bold;
margin-bottom: 10px;
color: gold;
}
.overlay-text p {
font-size: 1.4rem;
color: floralwhite;
}
/* Footer */
footer {
margin-top: 10px;
background-color: black;
color: #fff;
text-align: center;
padding: 20px 0;
}
footer p {
margin: 0;
}
.social-icons {
margin: 10px 0;
}
.social-icons a {
color: gold;
margin: 0 10px;
font-size: 1.5rem;
text-decoration: none;
}
.social-icons a:hover {
color: #00BFFF; /* Change icon color on hover */
transform: scale(1.2); /* Slightly enlarge icon on hover */
}
.footer-logo{
float: left;
}
.foot-logo{
margin-top: 80px;
text-align: left;
margin-left: 10px;
}
.hurray{
float: left;
color: grey;
}
.bottom{
margin-right: 350px;
color: whitesmoke;
}
.me{
color: skyblue;
margin-top: 12px;
}