Skip to content

Commit 29df69f

Browse files
committed
change the padding top of section and replace div by picture tag
1 parent 3dd51ea commit 29df69f

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

css/navbar.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
padding: 15%;
1212
width: 70%;
1313
text-align: center;
14+
display: block;
1415
}
1516
.navbar-uncompressed {
1617
position: fixed;

css/styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ section {
4141
margin: 0 auto;
4242
margin-top: 3em;
4343
margin-bottom: 3em;
44-
padding-top: 2.5em;
44+
padding-top: 2em;
4545
height: calc(100vh - 6em);
4646
z-index: 2;
4747
}

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,15 +91,15 @@
9191
</div>
9292
<div id="nav-columnar-menu-background">
9393
<div id="nav-columnar-menu">
94-
<div class="image-container">
94+
<picture class="image-container">
9595
<img
9696
class="logo"
9797
src="./images/logo.png"
9898
alt="logo"
9999
width="150"
100100
height="150"
101101
/>
102-
</div>
102+
</picture>
103103
<hr />
104104
<ul id="nav-columnar-menu-list">
105105
<li class="nav-element">
@@ -177,7 +177,7 @@ <h2 class="subtitle reveal">About me</h2>
177177
<div class="card-projects">
178178
<h2 class="subtitle reveal">
179179
Some projects<br />
180-
I've make
180+
I've made
181181
</h2>
182182
<div id="open-ecommerce" class="card-project reveal">
183183
<div class="card-title">OpenEcommerce</div>

0 commit comments

Comments
 (0)