-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3e4190d
commit e85aaf4
Showing
2 changed files
with
210 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,167 @@ | ||
*{ | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
} | ||
.blog { | ||
/* margin: auto; */ | ||
display: flex; | ||
gap: 15%; | ||
margin: 9%; | ||
flex-direction: row; | ||
|
||
} | ||
.introduction{ | ||
order: 1; | ||
} | ||
.introduction .introduction1{ | ||
display: flex; | ||
border-radius: 20px 20px 10px 10px; | ||
|
||
} | ||
.introduction1 img{ | ||
width: 140px; | ||
padding-bottom: 20px; | ||
|
||
} | ||
.paragraph { | ||
padding-top: 15px; | ||
} | ||
.paragraph .intro{ | ||
padding-left: 20px; | ||
width: 220px; | ||
font-size: 17px; | ||
} | ||
.paragraph .date{ | ||
padding-top: 6px; | ||
padding-left: 20px; | ||
font-size: 13px; | ||
} | ||
.introduction .introduction2{ | ||
display: flex; | ||
} | ||
.introduction2 img{ | ||
width: 140px; | ||
padding-bottom: 20px; | ||
} | ||
|
||
.introduction .introduction3{ | ||
display: flex; | ||
} | ||
.introduction3 img{ | ||
width: 140px; | ||
} | ||
.insights { | ||
width: 420px; | ||
order: 2; | ||
} | ||
.insights h2{ | ||
height: 50px; | ||
} | ||
.insights p{ | ||
height: 180px; | ||
text-align: left; | ||
} | ||
.insights h3{ | ||
text-align: center; | ||
|
||
} | ||
.insights h3:hover{ | ||
color:#28738A; | ||
cursor: pointer; | ||
} | ||
|
||
|
||
|
||
|
||
/* RESPONSIVENESS */ | ||
|
||
@media screen and (max-width:400px){ | ||
.blog{ | ||
flex-direction: column; | ||
width: 100%; | ||
} | ||
.introduction{ | ||
order: 2; | ||
} | ||
.insights{ | ||
order: 1; | ||
} | ||
.insights h2{ | ||
height: 50px; | ||
font-size: 20px; | ||
} | ||
.insights p{ | ||
width: 280px; | ||
height: 230px; | ||
font-size: 15px; | ||
} | ||
.insights h3{ | ||
height: 50px; | ||
font-size: 16px; | ||
margin-right: 140px; | ||
} | ||
.introduction1 img{ | ||
width: 100px; | ||
} | ||
.introduction2 img{ | ||
width: 100px; | ||
} | ||
.introduction3 img{ | ||
width: 100px; | ||
} | ||
.paragraph{ | ||
padding-top: 6px; | ||
} | ||
.paragraph .intro{ | ||
font-size: 14px; | ||
} | ||
.paragraph .date{ | ||
font-size: 12px; | ||
} | ||
} | ||
|
||
@media screen and (max-width:600px){ | ||
.blog{ | ||
flex-direction: column; | ||
width: 100%; | ||
} | ||
.introduction{ | ||
order: 2; | ||
} | ||
.insights{ | ||
order: 1; | ||
} | ||
.insights h2{ | ||
height: 50px; | ||
font-size: 24px; | ||
} | ||
.insights p{ | ||
width: 350px; | ||
height: 280px; | ||
font-size: 18px; | ||
} | ||
.insights h3{ | ||
height: 60px; | ||
font-size: 18px; | ||
margin-right: 140px; | ||
} | ||
.introduction1 img{ | ||
width: 120px; | ||
} | ||
.introduction2 img{ | ||
width: 120px; | ||
} | ||
.introduction3 img{ | ||
width: 120px; | ||
} | ||
.paragraph{ | ||
padding-top: 6px; | ||
} | ||
.paragraph .intro{ | ||
font-size: 18px; | ||
} | ||
.paragraph .date{ | ||
font-size: 15px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Document</title> | ||
<link rel="stylesheet" href="./v2-section3.css"> | ||
</head> | ||
<body> | ||
<div class="blog"> | ||
<div class="introduction"> | ||
<div class="introduction1"> | ||
<img src="https://images.pexels.com/photos/5473956/pexels-photo-5473956.jpeg?auto=compress&cs=tinysrgb&w=600" alt="AI"> | ||
<div class="paragraph"> | ||
<p class="intro">Introducing the Mbaza nlp community</p> | ||
<p class="date">30-april-2023</p> | ||
</div> | ||
</div> | ||
<div class="introduction2"> | ||
<img src="https://images.pexels.com/photos/5473956/pexels-photo-5473956.jpeg?auto=compress&cs=tinysrgb&w=600" alt="AI"> | ||
<div class="paragraph"> | ||
<p class="intro">Introducing the Mbaza nlp community</p> | ||
<p class="date">30-april-2023</p> | ||
</div> | ||
</div> | ||
<div class="introduction3"> | ||
<img src="https://images.pexels.com/photos/5473956/pexels-photo-5473956.jpeg?auto=compress&cs=tinysrgb&w=600" alt="AI"> | ||
<div class="paragraph"> | ||
<p class="intro">Introducing the Mbaza nlp community</p> | ||
<p class="date">30-april-2023</p> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="insights"> | ||
<h2>insights,ideas & community news</h2> | ||
<p>Stay informed and inspired with our Insights, Ideas & Community News section. Get the latest news and updates on community events, initiatives, and projects. Discover expert insights and ideas from thought leaders in the community on topics related to our shared interests. Be inspired by stories of community members making a difference and learn how you can get involved. Our Insights, Ideas & Community News section is your go-to source for all the latest news and information in our community.</p> | ||
<h3>Find more articles</h3> | ||
</div> | ||
</div> | ||
|
||
</body> | ||
</html> |