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

Update index.html and styles.css. #33697

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
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
22 changes: 5 additions & 17 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
<!DOCTYPE html>
<div id="octocat">
<img src="https://octodex.github.com/images/NUX_Octodex.gif" alt="Octocat Image">
</div>div>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Spoon-Knife</title>
<LINK href="styles.css" rel="stylesheet" type="text/css">
</head>

<body>

<img src="forkit.gif" id="octocat" alt="" />

<!-- Feel free to change this text here -->
<p>
Fork me? Fork you, @octocat!
Ready to team up? Let's collaborate, @octocat!
</p>
</p>

</body>
</html>
22 changes: 10 additions & 12 deletions styles.css
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
* {
margin:0px;
padding:0px;
color: #333;
line-height: 1.5;
text-align: center;
}

#octocat {
display: block;
width:384px;
margin: 50px auto;
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #f8f9fa;
}

p {
display: block;
width: 400px;
margin: 50px auto;
font: 30px Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace;
#octocat img {
display: block;
width: 100%;
height: auto;
}