-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from tinkersain/tanisha
imgdesc file new updation as books
- Loading branch information
Showing
4 changed files
with
100 additions
and
71 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,78 @@ | ||
body { | ||
font-family: "Arial", sans-serif; | ||
font-family: Arial, sans-serif; | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
background-color: #fff; | ||
} | ||
|
||
nav { | ||
background-color: #ff6347; | ||
color: white; | ||
padding: 1rem; | ||
display: flex; | ||
flex-direction: row; | ||
flex: space-between; | ||
.container { | ||
width: 100%; | ||
margin: 0 auto; | ||
background-color: #f8d7da; | ||
} | ||
|
||
nav ul { | ||
list-style-type: none; | ||
margin: 0; | ||
padding: 0; | ||
.nav { | ||
display: flex; | ||
justify-content: space-around; | ||
justify-content: space-between; | ||
background-color: #f4cac4; | ||
padding: 10px; | ||
} | ||
|
||
nav ul li { | ||
margin: 0; | ||
.nav-links a { | ||
background-color: #8c78cc; | ||
padding: 10px; | ||
margin: 20px 20px 20px; | ||
text-align: center; | ||
color: black; | ||
width: 20%; | ||
border-radius: 20%; | ||
border: 1px solid black; | ||
} | ||
|
||
nav ul li a { | ||
color: white; | ||
text-decoration: none; | ||
padding: 0.5rem 1rem; | ||
.nav-logo img { | ||
width: 20%; | ||
height: auto; | ||
padding: 0%; | ||
margin: 0%; | ||
} | ||
|
||
nav ul li a:hover { | ||
background-color: #ff7f50; | ||
border-radius: 5px; | ||
.input-section { | ||
display: flex; | ||
justify-content: space-around; | ||
background-color: #c3a2d6; | ||
padding: 10px; | ||
margin-top: 10px; | ||
} | ||
|
||
.container { | ||
display: flex; | ||
flex-direction: row; | ||
align-items: center; | ||
margin: 10% 0% 10% 0%; | ||
.input-section input, | ||
.input-section button { | ||
background-color: #ffffff; | ||
padding: 10px; | ||
margin: 5px; | ||
text-align: center; | ||
} | ||
.input-section button { | ||
background-color: #8be88b; | ||
border-radius: 20%; | ||
width: 7%; | ||
} | ||
|
||
.container img { | ||
max-width: 20%; | ||
height: auto; | ||
background-color: #ffeb3b; /* Background color for the image */ | ||
padding: 3% 3% 4% 9%; | ||
border-radius: 30px; | ||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | ||
display: block; | ||
.content { | ||
display: grid; | ||
grid-template-columns: repeat(2, 1fr); | ||
grid-template-rows: repeat(2, 1fr); | ||
gap: 20px; | ||
background-color: white; | ||
margin-top: 10px; | ||
} | ||
|
||
.container p { | ||
max-width: 600px; | ||
.data, | ||
.image { | ||
background-color: #dbc06d; | ||
padding: 5%; | ||
text-align: center; | ||
margin-top: 1rem; | ||
color: #333; | ||
} | ||
|
||
.image img { | ||
width: 30%; | ||
height: fit-content; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
function handleClick() { | ||
const input1 = document.getElementById("input1").value; | ||
const input2 = document.getElementById("input2").value; | ||
|
||
if (input1) { | ||
document.getElementById("data1").textContent = input1; | ||
} | ||
|
||
if (input2) { | ||
document.getElementById("data2").textContent = input2; | ||
} | ||
} |