Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The size of the container is fixed #211

Merged
merged 3 commits into from
Jun 8, 2024
Merged
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
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
Loading