forked from omiras/WebProgatsStarterQuerySelector
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathmain.css
More file actions
197 lines (165 loc) · 3.15 KB
/
main.css
File metadata and controls
197 lines (165 loc) · 3.15 KB
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
/* pseudo selectores y otros especiales */
:root {
--primary: #f2b366;
--secondary: #3f2f21;
--bg-primary: rgba(190, 183, 171, 0.3);
}
* {
box-sizing: border-box;
}
/* Selectores por Tag */
body {
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
button {
background-color: #4CAF50; /* Green */
border: none;
color: white;
padding: 0.3rem;
text-align: center;
text-decoration: none;
display: inline-block;
border-radius: 4px;
font-size: 16px;
}
#swipeUp {
position: fixed;
bottom: 5vh;
right: 5vw;
}
#swipeUp img {
width: 50px;
filter: grayscale(100%);
}
/* Selectores de clase */
.header {
background-color: var(--bg-primary);
padding: 2ch;
}
.header--logo {
display: none;
}
.header--title {
color: var(--primary);
text-transform: uppercase;
text-shadow: 2px 2px black;
text-align: center;
}
.menu--item {
text-decoration: none;
padding: 0.2rem;
background-color: var(--secondary);
color: var(--primary);
border-radius: 14px;
width: 150px;
text-align: center;
font-weight: 700;
}
.menu--item:hover {
color: var(--secondary);
background-color: var(--primary);
}
.menu {
display: flex;
flex-direction: column;
align-items: center;
gap: 16px;
}
.hero {
height: 50vh;
background-image: url("./img/mobileCat.jpg");
background-size: cover;
color: white;
font-size: clamp(
1rem,
5vw,
3rem
); /* idealmente quiero el tamaño del texto un 5% del viewpoer, pero no disminuyas más de 2rem y nunca aumentes más de 4rem*/
font-weight: 700;
display: flex;
justify-content: center;
align-items: flex-end;
text-shadow: 5px 5px rgba(0, 0, 0, 0.3);
border-radius: 8px;
background-position: center 25%;
background-repeat: no-repeat;
}
.members {
width: 80%;
margin: 0 auto;
display: flex;
flex-direction: column;
gap: 1rem;
}
.members--card {
height: 250px;
display: flex;
justify-content: flex-end;
align-items: center;
flex-direction: column;
margin: 0 auto;
border-radius: 5px;
box-shadow: 0 4px 8px 0 rgb(0 0 0 / 43%);
width: 100%;
padding: 5px;
max-width: 500px;
gap: 0.5rem;
}
.card__patricia {
background: url("./img/patricia.png") no-repeat center 10%,
url("./img/pawns.jpg");
}
.card__veronica {
background: url("./img/veronica.png") no-repeat center 10%,
url("./img/pawns.jpg");
}
.card__edurne {
background: url("./img/edurne.png") no-repeat center 10%,
url("./img/pawns.jpg");
}
.members--title {
text-align: center;
}
.members--name {
color: var(--secondary);
}
.members--name,
.members--role {
margin: 0;
}
.members--role {
color: white;
font-weight: 700;
background-color: rgba(0, 0, 0, 0.8);
padding: 6px;
border-radius: 8px;
}
.footer {
width: 80%;
margin: 0 auto;
text-align: center;
background-color: var(--bg-primary);
}
.footer--link {
text-decoration: none;
color: var(--secondary);
}
/* Versión tablet */
@media (min-width: 598px) {
.header--title {
display: none;
}
.header--logo {
display: inline-block;
width: 100px;
}
.menu {
flex-direction: row;
}
.header {
display: flex;
}
.hero {
background-image: url("./img/sleepingCat.jpg");
}
}