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
85 changes: 36 additions & 49 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -1,21 +1,39 @@

.navbar{
background: black !important;
border-bottom: none !important;
font-size: 16px !important;
@font-face {
font-family: ostrich;
src: url(../fonts/ostrich.otf);
}
.parallax {
background-image: url("../img/material_design-wallpaper-2400x1350.jpg");
min-height: 650px;
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
/* This way you can override default css without using !important, try to use the less importants you can */
#header .navbar{
background: rgba(0, 0, 0, 0.24);
border-bottom: none ;
font-size: 16px ;
font-family: ostrich;
}
#inicio h1, #inicio p {animation: fadein 3s;}
@keyframes fadein {
from { opacity: 0; }
to { opacity: 1; }
}
#aboutMe, #hobbies{margin-top: 70px;}
#aboutMe{
background-color: #32506e;
color: #fff;
}

.jumbotron{
background-color: unset !important;
height: 650px !important;
margin-top: 2em;
background-size: cover;
text-align: center;
color:white !important;
z-index: 999 !important;
font-family: 'Indie Flower', cursive;
background-attachment: fixed !important;;
}

.jumbotron h1{
font-family: 'VT323', monospace;
font-size: 45px;
Expand All @@ -25,52 +43,35 @@
font-size: 25px !important;
color: #E2E2E2 !important;
}

h2{
margin-top: 70px !important;
font-family: 'Yanone Kaffeesatz', sans-serif !important;
font-size: 45px !important;
}
section#home{
margin-top: 70px !important;
}

section#home{margin-top: 70px !important;}
section#home h3{
font-size: 32px !important;
font-family: 'Caveat Brush', cursive;
vertical-align: middle !important;
padding-top: 30px;
}

section#aboutMe p{
font-size: 25px;
font-family: 'Cabin', sans-serif !important;
}

section#hobbies h3{
font-family: 'Indie Flower', cursive;
}

section#hobbies h3{font-family: 'Indie Flower', cursive;}
section#hobbies{
margin-bottom: 30px !important;
padding-bottom: 20px;
font-family: 'Cabin', sans-serif !important;
font-size: 25px;
}
section#hobbies img{
width: 70px;
}

section#video{
margin-bottom: 40px !important ;
}

section#hobbies img{width: 70px;}
section#video{margin-bottom: 40px !important;}
div#resp{
position: relative;
padding-bottom: 56.25%;
overflow: hidden;
}

div#resp iframe{
position: absolute;
display: block;
Expand All @@ -79,30 +80,16 @@ div#resp iframe{
width: 100%;
height: 100%;
}

footer{
margin-top: 30px;
height: 170px;
background: black;
color:white;
}

footer img{
width: 110px;
}

.row{
margin:0px !important;
}

footer figure {
margin:5px 0px;
}

footer img{width: 110px;}
footer figure {margin:5px 0px;}
@media screen and (max-width: 1048px){
.navbar-brand{
display:none !important;
}
.navbar-brand{display:none !important;}
}


Binary file added fonts/ostrich.otf
Binary file not shown.
16 changes: 6 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand page-scroll" href="#header">Salvador Jiménez Mendoza</a>
<a class="navbar-brand page-scroll" href="#header">Salvador Jimenez Mendoza</a>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul id="menu" class="nav navbar-nav navbar-right">
Expand All @@ -51,15 +51,12 @@
</div>
</nav>
<!-- Presentation Image -->
<div id="inicio" class="jumbotron text-center" style="
background-image: url(img/material_design-wallpaper-2400x1350.jpg) !important;
">
<h1>Salvador Jiménez Mendoza</h1>
<p>Yeahh!! that's my name :D</p>
</div>
<div class="parallax jumbotron" id="inicio">
<h1>Salvador Jiménez Mendoza</h1>
<p>Yeahh!! that's my name :D</p>
</div>
</header>

<div class="container">
<div class="container" id="changeNav">
<!-- Me Section -->
<section id="home" class="row">
<div class="col-md-10 col-md-offset-1">
Expand All @@ -81,7 +78,6 @@ <h2 >Hello everyone, so here I am </h2>
<p class="text-justify">
I know that maybe I'm not the best in my area, but i really do my best effort, everyday. I really like to learn new things, I'm a curious person and something that can be good for the team is that Im a really really a tolerant person, and that means that I'm a calm and relax person and is really weird that someone see me angry or sad, but if you see me angry some day, run for your life.
</p>

<p class="text-justify">But see me angry is like win the lottery, so this never happens :)</p>
</div>
</section>
Expand Down
13 changes: 13 additions & 0 deletions js/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
$(document).ready(function(){
var scroll_start = 0;
var startchange = $('#changeNav');
var offset = startchange.offset();
if (startchange.length){
$(document).scroll(function() {
scroll_start = $(this).scrollTop();
if(scroll_start >= offset.top) {
$(".navbar-default").css('background-color', '#333');
}else{
$(".navbar-default").css('background-color', 'rgba(0, 0, 0, 0.24)');
}
});
}
$(window).on('resize', function(){
var width=$(window).width();
console.log(width);
Expand Down