Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
iajayyadav committed Nov 24, 2024
2 parents 691856d + 0523c15 commit aa581bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 0 additions & 2 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,9 @@ document.getElementById('decodeBtn').addEventListener('click', function () {

if (decodeSection.style.display === 'block') {
decodeSection.style.display = 'none';
container.style.top = "40vh";
} else {
decodeSection.style.display = 'block';
encodeSection.style.display = 'none';
container.style.top = "18vh";
}
});

Expand Down
10 changes: 3 additions & 7 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ nav {
position: fixed;
top: 0;
text-align: center;
font-size: 110%;
font-size: 25px;
color: white;
font-family:Arial, Helvetica, sans-serif;
text-shadow: 5px 4px 10px rgba(0,0,0,0.52);
Expand All @@ -44,7 +44,7 @@ nav h1{
top: 40vh;
margin: auto;
height: auto;
max-width: 70vw;
max-width: 600px;
background: white;
padding: 20px;
border-radius: 8px;
Expand Down Expand Up @@ -73,12 +73,8 @@ nav h1{
#encodeSection h2{
margin-bottom: 20px;
}
#encodeSection #imageInput,#decodeSection #decodeImageInput{
#encodeSection #imageInput{
margin:20px 0;
border: 1px solid gray;
padding: 9px;
border-radius: 5px;
width: 100%;
}
#decodeSection{
color: black
Expand Down

0 comments on commit aa581bb

Please sign in to comment.