Newer
Older
#home-page {
display: flex;
flex-direction: column;
.section-title {
padding: 10px;
margin: 0;
background-color: $light_0;
color: $medium_grey;
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
.page-header {
.philo-bubbles {
@include flex-center;
flex-wrap: wrap;
gap: 40px;
@media screen and (max-width: $screen_m) {
gap: 20px;
}
margin: 30px 20px;
li {
border-radius: 100%;
@include flex-center;
background-color: $light_0;
* {
color: $medium_grey;
}
width: 100px;
height: 100px;
@media screen and (max-width: $screen_s) {
width: 75px;
height: 75px;
* {
font-size: 12px;
}
}
&:first-child {
background-color: $medium_grey;
* {
color: white;
}
}
&:last-child {
background-color: $dark_1;
* {
color: $light_1;
}
}
}
}
}
.news {
padding: 60px 20px;
.articles-displayer {
margin: 0 auto 40px;
.prev-next-buttons {
justify-content: space-between;
.prev-btn,
.next-btn {
border: none;
background: none;
display: flex;
align-items: center;
gap: 10px;
padding: 5px 0;
&.disabled {
visibility: hidden;
pointer-events: none;
}
&.active {
cursor: pointer;
color: $medium_grey;
&:hover {
color: $dark_2;
}
.next-btn {
&.active {
&::after {
content: " ";
border-style: solid;
border-width: 2px 2px 0 0;
width: 8px;
height: 8px;
transform: rotate(45deg);
@include flex-center;
}
.prev-btn {
&.active {
&::before {
content: " ";
border-style: solid;
border-width: 2px 2px 0 0;
width: 8px;
height: 8px;
transform: rotate(-135deg);
@include flex-center;
}
article {
display: grid;
gap: 5px 20px;
grid-template-columns: 1fr 1fr;
grid-template-rows: auto auto auto 1fr;
position: relative;
padding-left: 20px;
background-color: $dark_2;
*:not(a) {
color: $light_0;
grid-column: 1;
grid-row: 1;
text-align: right;
time {
color: $medium_grey;
font-style: italic;
font-size: 12px;
}
grid-column: 1;
grid-row: 3;
font-style: italic;
font-size: 15px;
grid-column: 1;
grid-row: 4;
min-height: 200px;
padding-bottom: 40px;
text-align: justify;
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
grid-row: 1 / span 4;
grid-column: 2;
img {
max-height: 100%;
}
}
&.article-placeholder {
padding: 0;
* {
background-color: $light_0;
}
.date {
height: 10px;
}
.title {
height: 40px;
}
.subtitle {
height: 30px;
}
}
}
@media screen and (max-width: $screen_l) {
article {
gap: 5px;
grid-template-columns: 1fr;
grid-template-rows: 300px auto auto auto 1fr;
padding: 0;
.date {
grid-row: 2;
padding: 0 10px;
}
.title {
grid-row: 3;
padding: 0 10px;
}
.subtitle {
grid-row: 4;
padding: 0 10px;
}
.body {
grid-row: 5;
padding: 0 10px 30px;
}
.image-carousel {
grid-row: 1;
grid-column: 1;
}
.poles {
display: grid;
grid-template-columns: 1fr 1fr;
.theme-card {
display: flex;
flex-direction: column;
width: 100%;
cursor: pointer;
.card-img {
width: 100%;
height: 240px;
overflow: hidden;
@include flex-center-col;
}
}
.card-title {
h2 {
margin: 0;
text-align: center;
padding: 10px 20px;
color: $blue_2;
}
}
.card-description {
background-image: url("/assets/images/wallpaper_binary.png");
flex: 1;
p {
margin: 0;
color: $blue_3;
text-align: center;
}
}
transition: transform 0.3s;
&:hover {
transform: scale(1.03);
}
}
}
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
.kuadrado-values {
background-image: url("/assets/images/wallpaper_binary_light.png");
padding: 100px 0 120px;
*:not(a, blue) {
color: $light_0;
}
h2 {
@include flex-center;
margin: 0 auto 60px;
width: 120px;
height: 120px;
background-image: url("/assets/images/wallpaper_binary.png");
border-radius: 100%;
color: $blue_3;
}
ul.values-list {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 30px;
li {
background-image: url("/assets/images/wallpaper_binary.png");
padding: 30px 20px 40px;
h3 {
text-align: center;
}
p {
text-align: justify;
}
}
}
}
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
.whoami {
background-image: url("/assets/images/wallpaper_binary_white.png");
padding: 100px 0 120px;
.page-contents-center {
background-color: white;
padding: 40px;
@include flex-center-col;
h2 {
text-align: center;
background-color: $dark_2;
@include flex-center-col;
width: 220px;
height: 220px;
border-radius: 100%;
padding: 30px;
}
.presentation-card {
.header {
display: grid;
grid-template-columns: auto 1fr;
gap: 30px;
background-color: $dark_2;
padding: 50px 20px;
.pic {
@include flex-center-col;
img {
width: 150px;
height: auto;
border-radius: 100%;
}
}
.header-text {
h3 {
font-size: 22px;
color: $light_0;
margin: 0;
}
h4 {
font-size: 18px;
}
strong,
h4 {
color: $light_1;
}
}
}
.body {
p {
font-size: 18px;
font-style: italic;
font-family: serif;
color: $dark_3;
*:not(blue, a) {
color: $dark_3;
}
}
}
}
}
}
grid-template-columns: 1fr;
gap: 40px;
.theme-card {
.card-img {
height: 300px;
img {
min-width: unset;
height: 100%;
}
}
.card-title {
h2 {
padding: 5px 20px;
}
}
.card-description {
background-image: url("/assets/images/wallpaper_binary.png");
flex: 1;
p {
margin: 0;
color: $blue_3;
text-align: center;
}
}
transition: transform 0.3s;
&:hover {
transform: none;
}
}
}
.kuadrado-values {
ul.values-list {
grid-template-columns: 1fr;
}
}
@media screen and (max-width: $page_contents_center_width) {
@media screen and (max-width: $screen_s) {
.whoami {
.page-contents-center {
.presentation-card {
.header {
@include flex-center-col;
.header-text {
text-align: center;
}
}
}
}
}
}