Skip to content

Commit

Permalink
Merge pull request #15 from CeoFred/contact-us
Browse files Browse the repository at this point in the history
fix layout
  • Loading branch information
CeoFred authored Nov 27, 2019
2 parents f39e181 + 8856335 commit de599ff
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 30 deletions.
29 changes: 19 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,26 @@

<!-- Code for the slider -->
<div class="slider">
<img class="slide1" src="http://pluspng.com/img-png/png-men-men-png-495.png" alt="">
<div class="slide-content">
<h3 class="slide-content-hello">Hello!</h3>
<h1 class="slide-content-about">
<span class="text-white">I'm</span>OPARA TOBECHUKWU</h1>
<div class="btn-container">
<button class="btn-hire-me">hire me</button>
<button class="btn-my-works">my works</button>

</div>

<div class="content">
<h3 class="slide-content-hello">Hello!</h3>
<h1 class="slide-content-about">
<span class="text-white">I'm</span>OPARA TOBECHUKWU</h1>

<div class="btn-container">
<button class="btn-hire-me">hire me</button>
<button class="btn-my-works">my works</button>

</div>


</div>

<div class="slider_image">
<img class="slide1" src="http://pluspng.com/img-png/png-men-men-png-495.png" alt="">

</div>

</div>
</div>

Expand Down
57 changes: 37 additions & 20 deletions styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,9 @@
display: inline;
clear: both;
}
ul{
display: inline;
float: right!important;
}
div.btn-container{
width: 100%;
margin-top: 20px;
}

li{
Expand All @@ -115,10 +112,12 @@
}
div.navigation{
opacity: 1;
position: relative;
}

ul.nav-list{
float: right;
margin-right: 30px;
}
ul li {
font-weight: lighter;
Expand All @@ -141,6 +140,11 @@
font-size: 14px;

}

h3.slide-content-hello {
color: #ffbd39;
letter-spacing: 10px;
}
div.slide-content{
position: absolute;
top:240px;
Expand All @@ -152,26 +156,26 @@
button.btn-hire-me{
background-color: #ffbd39;
color:#fff;
border-radius: 20px;
border-radius: 15px;
border:0;
padding:5px 5px;
padding:15px 15px;
display: inline;
text-transform: uppercase;
font-size: 7px;
font-size: 14px;
outline: hidden;

}

button.btn-my-works{
outline: hidden;

font-size: 7px;
font-size: 14px;
background-color: #ffbd39;
color:#fff;
padding: 10px;
border-radius: 20px;
padding: 5px;
border-radius: 15px;
border:0;
padding:5px 5px;
padding:15px 15px;
display: inline;
background: transparent;
border:2px solid grey;
Expand All @@ -192,20 +196,33 @@
padding: 0;
}
img.slide1{
z-index: -1;
position: absolute;
right: 150px;
width: 100%;
/* z-index: -1; */
/* position: absolute; */
/* right: 150px; */
}
div.slider {
width:100%;
}
div.slider{
z-index: -3;
position: relative;
top:-70px;
div.slider_image {
margin-top:-150px;
width: 45%;
float:left;
z-index:-3;
}

div.content {
float: left;
width: 45%;
max-width:55%;
padding-left: 30px;
height: 100%;
padding-top: 190px;
}

ul li:hover{
border-bottom:2px solid #ffbd39;
cursor: pointer;
}




0 comments on commit de599ff

Please sign in to comment.