Skip to content

Commit 4c17119

Browse files
committed
Sitio responsivo
Funciona es visible en móvil Quedan varias cosas: centrar la foto de la cabra, arreglar un poco la alineaćión del carrusel, cambiar lo de trabajospara q la imagen sea clickable
1 parent 7f7ef72 commit 4c17119

2 files changed

Lines changed: 22 additions & 22 deletions

File tree

css/style.css

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -109,19 +109,19 @@ body {
109109

110110

111111
.pt-6 {
112-
padding-top: 60px;
112+
padding-top: 4%;
113113
}
114114

115115
.ps-6 {
116-
padding-left: 60px;
116+
padding-left: 4%;
117117
}
118118

119119
.pe-6 {
120-
padding-right: 60px;
120+
padding-right: 4%;
121121
}
122122

123123
.pb-6 {
124-
padding-bottom: 60px;
124+
padding-bottom: 4%;
125125
}
126126

127127

@@ -169,7 +169,7 @@ body {
169169
color: #fff !important; /* Ensure text is readable */
170170
border: none !important;
171171
margin: 0 !important;
172-
padding-right: 25px;
172+
padding-right: auto;
173173
}
174174
}
175175

@@ -188,7 +188,7 @@ body {
188188
.container-fluid .blog-header,
189189
.container-fluid .testimonial-header,
190190
.container-fluid .contact-header {
191-
padding: 25px;
191+
padding: auto;
192192
background-color: #1a1a1a !important; /* Dark grey (almost black) */
193193
color: #fff !important; /* Ensure text is readable */
194194
}
@@ -209,7 +209,7 @@ body {
209209
align-items: center;
210210
text-align: center;
211211
height: 100%;
212-
margin-left: calc(15%);
212+
/* margin-left: calc(15%); */
213213
}
214214
}
215215

@@ -236,8 +236,8 @@ body {
236236
}
237237

238238
.centered-section-padding {
239-
padding-top: 3rem;
240-
padding-bottom: 3rem;
239+
padding-top: 1rem;
240+
padding-bottom: 1rem;
241241
}
242242

243243
.text-header {
@@ -258,7 +258,7 @@ body {
258258

259259
.text-secondary {
260260
font-size: 150%;
261-
margin-bottom: 15px !important;
261+
margin-bottom: 2% !important;
262262
}
263263

264264
.text-centered {
@@ -352,16 +352,16 @@ body {
352352
margin: 0 auto;
353353
max-width: 100%;
354354
height: auto;
355-
padding-top: 20px;
356-
margin-left: calc(15%);
355+
padding-top: 10%;
356+
/* margin-left: calc(15%); */
357357
}
358358

359359
.about-img img {
360360
display: block;
361361
margin: 0 auto;
362362
max-width: 100%;
363363
height: auto;
364-
margin: 50px;
364+
margin: 10%;
365365
/* margin-left: calc(50%); */
366366
}
367367

@@ -413,15 +413,15 @@ body {
413413
transition: 0.5s;
414414
color: var(--bs-dark);
415415
display: block;
416-
margin: 50px auto; /* Centers the element horizontally */
416+
margin: auto; /* Centers the element horizontally */
417417
width: 100%; /* Occupy full width of its container */
418418
height: auto; /* Maintain the natural height */
419419
max-width: 1200px; /* Maximum width to prevent it from spanning the entire screen */
420420
}
421421

422422

423423
.testimonial-carousel .testimonial-item {
424-
padding: 60px;
424+
padding: 10%;
425425
}
426426

427427
.testimonial-center {
@@ -472,11 +472,11 @@ body {
472472

473473
.testimonial-carousel .owl-dots {
474474
width: 100%;
475-
height: 130px;
475+
height: 10rem;
476476
display: flex;
477477
align-items: center;
478478
justify-content: center;
479-
padding: 0 60px 60px 60px;
479+
padding: auto;
480480
transition: 0.5s;
481481
}
482482

@@ -498,8 +498,8 @@ body {
498498
display: inline-block;
499499
margin-left: auto;
500500
margin-right: auto;
501-
padding-bottom: 20px;
502-
padding-left: 25%;
501+
padding-bottom: auto;
502+
padding-left: auto;
503503
}
504504

505505
/* Botoncito */
@@ -517,7 +517,7 @@ body {
517517
.testimonial-carousel .owl-dots .owl-dot img {
518518
width: 40px;
519519
height: 40px;
520-
margin-right: 15px;
520+
margin-right: 1rem;
521521
border: 3px solid var(--bs-gray);
522522
transition: 0.5s;
523523
}

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ <h1 class="text-big text-header">Against Software</h1>
8080
</div>
8181
</div>
8282
<div class="row g-5">
83-
<div class="col-xl-15 text-centered">
83+
<div class="col-xl-15">
8484
<p class="mb-4 text-body">
8585
Somos un pequeño estudio independiente de videojuegos basado en Madrid.
8686
<br>
@@ -91,7 +91,7 @@ <h1 class="text-big text-header">Against Software</h1>
9191
<em>This business was founded very recently, in September 2024.</em>
9292
</p>
9393
</div>
94-
<div class="col-xl-15 wow fadeInUp text-centered" data-wow-delay="0.1s">
94+
<div class="col-xl-15 wow fadeInUp" data-wow-delay="0.1s">
9595
<h4 class="text-big">Nuestro manifiesto</h4>
9696
<em class="text-big text-secondary">Our manifesto</em>
9797
<p class="mb-4 text-body text-special">

0 commit comments

Comments
 (0)