-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabout.css
165 lines (146 loc) · 3.19 KB
/
about.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
.title{
display: flex;
justify-content: center;
color: rgb(143, 248, 209);
font-size: 30px;
}
nav{
display: flex;
padding:15px;
margin:15px;
justify-content: space-between;
}
.head input{
height: 50px;
width:400px;
border-radius: 15px;
}
.head {
display: flex;
justify-content: space-around;
position: relative; /* Add position relative to enable absolute positioning within */
}
.head h3 {
font-size: 25px;
cursor: pointer; /* Move cursor:pointer to the common selector */
color: black; /* Ensure default color */
}
.head img {
height: 300px;
width: 400px;
}
.head img:hover {
opacity: 0.8; /* Adjust opacity to give the hover effect */
}
.energy_content h4,
.topic_content h4,
.report_content h4 {
font-size: 35px;
font-weight: 300;
}
.energy_image,
.topic_image,
.report_image {
display: flex;
justify-content: space-evenly;
}
.energy_info,
.topic_info,
.report_info {
display: flex;
justify-content: space-around;
font-size: 35px;
}
.energy_content,
.topic_content,
.report_content {
display: none;
position: absolute; /* Add absolute positioning */
top: calc(100% + 10px); /* Adjust top position to appear below the header */
left: 50%; /* Center horizontally */
transform: translateX(-50%); /* Adjust horizontally centered position */
background-color: white; /* Add background color */
padding: 20px; /* Add padding for spacing */
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Add box shadow for better visibility */
z-index: 1; /* Ensure it appears above other content */
}
.energy:hover .energy_content,
.topic:hover .topic_content,
.report:hover .report_content {
display: block; /* Show content on hover */
}
.energy_content img,
.topic_content img,
.report_content img {
height: 150px; /* Adjust image size */
width: 200px;
margin: 5px; /* Add margin for spacing */
}
.about_image{
height:700px;
width: 1330px;
background-image: url("1080p-nature-background-wfy2pf2assfvt5sz.jpg");
background-size: contain;
}
.about_image {
font-size:30px;
display: flex;
justify-content: center;
align-items: center;
}
.mission{
background-color: rgb(226, 224, 224);
font-size: 25px;
height:400px;
}
.mission p{
font-size:20px;
display: flex;
justify-content: center;
align-items: center;
margin-left: 50px;
margin-right: 50px;
}
.offer p{
font-size: 20px;
}
.work{
display: flex;
}
.work img{
height:500px;
width:500px;
}
.work ol{
font-size: 20px;
letter-spacing: .8px;
margin-left :30px;
line-height: 40px;
}
.UN p{
font-size: 20px;
letter-spacing: .8px;
margin-right :30px;
line-height: 40px;
}
.UN img{
height:300px;
width:450px;
position:relative;
left:400px;
}
.footer{
background-color: rgb(79, 78, 78);
display: flex;
justify-content: space-around;
align-items: center;
height:600px;
}
.footer div{
padding:50px;
}
.footer a{
font-size: 20px;
text-decoration: none;
color: white;
}