Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .library-container {
- width: 90vw;
- height: 37rem;
- border: 1px solid var(--accent-color);
- border-radius: 10px;
- display: flex;
- flex-wrap: wrap;
- justify-content: space-evenly;
- align-items: flex-start;
- padding: 20px;
- margin-left: auto;
- margin-right: auto;
- margin-top: 2rem;
- overflow-y: auto;
- }
- .card {
- width: 30%;
- height: 333px;
- display: flex;
- justify-content: flex-start;
- align-items: flex-start;
- flex-direction: column;
- border: 1px solid var(--accent-color);
- border-radius: 10px;
- padding: 15px;
- color: white;
- margin-top: 1rem;
- margin-right: 0.2rem;
- overflow-y: auto;
- position: relative;
- z-index: 1;
- }
- .card::before {
- content: "";
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background-image: inherit;
- background-size: cover;
- background-position: center;
- opacity: 0.5;
- z-index: -1;
- border-radius: inherit;
- }
- .card > * {
- position: relative;
- z-index: 2;
- }
- .row {
- border: 1px solid white;
- min-width: 50%;
- align-self: center;
- margin-bottom: 15px;
- }
- #card-title {
- text-align: center;
- margin-top: 0;
- }
- #card-text {
- text-align: left;
- margin-bottom: 1rem;
- }
- /* Scrollbar styles remain the same */
- .library-container::-webkit-scrollbar,
- .card::-webkit-scrollbar {
- width: 12px;
- }
- .library-container::-webkit-scrollbar-track,
- .card::-webkit-scrollbar-track {
- background: transparent;
- border: 1px solid var(--accent-color);
- border-radius: 6px;
- }
- .library-container::-webkit-scrollbar-thumb,
- .card::-webkit-scrollbar-thumb {
- background-color: var(--secondary-color);
- border-radius: 6px;
- border: 3px solid transparent;
- background-clip: content-box;
- }
Advertisement
Add Comment
Please, Sign In to add comment