Skip to content

Commit

Permalink
Fix duality stacking
Browse files Browse the repository at this point in the history
  • Loading branch information
Milindi-Kodikara committed Oct 21, 2024
1 parent 6f11213 commit b02dd9f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 11 deletions.
24 changes: 15 additions & 9 deletions index.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ body {
}

h1 {
font-size: 3em;
font-size: 1em;
font-family: 'Montserrat', sans-serif;
}

Expand All @@ -32,7 +32,7 @@ header {
height: 60px;
width: inherit;
top: 0;
font-size: 1.2em;
font-size: 1em;
color: #191501;
position: fixed;
z-index: 200;
Expand Down Expand Up @@ -125,7 +125,7 @@ nav a:hover {
text-align: center;
font-family: 'Abhaya Libre', serif;
letter-spacing: 0.25em;
font-size: 1.5em;
font-size: 1em;
}

.keywords {
Expand Down Expand Up @@ -153,7 +153,7 @@ nav a:hover {
font-family: 'Montserrat', sans-serif;
/*letter-spacing: 0.1em;*/
font-weight: bold;
font-size: 2em;
font-size: 1.5em;
color: #F0F0F0;
}

Expand All @@ -162,14 +162,14 @@ nav a:hover {
margin-right: 25%;
text-align: center;
font-family: 'Montserrat', sans-serif;
font-size: 3em;
font-size: 1em;
color: #000;
}

.home-read-more {
font-family: 'Abhaya Libre', serif;
letter-spacing: 0.25em;
font-size: 1.5em;
font-size: 1em;
margin: 50px;
}

Expand All @@ -193,6 +193,7 @@ nav a:hover {

.duality-img {
object-fit: contain;
flex-shrink: 0;
width: 80%;
height: 80%;
}
Expand Down Expand Up @@ -242,7 +243,7 @@ nav a:hover {
}

.duality-desc {
font-size: 2em;
font-size: 1em;
color: #fff
}

Expand All @@ -261,7 +262,7 @@ nav a:hover {
}

.duality-big-desc {
font-size: 1.5em;
font-size: 1em;
color: #fff
}

Expand Down Expand Up @@ -291,13 +292,18 @@ nav a:hover {
}

.home-about-description, .keywords {
font-size: 24px;
font-size: 16px;
}

.home-page-about, .duality-card {
padding-top: 50px;
padding-bottom: 50px;
}

.duality-img {
min-width: 50%;
width: 80vw;
}
}

@media (max-width: 1500px) {
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@
<div>
<div class="home-sections-headings colours-dark-background duality-heading">Tea</div>
<span class="duality-big-desc">Matcha is the talk of the town!</span>
<div data-include="tea_origin_world_map"></div>
<div class="duality-img" data-include="tea_origin_world_map"></div>
</div>
</div>
</div>
Expand All @@ -217,7 +217,7 @@
<div>
<div class="home-sections-headings colours-red-background duality-heading">Coffee</div>
<span class="duality-big-desc">Espresso rules the coffee communities ⚡️</span>
<div data-include="coffee_origin_world_map"></div>
<div class="duality-img" data-include="coffee_origin_world_map"></div>
</div>
</div>
</div>
Expand Down

0 comments on commit b02dd9f

Please sign in to comment.