-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
113 lines (110 loc) · 1.93 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
body {
background-color: #f6f6f3;
font-family: 'Open Sans', sans-serif;
}
a {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.contenedor {
max-width: 1000px;
width: 90%;
margin: 0 auto;
}
.contenedor__cards {
margin: 70px 0;
}
.card {
background-color: #FFF;
border-radius: 15px;
padding: 20px;
display: flex;
position: relative;
margin-bottom: 50px;
flex-direction: column;
align-items: center;
}
.card__thumbnail {
width: 100%;
max-width: 290px;
border-radius: 10px;
overflow: hidden;
display: inline-block;
}
.card__img {
width: 100%;
}
.card__titulo {
font-family: 'Raleway', sans-serif;
font-size: 30px;
font-weight: normal;
margin-bottom: 20px;
}
.card__enlace-titulo {
color: #000;
}
.card__extracto {
line-height: 28px;
color: #6d6d6d;
margin-bottom: 20px;
}
.boton {
border: none;
min-width: 180px;
height: 50px;
padding: 0 30px;
background-color: #000;
color: #FFF;
display: inline-block;
border-radius: 100px;
text-decoration: none;
display: inline-flex;
justify-content:space-between ;
align-items: center;
background-color: #403CC2;
transition: .3s ease all;
}
.boton__texto {
font-weight: 600;
}
.boton:hover {
background-color: #1B1881;
text-decoration: none;
}
.boton--absolute {
position: absolute;
right: 20px;
bottom: -25px;
}
.boton--verde {
background-color: #7BA771;
}
.boton--verde:hover {
background-color: #437837;
}
.frase {
text-align: center;
margin: 70px 0;
}
.frase__texto {
margin-bottom: 20px;
font-size: 30px;
font-family: 'Raleway', sans-serif;
font-weight: 600;
font-style: italic;
}
@media (min-width:800px) {
.card {
flex-direction: row;
}
.card__thumbnail {
margin-right: 20px;
}
}