Skip to content

Commit

Permalink
Merge pull request #8 from Priyatosh11/main
Browse files Browse the repository at this point in the history
made website responsive for mobile screen
  • Loading branch information
Krest-Coder authored Oct 25, 2023
2 parents e0c47dc + 271973a commit e235b98
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 1 deletion.
47 changes: 47 additions & 0 deletions index.css
Original file line number Diff line number Diff line change
Expand Up @@ -144,3 +144,50 @@ button {
background-color: #031703;
border-color: #285e8e;
}

@media only screen and (max-width: 600px) {
/* Adjust styles for small screens here */

.row {
flex-direction: column;
}

.navbar {
left: 0;
top: 0;
width: 100%;
text-align: center;
}

.logo {
left: 85%;
}

.column1,
.column2 {
flex: 100%;
}

.button-cls {
margin-left: 0;
width: 100%;
}

.footer {
position: relative;
height: 70px;
display: flex;
bottom: 0;
}

.Owner{
text-align:left;
justify-content: center;
}
.sm {
text-align:left;
left: 0;
width: 100%;
padding-left: 5px;
  }
  }
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,9 @@
<a href="#contact"><mark>Contact</mark></a>
<a href="#about"><mark>About</mark></a>
</div>

<div class="logo1">
<div class="logo"><button type="button" class="btn btn-dark" onclick="darkMode()">🌒</button>
</div>
</div>

<div class="row">
Expand Down
4 changes: 4 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -208,4 +208,8 @@ table thead tr{
background: #4AD489;
color: #fff;
transition: 0.5rem;
}

@media (max-width: 1445px){

}

0 comments on commit e235b98

Please sign in to comment.