Skip to content

Commit

Permalink
Merge pull request #211 from shreya-paul-17/fix/container-size
Browse files Browse the repository at this point in the history
The size of the container is fixed
  • Loading branch information
sk66641 authored Jun 8, 2024
2 parents 1ffdc75 + 44dcbdc commit de064fa
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
6 changes: 4 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,12 @@

<div class="box" id="box">

<h1 id="changingHeading" style="font-family: Arial, sans-serif; font-size: 39px; ">

<h1 id="changingHeading" style="font-family: Arial, sans-serif; font-size: 30px; color: #ffffff;">

Random Disco
<span id="changing"
style="font-family: Arial, sans-serif; font-size: 39px; font-weight: bold; color: #ff7f50;">
style="font-family: Arial, sans-serif; font-size: 30px; font-weight: bold; color: #ff7f50;">
Light Simulator
</span>
</h1>
Expand Down
14 changes: 8 additions & 6 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ input {
outline: none;
border: none;
color: #fff;
font-size: 24px;
font-size: 20px;
padding: 5px 10px;
border-radius: 10px;
}
Expand All @@ -155,11 +155,11 @@ input:focus {
}

i {
font-size: 24px;
font-size: 20px;
}

strong {
font-size: 24px;
font-size: 22px;
color: #f09819;
}

Expand All @@ -173,13 +173,13 @@ strong {
border: none;
padding: 5px 10px;
color: #e5e5e5;
font-size: 24px;
font-size: 20px;
width: auto;
}

select option {
color: #e5e5e5;
font-size: 24px;
font-size: 18px;
background-color: #333;
border: none;
outline: none;
Expand All @@ -195,6 +195,7 @@ select option {
cursor: pointer;
border-radius: 10px;
transition: 0.2s all;
margin-bottom: 20px;
}

#submit:hover {
Expand All @@ -206,6 +207,7 @@ select option {
background-color: red;
cursor: pointer;
transition: 0.2s all;
margin-bottom: 20px;
}

#reset:hover {
Expand Down Expand Up @@ -776,7 +778,7 @@ nav ul li a:hover {
border: none;
border-radius: 10px;
padding: 10px 20px;
font-size: 20px;
font-size: 18px;
cursor: pointer;
transition: background-color 0.3s ease;
}
Expand Down

0 comments on commit de064fa

Please sign in to comment.