Skip to content

Commit 13630ad

Browse files
changed contact section
1 parent 9d68ca9 commit 13630ad

File tree

2 files changed

+50
-41
lines changed

2 files changed

+50
-41
lines changed

css/index.css

+42-6
Original file line numberDiff line numberDiff line change
@@ -371,19 +371,54 @@
371371
}
372372

373373
#contact{
374+
border-style: solid;
375+
border-color: #fff;
376+
border-radius: 100px / 70px; /* chosen different vertical and horizontal radius for smooth border */
374377
overflow: hidden;
378+
display: flex;
379+
justify-content: space-between;
380+
gap: 20px;
381+
padding: 60px 30px;
382+
margin: 100px 20px;
375383
}
376-
#contactMap{
377-
display: block;
378-
width: 60%;
379-
float: left;
384+
385+
.contactLeftSection{
386+
align-items: center;
387+
justify-content: center;
388+
flex: 40%;
389+
padding: 20px;
390+
}
391+
392+
.contactRightSection{
393+
align-items: top;
394+
justify-content: right;
395+
flex: 60%;
396+
padding: 20px;
380397
}
398+
399+
#titleContact{
400+
font-family: "Montserrat", sans-serif;
401+
text-transform: uppercase;
402+
font-weight: 200;
403+
font-size: 60px;
404+
text-align: center;
405+
}
406+
407+
.mailText{
408+
font-family: "Lucida Console", "Courier New", monospace;
409+
padding-bottom: 15px;
410+
text-align: right;
411+
}
412+
413+
.email{
414+
font-style: italic;
415+
}
416+
381417
#contactDetails{
382418
display: block;
383419
width: calc(40% - 10px);
384420
float: left;
385421
box-sizing: border-box;
386-
background-color: rgba(255, 255, 255, 0.8);
387422
margin: 0 0 0 10px;
388423
color: #000;
389424
}
@@ -412,9 +447,10 @@
412447
#contactDetails .socials{
413448
display: flex;
414449
flex-direction: row;
450+
justify-content: right;
415451
}
416452
#contactDetails .socials a{
417-
width: calc(100% / 4);
453+
width: 120px;
418454
height: 50px;
419455
display: flex;
420456
justify-content: center;

index.html

+8-35
Original file line numberDiff line numberDiff line change
@@ -139,28 +139,15 @@
139139
</div> -->
140140

141141
<div id="contact">
142-
<div class="title">Contact</div>
142+
<div id="titleContact" class="contactLeftSection">Contacts</div>
143143

144-
<iframe
145-
id="contactMap"
146-
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d15549.279425908911!2d77.56144658387726!3d13.01529185395299!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3bae17d3b5a43863%3A0xe4240a4d6bc7a0da!2sDepartment%20Of%20Computer%20Science%20And%20Automation!5e0!3m2!1sen!2sin!4v1679229205647!5m2!1sen!2sin"
147-
width="600"
148-
height="450"
149-
style="border: 0"
150-
allowfullscreen=""
151-
loading="lazy"
152-
referrerpolicy="no-referrer-when-downgrade"
153-
title="Map to CSA"
154-
></iframe>
155-
<div id="contactDetails">
156-
<a class="email" href="mailto:[email protected]">
157-
<span class="material-symbols-outlined"> mail </span>
158-
<span>[email protected]</span>
159-
</a>
160-
<a class="phone" href="tel:+918825063816">
161-
<span class="material-symbols-outlined"> call </span>
162-
<span>+91 88250 63816</span>
163-
</a>
144+
<div id="contactDetails" class="contactRightSection">
145+
<div class="mailText">
146+
Mail us at
147+
<a class="email" href="mailto:[email protected]">
148+
<span>[email protected]</span>
149+
</a>
150+
</div>
164151
<div class="socials">
165152
<a href="https://www.facebook.com/people/Databased/100091411453016/" class="facebook" target="_blank">
166153
<img src="./img/social/facebook.png" alt="facebook link image"/>
@@ -177,20 +164,6 @@
177164
</div>
178165
</div>
179166
</div>
180-
<div class="hubspot-form">
181-
<div id="hubspot-form-title">Subscribe for our latest updates</div>
182-
<div id="hubspot-form-description">
183-
Stay updated with events and opportunities from Databased.
184-
</div>
185-
<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/embed/v2.js"></script>
186-
<script>
187-
hbspt.forms.create({
188-
region: "na1",
189-
portalId: "39764363",
190-
formId: "f99d2fa5-85a2-4e3e-8bcc-1a9b7fa2c075"
191-
});
192-
</script>
193-
</div>
194167
</main>
195168

196169
<div id="eventModal">

0 commit comments

Comments
 (0)