Skip to content

Commit

Permalink
new update
Browse files Browse the repository at this point in the history
  • Loading branch information
niyobertin committed Mar 11, 2024
1 parent f8653bc commit 00ee65f
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 6 deletions.
30 changes: 27 additions & 3 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -465,18 +465,22 @@ header h1{
height: fit-content;
top: 20%;
padding: 0;
left: 0;
width: 100%;
display: none;
}
.single img{
float:initial;
width: 20%;
width: 30%;
margin: 2%;
margin-left: 10%;
}
.single p{
padding: 2%;
margin-left: 10%;
margin-right: 10%;
}
.single h3{
margin-left: 20%;
color: yellow;
}
.single header{
Expand Down Expand Up @@ -761,9 +765,29 @@ margin: 2%;
position:absolute;
background-color: #1e1e1e;
height: fit-content;
top: 0;
top: 2;
padding: 0;
width: 100%;
display: none;
}
.single img{
float: none;
width: 100%;
margin: 0;
}
.comment-area button{
width: 50%;
margin-left: 20%;
font-size: medium;
}
.comment-area input{
width: 100%;
margin: 0;
padding: 0;
}
.comment-area textarea{
width: 100%;
margin: 0;
padding: 0;
}
}
4 changes: 2 additions & 2 deletions local.storage/blogs.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ for(let i = 0;i < dataFromLocalStorage.length;i++){
comment.src = "../images/comment.JPG";
const likeNumber = document.createElement('p');
const commentNumber = document.createElement('p');
let likeNo = document.createTextNode('12');
let comentNo = document.createTextNode('20');
let likeNo = document.createTextNode(0);
let comentNo = document.createTextNode(0);
like_coment.appendChild(likeNumber);
like_coment.appendChild(like);
likeNumber.appendChild(likeNo);
Expand Down
2 changes: 1 addition & 1 deletion pages/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ <h4>Adress</h4>
<div class="single" id="single">
<header id="head" style="border-bottom: 1px yellow solid;">
<h1 class="logo">Niyonkuru<span id="bullet">.</span></h1>
<img src="../images/menu.jpeg" alt="menu image" id="menuIcon">
<button type="button" id="menuIcon" onclick="closing()">×</button>
<ul id="link">
<li><a href="#service"></a></li>
<li><a href="#portfolio"></a></li>
Expand Down

0 comments on commit 00ee65f

Please sign in to comment.