Skip to content

Commit

Permalink
adaptative
Browse files Browse the repository at this point in the history
  • Loading branch information
brayamhuaman committed May 22, 2024
1 parent 92debe4 commit aa28918
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* Estilos básicos */
body {
display: flex;
flex-direction: column;
Expand All @@ -6,9 +7,36 @@ body {
height: 100vh;
margin: 0;
font-family: Arial, sans-serif;
text-emphasis-color: #444;
color: #444; /* Cambié text-emphasis-color por color */
background-color: #000000;
padding: 1rem; /* Añadí padding para evitar que el contenido toque los bordes en móviles */
box-sizing: border-box; /* Para incluir el padding en el tamaño total */
}

/* Estilos para pantallas pequeñas (móviles) */
@media (max-width: 600px) {
body {
font-size: 0.9rem; /* Ajustar el tamaño de la fuente para pantallas pequeñas */
padding: 0.5rem; /* Reducir el padding en pantallas pequeñas */
}
}

/* Estilos para pantallas medianas (tablets) */
@media (min-width: 601px) and (max-width: 1024px) {
body {
font-size: 1rem; /* Tamaño de fuente base para tablets */
padding: 1rem; /* Padding para tablets */
}
}

/* Estilos para pantallas grandes (escritorios) */
@media (min-width: 1025px) {
body {
font-size: 1.1rem; /* Tamaño de fuente ligeramente mayor para escritorios */
padding: 2rem; /* Más espacio en los bordes para pantallas grandes */
}
}

.title {
font-size: 36px;
margin-bottom: 20px;
Expand Down

0 comments on commit aa28918

Please sign in to comment.