Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 65 additions & 20 deletions blogs/01/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,36 @@
<link rel="stylesheet" href="styles/common.css">
<link rel="stylesheet" href="styles/header.css">
<link rel="stylesheet" href="styles/post-highlight-section-1.css">
<link rel="stylesheet" href="style/newsletter-section.css">
<link rel="stylesheet" href="styles/newsletter-section.css">
<link rel="stylesheet" href="styles/footer.css>
<title>Mini Blog</title>
</head>
<body>
<header>
<nav class="header">
<h3>Mini Blog</h3>

<div class="slide">
<input type="checkbox" class="toogle-menu">
<div class="hamburger"></div>
<ul class="menu">
<li><a href="#">Home</a></li>
<li><a href="#">Politics</a></li>
<li><a href="#">Tech</a></li>
<li><a href="#">Entertainment</a></li>
<li><a href="#">Travel</a></li>
<li><a href="#">Sports</a></li>
<li><a href="#"><img src="img/MagnifyingGlass.svg" alt=""></a></li>
</ul>
</div>
</nav>
</header>

<section class="header">
<header>
<nav>
<div class="container">
<div>
<a href="">Mini Blog</a>
</div>
<div>
<ul>
<li> <a href=" ">Home</a></li>
<li> <a href=" ">Politics</a></li>
<li> <a href=" ">Tech</a></li>
<li> <a href=" ">Entertainment</a></li>
<li> <a href=" ">Travel</a></li>
<li> <a href=" ">Sports</a></li>
<li> <a href=" "><img src="img/search.png"/></a></li>

</ul>
</div>

</div>
</nav>
</header>
</section>

<section class="post-highlight-section-1">
<div class="highlight-section-wrapper">
Expand Down Expand Up @@ -64,5 +71,43 @@ <h4>Subscribe to our Newsletter</h4>
</div>
</div>
</section>
<footer>
<div class="footer">
<div class="container">
<div>
<h3>About Us</h3>
<p>Lorem ipsum dolor sit amet,consectetur adipisicing elit. Placeat reprehenderit magnam deleniti quasi saepe, consequatur atque sequi delectus dolore veritatis obcaecati quae, repellat eveniet omnis, voluptatem in. Soluta, eligendi, architecto.</p>
</div>
<div>
<ul>
<li><a href="#About">About Us</a></li>
<li><a href="#Advertise">Advertise</a></li>
<li><a href="#Careers">Careers</a></li>
<li><a href="#Subscribe">Subscribes</a></li>
</ul>
<ul>
<li><a href="#Travel">Travel</a></li>
<li><a href="Lifestyle">Lifestyle</a></li>
<li><a href="#Sports">Sports</a></li>
<li><a href="#Nature">Nature</a></li>
</ul>
</div>
<div>
<h3>Connect With Us</h3>
<div>
<a href="#Facebook"><img src="img/facebook.png"/></a>
<a href="#Twitter"><img src="img/twitter.png"/></a>
<a href="#Instagram"><img src="img/insta.png"/></a>
<a href="#Wifi"><img src="img/wif.png"/></a>
<a href="#Email"><img src="img/email.png"/></a>
</div>
</div>
</div>

<div>
<p>Copyright © 2024 All rights reserved | This template is made with<span> &#10084;</span> by<a href=""> Ashish</a>
</div>
</div>
</footer>
</body>
</html>
54 changes: 47 additions & 7 deletions blogs/01/styles/common.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,48 @@
body{
margin: 0px;
padding: 0px;
box-sizing: border-box;
font-family: "Muli", -apple-system, BlinkMacSystemFont, "Segoe UI",
oboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji",
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
margin: 0;
padding:0;
font-family: "Muli", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";


section {
--span-blue:#2F89FC;
--span-gray:#6c757d;
--span-green:#8bc34a;
--span-yellow:#F89D13;
--span-red:#F23A2E;
--lite-gray:#ffffff80;
--ptext-color:#808080;
--h2text-color:#ffffff;
--footer-background:#333333;
--footer-lastp:#737373;

}

div{
--background-color:#f8f9fa;
--whitebackground-color:#fff;
}

footer{
--ptext-color:#808080;
--h2text-color:#ffffff;
--footer-background:#333333;
--footer-lastp:#737373;
}
}

ul{
list-style-type: none;
}

li>a{
text-decoration: none;
}

a{
text-decoration: none;
}




146 changes: 146 additions & 0 deletions blogs/01/styles/footer.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
footer{
background-color:var(--footer-background);
}
.footer{
height:318px;
background-color:var(--footer-background);
padding:80px 0px;
display: flex;
flex-direction:column;
align-items: center;
justify-content: center;
}
.footer > .container {
height:318px;
width:1200px;
padding:0px 15px;
background-color:var(--footer-background);
display: flex;
justify-content: center;
align-items:flex-start;
}
.footer > .container > div {
height:227px;
width:399px;
background-color:var(--footer-background);
padding: 0px 10px;
}
h3{
color:var(--h2text-color);
font-weight:500;
margin-top:0px;
}
p{
color:var(--footer-lastp);
margin-top:0px;
line-height:1.7;
font-size:18px;
font-weight:300;
}
.footer > .container > div >ul{
height:148px;
width:80px;
display:inline-block;
margin-top:2px;
margin-left: 60px;

}
.footer > .container > div > ul > li > a{
color:#999999;
margin-bottom:15px;
margin-top:0px;
font-weight:300;
font-size:18px;
}
.footer > .container > div > ul > li > a:hover{
color:var(--h2text-color);
}
.footer > .container > div > ul > li{
margin-bottom:15px;
}
.footer > .container > div:last-child > h3{
margin-left:80px;
}
.footer > .container > div:last-child > div {
height:26px;
width:350px;
display:flex;
justify-content:center;
}
.footer > .container > div:last-child > div > a {
margin:10px;
}
.footer > .container > div:last-child > div > a > img{
height:16px;
width:20px;
background:transparent;
}
.footer > div:last-child{
height:25px;
margin-left:50px;
}
.footer > div:last-child > p{
color:var(--footer-lastp);
font-size: 18px;
}
.footer > div:last-child > p > span{
font-size:24px;
color:red;
}
.footer > div:last-child > p > a{
color:var(--ptext-color);
font-weight:400;
margin-left:5px;
}


@media screen and (max-width:424px){
.footer{
height:570px;
padding:65px 0px;
display: flex;
flex-direction:column;
}
.footer > .container {
height:575px;
width:424px;
flex-direction:column;
padding:10px 0px;
}
.footer > .container > div {
height:200px;
width:394px;
padding:0px 15px;
}
h3 , p {
font-size:16px;
}
Comment on lines +115 to +117
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use class name to change the font-size , other wise it will change the size of all headings and paragraph in every section.

.footer > .container > div >ul{
margin-left: -30px;
padding:0px 30px;
}
.footer> .container > div > ul > li > a{
font-size:16px;
}
.footer > .container > div:last-child > h3{
margin-left:0px;
margin-top:-20px;
}
.footer > .container > div:last-child > div {
height:26px;
width:350px;
justify-content:left;
}
.footer > div:last-child{
height:70px;
margin:0px 8px;
margin-top:-90px;
}
.footer > div:last-child > p {
font-size:18px;
text-align:center;
}
.footer > div:last-child > p > span{
font-size:18px;
}
}