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
104 changes: 101 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,109 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<title>CricPro</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<body background="./assets/background-image1.png">
<!-- Type your code here -->
<footer class="footer">Made with <img src="/assets/prograd-heart.svg"> by ProGrad</footer>
<div id="logo"><img src="./assets/Logo.JPG"></div>
<h1>ICC WORLD CUP 2011</h1>
<p>India Vs Sri Lanka ScoreCard</p>
<div id="inning">
<p>India Innings</p>
<p>277 - 4 (48.2)</p>
</div>
<table>
<tr id="heading">
<th id="left">Batsman</th>
<th></th>
<th id="center">R</th>
<th id="center">B</th>
<th id="center">4s</th>
<th id="center">6s</th>
<th id="right">SR</th>
</tr>
<tr>
<td id="left"><a href="./assets/Player6.png">Virender Sewag</a></td>
<td class="bowler">lbw b L Malinga</td>
<td id="center">0</td>
<td id="center">2</td>
<td id="center">0</td>
<td id="center">0</td>
<td id="right">0.00</td>
</tr>
<tr>
<td id="left"><a href="./assets/Player5.png">Sachin Tendulkar</a></td>
<td class="bowler">c K Sangakkara b L Malinga</td>
<td id="center">18</td>
<td id="center">14</td>
<td id="center">2</td>
<td id="center">0</td>
<td id="right">128.57</td>
</tr>
<tr>
<td id="left"><a href="./assets/Player4.png">Gautham Gambir</a></td>
<td class="bowler">b T Perera</td>
<td id="center">97</td>
<td id="center">122</td>
<td id="center">9</td>
<td id="center">0</td>
<td id="right">79.51</td>
</tr>
<tr>
<td id="left"><a href="./assets/Player3.png">Virat Kohli</a></td>
<td class="bowler">c & b T Dilshan</td>
<td id="center">35</td>
<td id="center">49</td>
<td id="center">4</td>
<td id="center">0</td>
<td id="right">71.43</td>
</tr>
<tr>
<td id="left"><a href="./assets/Player2.png">MS Dhoni (c & wk)</a></td>
<td class="bowler">not out</td>
<td id="center">91</td>
<td id="center">79</td>
<td id="center">8</td>
<td id="center">2</td>
<td id="right">115.19</td>
</tr>
<tr>
<td id="left"><a href="./assets/Player1.png">Yuvraj Singh</a></td>
<td class="bowler">not out</td>
<td id="center">21</td>
<td id="center">24</td>
<td id="center">2</td>
<td id="center">0</td>
<td id="right">87.50</td>
</tr>

<tr>
<td id="left">Extras</td>
<td></td>
<td colspan="5"><strong>15</strong> (b 1, lb 6, w 8, nb 0, p 0)</td>
</tr>

<tr>
<td id="left">Total</td>
<td></td>
<td colspan="5"><strong>277</strong> (4 wkts, 48.2 Ov)</td>
</tr>
<tr>
<td id="left">Did not bat</td>
<td colspan="6">
<a href="./assets/Player1-1.jpg">Suresh Raina,</a> <a href="./assets/Player1-2.jpg">Harbhajan Singh,</a> <a href="./assets/Player1-3.jpg">
Zaheer
Khan,
</a> <a href="./assets/Player1-4.jpg">Munaf Patel,</a>
<a href="./assets/Player1-5.jpg">S Sreeshanth</a>
</td>
</tr>
</table>


<footer class="footer">Made with <img src="./assets/prograd-heart.svg"> by ProGrad</footer>


</body>
</html>
106 changes: 97 additions & 9 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,16 +1,104 @@
/* Type your code here */
body {
background-repeat: no-repeat;
background-size: cover;
font-family: Nunito Sans;
}

h1 {
margin-left: 40px;
padding-top: 10px;
font-size: 50px;
font-weight: bolder;
text-shadow: 2px 2px 5px grey;
font-family: Nunito Sans;
}

h1 + p {
margin-left: 40px;
font-size: 25px;
font-weight: 700;
color: darkgrey;
font-family: Nunito Sans;
}

table {
margin-left: 40px;
font-size: 20px;
border-collapse: collapse;
height: 400px;
width: 1100px;
background-color: white;
font-family: Nunito Sans;
}

th, td {
border-bottom: 1px solid lightgray;
}

#center {
text-align: center;
font-family: Nunito Sans;
}

#right {
text-align: right;
padding-right: 40px;
font-family: Nunito Sans;
}

#left {
text-align: left;
padding-left: 20px;
font-family: Nunito Sans;
}

.bowler {
color: grey;
font-family: Nunito Sans;
}

a {
text-decoration: none;
color: blue;
font-family: Nunito Sans;
}

#inning {
margin-left: 40px;
color: white;
display: flex;
justify-content: space-between;
background-color: rgb(240, 87, 87);
padding: 10px 20px;
padding-top: 0px;
padding-bottom: 0px;
height: 60px;
width: 1060px;
font-family: Nunito Sans;
}

p {
font-size: 20px;
font-weight: bold;
font-family: Nunito Sans;
}

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

}
}

#logo {
display: flex;
flex-direction: row-reverse;
margin: 10px;
}