Skip to content

Commit

Permalink
feat: add minimal styling
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-martin committed May 24, 2018
1 parent a45e43d commit dbfaff5
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<!-- ########### TODO ########### -->
<!-- enter your name in the title -->
<title>___________'s Homepage</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<!-- <nav> contains links that will allow us to navigate on the page -->
Expand All @@ -17,7 +18,7 @@
<!-- enter your name also in the header -->
<h1>Personal Page of ___________</h1>
</header>
<section>
<section class="introduction">
<!-- ############################ TODO ############################ -->
<!-- replace with the URL to your personal image. see instructions. -->
<img src="url/to/your/image" alt="a pretty photo of myself">
Expand Down
19 changes: 19 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
body {
max-width: 1200px;
margin: auto;
}

nav,
footer,
.introduction {
display: flex;
justify-content: space-evenly;
}

img {
flex-basis: 20%;
}

h1 {
text-align: center;
}

0 comments on commit dbfaff5

Please sign in to comment.