Newer
Older
#home-page {
display: flex;
flex-direction: column;
gap: 20px;
margin-bottom: 60px;
.section-title {
padding: 10px;
margin: 0;
background-color: $light_0;
color: $medium_grey;
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
.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;
}
}
}
}
}
.prev-next-buttons {
display: flex;
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;
}
.date {
grid-column: 1;
grid-row: 1;
text-align: right;
color: $medium_grey;
font-style: italic;
font-size: 12px;
}
}
.title {
grid-column: 1;
grid-row: 2;
h3 {
margin: 0 0 10px;
}
}
.subtitle {
grid-column: 1;
grid-row: 3;
font-style: italic;
font-size: 15px;
}
.body {
grid-column: 1;
grid-row: 4;
}
.image-carousel {
grid-row: 1 / span 4;
grid-column: 2;
* {
background-color: $light_0;
}
.date {
height: 10px;
}
.title {
height: 40px;
}
.subtitle {
height: 30px;
}
}
}
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
@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;
}
}
}
}
.grid-3 {
gap: 30px;
.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);
}
}
}
247
248
249
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
.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;
}
}
}
}
@media screen and (max-width: $screen_l) {
.grid-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) {
.grid-3 {
padding: 0 20px;
}