diff --git a/contenido/02.html b/contenido/02.html index 588e14f..f208c97 100644 --- a/contenido/02.html +++ b/contenido/02.html @@ -33,11 +33,16 @@ } .w-text p { - padding: 0.6rem; + padding: 0.6rem 1.2rem; background: rgba(242, 232, 222, 0.76); background: linear-gradient(to right, rgba(242, 232, 222, 0.76) 0%, #ffffff 100%); width: 94%; } + + .w-text.large-text p { + font-size: 1.4rem; + padding: 0.6rem 1.4rem; + }
@@ -54,7 +59,7 @@
- +
@@ -64,7 +69,7 @@
- +
@@ -76,7 +81,7 @@
- +
@@ -86,7 +91,7 @@
- +
@@ -96,7 +101,7 @@
- +
@@ -106,7 +111,7 @@
- +
@@ -118,7 +123,7 @@
- +
@@ -128,7 +133,7 @@
- +
@@ -143,7 +148,7 @@
- +
@@ -153,7 +158,7 @@
- +
@@ -183,6 +188,17 @@ "use strict"; $(".wrap-course-content").addClass("fake"); + // Ajustar tamaño de texto según ancho de ventana + function adjustTextSize() { + if (window.innerWidth >= 1500) { + $(".w-text").addClass("large-text"); + } else { + $(".w-text").removeClass("large-text"); + } + } + adjustTextSize(); + $(window).on("resize", adjustTextSize); + // Verificar si algún slide con contenido/02.html ya fue visitado var contentArray = CourseNav.getCourseContentArray(); var alreadyVisited = contentArray.some(function (slide) { diff --git a/img/card.png b/img/card.png index 778e438..2a153a5 100644 Binary files a/img/card.png and b/img/card.png differ