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
72 changes: 72 additions & 0 deletions 00-HTML-CSS-basics/css/css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
html{
font-family: 'Verdana', sans-serif;
font-size: 14px;
font-weight: 800;
}

header{
background-color: red;
text-align: center;
}

footer{
background-color: orange;
text-align: center;
}

aside{
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Try to leave one white space before the { simbol :)

background-color: orangered;
}

nav{
background-color: gold;
}

.header{
float: left;
width: 100%;
display: block;
box-sizing: border-box;
font-size: 46px;
}
.footer{
float: left;
width: 100%;
display: block;
box-sizing: border-box;
font-size: 10px;
}
.content{
float: left;
width: 50%;
display: inline-block;
box-sizing: border-box;
font-size: 14px;
}
.navigation{
float: left;
width: 25%;
display: inline-block;
box-sizing: border-box;
font-size: 12px;
}
.sidebar{
float: left;
width: 25%;
display: inline-block;
font-size: 10px;
box-sizing: border-box;
}


*[class$="r"]{
background-color: magenta;
}

[class*="a"]:not(*[class$="r"]) {
background-color: blue;
}

.oh-no-inline-styles{
background: green !important;
}
100 changes: 100 additions & 0 deletions 00-HTML-CSS-basics/css/css/stylex.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
html{
font-family: 'Arial', 'Verdana', sans-serif;
font-size: 12px;
}


.container{
float: left;
padding: 10px;
box-sizing: border-box;
}

.header{
float: left;
width: 100%;
box-sizing: border-box;
padding: 50px;
background-color: white;
margin-bottom: 10px;
}
.header .module-title{
float: left;
width: 33.3%;
}
.header .module-description{
float: left;
width: 66.6%;
}

.content{
float: left;
width: 100%;
}
.content .box{
float: left;
width: 33.3%;
position: relative;
padding: 10px;
box-sizing: border-box;
}
.content .box img{
width: auto;
height: auto;
max-width: 100%;
}

.content .box:hover .box-content{
opacity: 1;
}

.content .box-content{
display: flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
padding: 20px;
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
opacity: 0;
background-color: rgba(0,0,0,0.3);
transition: all 0.5s ease;
-webkit-transition: all 0.2s ease;
}
.content .box-content p{
margin: 0;
color: #fff;
}



@media only screen and (max-width: 670px){
.header{
padding: 15px;
}
.header .module-title{
width: 100%;
}
.header .module-description{
width: 100%;
}
.content .box,
.content .box-content{
padding: 5px;
}
.content .box{
width: 50%;
}
}

@media only screen and (max-width: 480px){
.header{
padding: 10px;
}
.content .box{
width: 100%;
}
}
Binary file added 00-HTML-CSS-basics/css/img/01.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 00-HTML-CSS-basics/css/img/02.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 00-HTML-CSS-basics/css/img/03.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 00-HTML-CSS-basics/css/img/04.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 00-HTML-CSS-basics/css/img/05.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 00-HTML-CSS-basics/css/img/06.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
65 changes: 65 additions & 0 deletions 00-HTML-CSS-basics/css/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="apple-touch-icon" href="apple-touch-icon.png">
<!-- Place favicon.ico in the root directory -->

<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/style.css">
<script src="js/vendor/modernizr-2.8.3.min.js"></script>
</head>
<body>
<!--[if lt IE 8]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->

<!-- Add your site or application content here -->



<header class="header">
<p>header</p>
</header>

<nav class="navigation">
<p>nav</p>
</nav>

<section class="content">
<p>section</p>
<header><p>header</p></header>
<article><p>article</p></article>
<footer><p>footer</p></footer>
</section>

<aside class="sidebar">
<p>aside</p>
</aside>

<footer class="footer">
<p>footer</p>
</footer>





<script src="https://code.jquery.com/jquery-{{JQUERY_VERSION}}.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-{{JQUERY_VERSION}}.min.js"><\/script>')</script>
<script src="js/plugins.js"></script>
<script src="js/main.js"></script>

