Skip to content
Open
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
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
126 changes: 117 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,121 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- Type your code here -->
<footer class="footer">Made with <img src="/assets/prograd-heart.svg"> by ProGrad</footer>
</body>
<link rel="stylesheet" href="style.css" />
</head>

<body>
<div class="logo"><img src="./assets/Logo.png" alt="" /></div>
<div class="bg"><img src="./assets/background-image1.png" alt="" /></div>
<div class="container">
<h1>icc world cup 2011</h1>
<h3>India Vs SriLanka ScoreCard</h3>
<table>
<tr>
<td colspan="2">India Innings</td>
<td colspan="5">277 - 4 (48.2)</td>
</tr>
<tr>
<td colspan="2">Batsman</td>
<td>R</td>
<td>B</td>
<td>4s</td>
<td>6s</td>
<td>SR</td>
</tr>
<tr>
<td>
<a id="myLink" href="#" onclick="callme('1');">Virender Sehwag</a>
</td>
<td>lbw b L Malinga</td>
<td>0</td>
<td>2</td>
<td>0</td>
<td>0</td>
<td>0.00</td>
</tr>
<tr>
<td>
<a id="myLink" href="#" onclick="callme('2');">Sachin Tendulkar</a>
</td>
<td>c K Sangakkara b L Malinga</td>
<td>18</td>
<td>14</td>
<td>2</td>
<td>0</td>
<td>128.57</td>
</tr>
<tr>
<td>
<a id="myLink" href="#" onclick="callme('3');">Gautam Gambhir</a>
</td>
<td>b T Perera</td>
<td>97</td>
<td>122</td>
<td>9</td>
<td>0</td>
<td>79.51</td>
</tr>
<tr>
<td>
<a id="myLink" href="#" onclick="callme('4');">Virat Kholi</a>
</td>
<td>c & b T Dilshan</td>
<td>35</td>
<td>49</td>
<td>4</td>
<td>0</td>
<td>71.43</td>
</tr>
<tr>
<td>
<a id="myLink" href="#" onclick="callme('5');">MS Dhoni (c & wk)</a>
</td>
<td>not out</td>
<td>91</td>
<td>79</td>
<td>8</td>
<td>2</td>
<td>115.19</td>
</tr>
<tr>
<td>
<a id="myLink" href="#" onclick="callme('6');">Yuraj Singh</a>
</td>
<td>not out</td>
<td>21</td>
<td>24</td>
<td>2</td>
<td>0</td>
<td>87.50</td>
</tr>
<tr>
<td colspan="2">Extras</td>
<td colspan="5">15 (b 1,lb 6, w 8,nb 0,p 0)</td>
</tr>
<tr>
<td colspan="2">Total</td>
<td colspan="5">277 (4 wkts, 48.2 Ov)</td>
</tr>
<tr>
<td>Did not bat</td>
<td colspan="6">
<a id="myLink" href="#" onclick="callme('7');">Suresh Raina,</a
><a id="myLink" href="#" onclick="callme('8');">Harbhajan Singh, </a
><a id="myLink" href="#" onclick="callme('9');">Zaheer Khan, </a
><a id="myLink" href="#" onclick="callme('10');">Munaf Patel, </a
><a id="myLink" href="#" onclick="callme('11');">S Sreesanth</a>
</td>
</tr>
</table>
</div>
<div class="details" onclick="closeit()" id="details">
<img src="" alt="" id="player" />
</div>
<!-- <footer class="footer">Made with&nbsp;<img src="/assets/prograd-heart.svg">&nbsp;by ProGrad</footer> -->
<script src="script.js"></script>
</body>
</html>
137 changes: 122 additions & 15 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,16 +1,123 @@
/* Type your code here */


/* change the font family and spacing as per your project font */
.footer{
display:flex;
flex-direction: row;
align-content: flex-end;
position: relative;
top: 750px;
margin-left: 80px;
font-size: 18px;
font-family: Nunito Sans;
font-style: normal;

@import url("https://fonts.googleapis.com/css2?family=Georama:wght@500&display=swap");
.footer {
display: flex;
flex-direction: row;
align-content: flex-end;
position: relative;
top: 40px;
margin-left: 80px;
font-size: 18px;
font-family: Nunito;
font-style: normal;
font-weight: 600;
z-index: -1;
}
body {
overflow: hidden;
}
.bg {
position: absolute;
z-index: -1;
right: 10%;
bottom: -1%;
}
.bg > img {
width: 120%;
}
.logo {
position: fixed;
right: 6%;
top: 3%;
}
.container {
border: 1px solid transparent;
margin-left: 80px;
margin-top: 54px;
}
table {
width: 73%;
height: 61vh;
font-family: Georama, sans-serif;
background: white;
border-collapse: collapse;
box-shadow: -7px 1px 20px 0px rgb(0 0 0 / 19%);
}
.container > h1 {
font-family: "Georama", sans-serif;
text-transform: uppercase;
font-size: xxx-large;
text-shadow: 2px 5px 8px rgb(0 0 0 / 52%);
font-weight: 600;
}
.container > h3 {
color: #707070;
font-family: "Georama", sans-serif;
margin-top: -25px;
font-size: x-large;
font-weight: 600;
}
td {
height: 40px;
padding: 0 20px 0 20px;
font-size: larger;
font-family: "Georama", sans-serif;
border-left: none;
border-right: none;
border-top: none;
border: 1px solid transparent;
border-bottom: 1px solid #0000003d;
}
td:nth-child(1) {
width: 24%;
}
td:nth-child(2) {
width: 40%;
}
tr:nth-child(1) {
background: tomato;
color: white;
font-family: "Georama", sans-serif;
}
tr:nth-child(1) td:nth-child(2) {
text-align: end;
}
tr:nth-child(2)
td:is(:nth-child(2), :nth-child(3), :nth-child(4), :nth-child(5), :nth-child(6)),
tr:is(:nth-child(3), :nth-child(4), :nth-child(5), :nth-child(6), :nth-child(7), :nth-child(8))
td:is(:nth-child(3), :nth-child(4), :nth-child(5), :nth-child(6), :nth-child(7)) {
text-align: center;
}
tr:nth-child(2) td:nth-child(2) {
width: 8%;
}
tr:nth-child(2) td:nth-child(6) {
width: 12%;
}
tr:is(:nth-child(3), :nth-child(4), :nth-child(5), :nth-child(6), :nth-child(7), :nth-child(8))
td:nth-child(2) {
color: #8282829c;
}
a {
text-decoration: none;
color: #2f80ed;
}
a:hover {
text-decoration: underline;
}
.details {
position: absolute;
border: 1px solid transparent;
height: 100%;
width: 100%;
margin: -8px;
top: 1%;
backdrop-filter: blur(2px) brightness(0.4);
opacity: 0;
display: flex;
flex-direction: column;
align-content: center;
justify-content: center;
align-items: center;
transition: 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
z-index: -1;
}