diff --git a/index.html b/index.html index 14f0559..ca2d705 100644 --- a/index.html +++ b/index.html @@ -11,78 +11,33 @@ background-color: #f8f9fa; padding-top: 20px; } - + .card { margin-bottom: 20px; border: none; transition: all 0.3s; - position: relative; - overflow: hidden; /* Added */ } - + .card:hover { box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } - + .card-img-top { max-width: 100%; height: auto; - max-height: 150px; - position: absolute; - top: 0; - left: 0; - right: 0; - margin: auto; - z-index: 2; + max-height: 100px; /* Limit image height */ } - + #skills-container { display: grid; - grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); - grid-gap: 20px; + grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Responsive grid layout */ + grid-gap: 20px; /* Spacing between cards */ } - + .card-body { text-align: center; - position: relative; - z-index: 1; - } - - .preview { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - background-color: rgba(255, 255, 255, 0.9); - opacity: 0; - transition: opacity 0.3s ease-in-out; - pointer-events: none; - z-index: 3; /* Changed to be on top of the card */ - overflow: hidden; - } - - .card:hover .preview { - opacity: 1; - pointer-events: auto; - } - - .preview-content { - padding: 20px; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - z-index: 3; /* Adjusted to be on top of the skill card icon */ - } - - .preview-content img { - max-width: 100%; - height: auto; - margin-bottom: 10px; } - .audio-qr-code-install-button { margin-top: 10px; padding: 8px 16px; @@ -93,18 +48,11 @@ cursor: pointer; transition: background-color 0.3s; } - + .audio-qr-code-install-button:hover { background-color: #0056b3; } - - .utterances { - max-height: 100px; - overflow-y: auto; - } - -
Below, you'll find a list of available skills:
{{ example }}
-{{ skill.description }}
- +