Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: style of swiper #93

Merged
merged 3 commits into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions proyect_structure.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Listado de rutas de carpetas
| | daisyui.min.css
| | formations.css
| | style.css
| | styles-v1.0.3.css
| | styles-v1.0.4.css
| |
| +---favicon-v1.0
| | android-chrome-192x192.png
Expand Down Expand Up @@ -78,7 +78,7 @@ Listado de rutas de carpetas
| +---js
| formations.js
| main.min.js
| script-v1.0.6.js
| script-v1.0.7.js
|
+---templates
| 500.html
Expand Down
16 changes: 16 additions & 0 deletions static/css/styles-v1.0.3.css → static/css/styles-v1.0.4.css
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,8 @@ tr:last-child {
background-color: #333333;
border-radius: 8px;
padding: 15px;
width: 100%; /* Ajustar al ancho del slide */
max-width: 100%;
}

@media (max-width: 830px) {
Expand All @@ -355,6 +357,19 @@ tr:last-child {
}
}

.swiper {
width: 100%;
overflow: hidden; /* Evitar que los bordes de los slides se vean */
}

.swiper-slide {
overflow: hidden; /* Ocultar contenido que se desborde */
width: 100%; /* Asegurar que el ancho de cada slide sea completo */
display: flex; /* Para centrar el contenido */
justify-content: center;
align-items: center;
}

#floating-button {
position: fixed;
bottom: 20px;
Expand All @@ -366,6 +381,7 @@ tr:last-child {
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
cursor: pointer;
display: inline-block;
z-index: 1;
}

.badge {
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
<link rel="icon" type="image/png" sizes="32x32" href="../static/favicon-v1.0/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="../static/favicon-v1.0/favicon-16x16.png">
<link rel="manifest" href="../static/favicon-v1.0/site.webmanifest">
<link rel="stylesheet" type="text/css" href="/static/css/styles-v1.0.3.css">
<link rel="stylesheet" type="text/css" href="/static/css/styles-v1.0.4.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css">
<script src="/static/js/script-v1.0.7.js"></script>
<link rel="stylesheet" type="text/css" href="/static/css/formations.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css"/>
<script src="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js"></script>
<script src="/static/js/script-v1.0.6.js"></script>
<script src="/static/js/formations.js"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
</head>
Expand Down
Loading