<!-- Google Analytics: change UA-XXXXX-Y to be your site's ID. -->
<script>
window.ga=function(){ga.q.push(arguments)};ga.q=[];ga.l=+new Date;
ga('create','UA-XXXXX-Y','auto');ga('send','pageview')
</script>
<script src="https://www.google-analytics.com/analytics.js" async defer></script>
</body>
</html>
96 changes: 96 additions & 0 deletions 00-HTML-CSS-basics/css/mockup.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="apple-touch-icon" href="apple-touch-icon.png">
<!-- Place favicon.ico in the root directory -->

<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/stylex.css">
<script src="js/vendor/modernizr-2.8.3.min.js"></script>
</head>
<body>
<!--[if lt IE 8]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->

<!-- Add your site or application content here -->



<header class="header">
<div class="container">
<div class="module-title">
<h2>Showcase</h2>
</div>

<div class="module-description">
<p>Una mañana, tras un sueño intranquilo, Gregorio Samsa se despertó convertido en un monstruoso insecto. Estaba echado de espaldas sobre un duro caparazón y, al alzar la cabeza, vio su vientre convexo y oscuro, surcado por curvadas callosidades, sobre el que casi no se aguantaba la colcha, que estaba a punto de escurrirse hasta el suelo. Numerosas patas, penosamente delgadas en comparación con el grosor normal de sus piernas, se agitaban sin concierto. - ¿Qué me ha ocurrido? No estaba soñando. Su habitación, una habitación normal, aunque muy pequeña, tenía el aspecto habitual. Sobre la mesa había desparramado un muestrario de paños - Samsa era viajante de comercio-, y de la pared colgaba una estampa recientemente recortada de una revista ilustrada y puesta en un marco dorado. La estampa mostraba a una mujer tocada con un gorro de pieles, envuelta en una estola también de pieles, y que, muy erguida,</p>
</div>
</div>
</header>

<section class="content">
<div class="container">
<div class="box">
<img src="img/01.jpg" alt="img01">
<div class="box-content">
<p>Una mañana, tras un sueño intranquilo, Gregorio Samsa se despertó</p>
</div>
</div>

<div class="box">
<img src="img/02.jpg" alt="img02">
<div class="box-content">
<p>Una mañana, tras un sueño intranquilo, Gregorio Samsa se despertó</p>
</div>
</div>

<div class="box">
<img src="img/03.jpg" alt="img03">
<div class="box-content">
<p>Una mañana, tras un sueño intranquilo, Gregorio Samsa se despertó</p>
</div>
</div>

<div class="box">
<img src="img/04.jpg" alt="img04">
<div class="box-content">
<p>Una mañana, tras un sueño intranquilo, Gregorio Samsa se despertó</p>
</div>
</div>

<div class="box">
<img src="img/05.jpg" alt="img05">
<div class="box-content">
<p>Una mañana, tras un sueño intranquilo, Gregorio Samsa se despertó</p>
</div>
</div>

<div class="box">
<img src="img/06.jpg" alt="img06">
<div class="box-content">
<p>Una mañana, tras un sueño intranquilo, Gregorio Samsa se despertó</p>
</div>
</div>
</div>
</section>

<script src="https://code.jquery.com/jquery-{{JQUERY_VERSION}}.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-{{JQUERY_VERSION}}.min.js"><\/script>')</script>
<script src="js/plugins.js"></script>
<script src="js/main.js"></script>

<!-- Google Analytics: change UA-XXXXX-Y to be your site's ID. -->
<script>
window.ga=function(){ga.q.push(arguments)};ga.q=[];ga.l=+new Date;
ga('create','UA-XXXXX-Y','auto');ga('send','pageview')
</script>
<script src="https://www.google-analytics.com/analytics.js" async defer></script>
</body>
</html>
Binary file added 00-HTML-CSS-basics/html/audio/miraclecure.mp3
Binary file not shown.
26 changes: 26 additions & 0 deletions 00-HTML-CSS-basics/html/ejercicio1-1.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Ejercicio1-1</title>
<meta name="description" content="Basics of HTML and CSS">
<meta name="keywords" content="HTML,CSS,Globant,Ivan,Diaz">
<meta name="author" content="Ivan Diaz">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>

<body>
<h1>My todo list</h1>
<ul>
<li>Brush my teeth</li>
<li>Have breakfast</li>
<li>Work a little</li>
<li>Ride my bike</li>
<li>Work some more</li>
<li>Have lunch</li>
<li>Etc</li>
</ul>
</body>

</html>
Loading