-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
129 lines (102 loc) · 1.92 KB
/
styles.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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
/*
3 column preview card component
Creador @jaglux12 (https://github.com/jaglux12)
Proyecto n3 - Curso de Programación
Licencia - GNU/GPL v2
*/
/* Reseteo de estilos */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
/* Variables */
:root{
/* Colores primarios */
--Bright-orange: hsl(31,77%,52%);
--Dark-cyan: hsl(184,100%,22%);
--Very-dark-cyan: hsl(179,100%,13%);
/* Colores del texto */
--transparent-white:hsla(0, 0%,100%,0.75);
--very-light-gray: hsl(0,0%,95%);
}
html{
font-size: 15px;
}
body{
align-items: center;
display: flex;
height: 100%;
justify-content: center;
width: 100%;
}
main{
align-items: center;
background-color: white;
display: flex;
flex-direction: column;
height: 100vh;
}
article{
display: flex;
flex-direction: column;
height: 442px;
justify-content: space-evenly;
padding: 3.2rem;
width: 327px;
}
h1 {
font-family: 'Big Shoulders Display', sans-serif;
font-size: 2.5rem;
}
p{
color: var(--transparent-white);
}
p, button{
font-family: 'Lexend Deca', sans-serif;
font-size: 1rem;
line-height: 1.5;
}
button{
border: none;
border-radius: 24px;
height: 48px;
width: 146px;
}
h1, button{
color: var(--very-light-gray);
}
/* Color de las cards */
.sedan{
background-color: var(--Bright-orange);
}
.suv{
background-color: var(--Dark-cyan);
}
.lux{
background-color: var(--Very-dark-cyan);
}
/* Color de los botones */
.bsedan{
color: var(--Bright-orange);
}
.bsuv{
color: var(--Dark-cyan);
}
.blux{
color: var(--Very-dark-cyan);
}
/* Media queries */
@media (min-width: 991px) {
main{
flex-direction: row;
}
.sedan{
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
}
.lux{
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
}
}