Spaces:
Sleeping
Sleeping
Download styles.css from iqra785/tut: direct link, hf CLI and curl.
- Browser
- Download file 1.53 kB
-
https://huggingface.co/spaces/iqra785/tut/resolve/main/styles.css
- Command line
-
hf download hf://spaces/iqra785/tut/styles.css
-
curl -L -o styles.css https://huggingface.co/spaces/iqra785/tut/resolve/main/styles.css
1.53 kB
| /* styles.css */ | |
| .main .block-container { | |
| padding: 2rem; | |
| } | |
| .title { | |
| text-align: center; | |
| margin-bottom: 1rem; | |
| } | |
| .section-title { | |
| margin-top: 2rem; | |
| font-size: 1.5rem; | |
| } | |
| .text-area { | |
| margin-top: 1rem; | |
| margin-bottom: 1rem; | |
| } | |
| .flashcard-container { | |
| display: flex; | |
| flex-direction: row; /* Aligns flashcards horizontally */ | |
| overflow-x: auto; /* Allows horizontal scrolling if necessary */ | |
| gap: 20px; /* Adds space between flashcards */ | |
| padding: 1rem; | |
| } | |
| .flashcard { | |
| width: 250px; | |
| height: 200px; | |
| border: 2px solid #4682b4; /* Steel Blue border */ | |
| border-radius: 5px; | |
| font-size: 16px; | |
| color: black; | |
| background-color: #f0f8ff; /* Alice Blue background */ | |
| perspective: 1000px; | |
| cursor: pointer; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| flex-shrink: 0; /* Prevent shrinking */ | |
| } | |
| .flashcard-inner { | |
| position: relative; | |
| width: 100%; | |
| height: 100%; | |
| transition: transform 0.6s; | |
| transform-style: preserve-3d; | |
| } | |
| .flashcard:hover .flashcard-inner { | |
| transform: rotateY(180deg); | |
| } | |
| .flashcard-front, .flashcard-back { | |
| position: absolute; | |
| width: 100%; | |
| height: 100%; | |
| backface-visibility: hidden; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| padding: 1rem; | |
| } | |
| .flashcard-front { | |
| background-color: #f0f8ff; /* Alice Blue background */ | |
| } | |
| .flashcard-back { | |
| background-color: #ffffff; /* White background for the back */ | |
| transform: rotateY(180deg); | |
| } | |