Skip to content

Commit 98b002e

Browse files
Avanze del proyecto3
1 parent 5e83e83 commit 98b002e

24 files changed

+3190
-188
lines changed

images/f.ico

1.12 KB
Binary file not shown.

index.html

Lines changed: 581 additions & 181 deletions
Large diffs are not rendered by default.

scripts/main.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
'use strict'
2+
let anio = document.querySelector("#anio");
3+
anio.innerText = new Date().getFullYear();

styles/_general.scss

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
* {
2+
box-sizing: $box;
3+
}
4+
5+
html {
6+
font-size: $base;
7+
}
8+
9+
body {
10+
font-family: $fuente-principal;
11+
font-size: $fuente-size;
12+
color: $color-principal;
13+
}
14+
15+
h1,
16+
h2,
17+
h3,
18+
h4,
19+
h5,
20+
h6 {
21+
font-family: $h-fuente-principal;
22+
}
23+
24+
h2 {
25+
font-size: $h2-particular-fuente;
26+
font-weight: $h2-particular-weight;
27+
}
28+
29+
h3 {
30+
font-size: $h3-particular-fuente;
31+
}
32+
33+
a {
34+
text-decoration: $a-decoration;
35+
color: $a-color;
36+
}
37+
38+
.container {
39+
max-width: $container-max-width;
40+
width: $container-width;
41+
margin: $container-margin;
42+
}

styles/_variables.scss

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
$box:border-box;
2+
$base:62.5%;
3+
$fuente-principal:Arial,
4+
Helvetica,
5+
sans-serif;
6+
$fuente-size:1.3rem;
7+
$color-principal:white;
8+
$h-fuente-principal:'Lato',
9+
sans-serif;
10+
$h2-particular-fuente: 3.2rem;
11+
$h2-particular-weight: bold;
12+
$h3-particular-fuente: 2.6rem;
13+
$a-color: inherit;
14+
$a-decoration:none;
15+
$container-max-width: 960px;
16+
$container-width:100%;
17+
$container-margin: auto;

styles/atoms/_buttons.scss

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
.btn-social {
2+
width: 2.6rem;
3+
height: 2.6rem;
4+
border: 2px solid #000;
5+
display: inline-block;
6+
text-align: center;
7+
line-height: 2.4rem;
8+
border-radius: 100%;
9+
}
10+
11+
.btn-social-fb:hover {
12+
border-color: #4267b2;
13+
color: #4267b2;
14+
}
15+
16+
.btn-social-tw:hover {
17+
border-color: #1ca1f2;
18+
color: #1ca1f2;
19+
}
20+
21+
.btn-detail {
22+
/*background: blue;*/
23+
display: flex;
24+
justify-content: center;
25+
& .a-detail {
26+
/*background: red;*/
27+
border-radius: 16px;
28+
border: solid 3px #7b3fb6;
29+
color: #7b3fb6;
30+
font-size: 1.8rem;
31+
font-weight: bold;
32+
font-family: Lato;
33+
padding: 0.6rem 3rem;
34+
}
35+
}

styles/atoms/_etiqueta.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.label {
2+
font-size: 1.2rem;
3+
color: black;
4+
background: white;
5+
display: inline-block;
6+
align-self: flex-end;
7+
padding: 0.5rem;
8+
border-radius: 8px;
9+
}

styles/atoms/_post-detail.scss

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
.post-detail {
2+
/*background: red;*/
3+
position: relative;
4+
margin-bottom: 2rem;
5+
& figure {
6+
width: 100%;
7+
height: 100%;
8+
overflow: hidden;
9+
& img {
10+
width: 100%;
11+
height: 100%;
12+
background-size: cover;
13+
}
14+
}
15+
& .text {
16+
display: flex;
17+
position: absolute;
18+
background: blue;
19+
bottom: 0.2rem;
20+
right: 0;
21+
left: 0;
22+
background: rgba(0, 0, 0, .5);
23+
& p {
24+
margin: 1rem 1.6rem 1rem 1rem;
25+
line-height: 1.38;
26+
color: #ffffff;
27+
}
28+
}
29+
}

0 commit comments

Comments
 (0)