Skip to content

Commit

Permalink
Added Astronomical age calculator; Know your age in other worlds!!
Browse files Browse the repository at this point in the history
  • Loading branch information
debangi29 committed Jun 5, 2024
1 parent 1933c24 commit 0bad12b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Binary file removed Astronomical Age Calculator/assets/background.jpg
Binary file not shown.
Binary file not shown.
16 changes: 8 additions & 8 deletions Astronomical Age Calculator/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ body {
align-items: center;
height: 100vh;
margin: 0;
background-image: url('./assets/background.jpg');
background-image: url('./assets/background.webp');
background-size: cover;
background-repeat: no-repeat;
background-position: center;
Expand Down Expand Up @@ -35,21 +35,21 @@ body {
h1 {
margin-bottom: 20px;
font-size: 18px;
color: #61dafb;
color: #fbf161;
}

label {
display: block;
margin-top: 10px;
font-weight: bold;
color: #61dafb;
color: #fbf161;
}

input, select {
width: 100%;
padding: 10px;
margin-top: 5px;
border: 1px solid #61dafb;
border: 1px solid #fbf161;
border-radius: 5px;
font-size: 14px;
box-sizing: border-box;
Expand All @@ -61,7 +61,7 @@ button {
width: 100%;
padding: 10px;
margin-top: 10px;
background-color: #61dafb;
background-color: #fbf161;
color: black;
border: none;
border-radius: 5px;
Expand All @@ -71,11 +71,11 @@ button {
}

button:hover {
background-color: #21a1f1;
background-color: #89f121;
}

#result {
margin-top: 10px;
font-size: 16px;
color: #61dafb;
}
color: #fbf161;
}

0 comments on commit 0bad12b

Please sign in to comment.