| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>NobleLibrary - Persistent</title> | |
| <style> | |
| :root { | |
| --bg: #f8fafc; --text: #0f172a; --card-bg: #ffffff; | |
| --header-bg: rgba(255, 255, 255, 0.85); | |
| --accent: #6366f1; --border: #e2e8f0; | |
| --accent-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%); | |
| } | |
| body.dark-mode { | |
| --bg: #0f172a; --text: #f1f5f9; --card-bg: #1e293b; | |
| --header-bg: rgba(15, 23, 42, 0.85); --border: #334155; | |
| } | |
| body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--text); margin: 0; transition: 0.3s; padding-bottom: 50px; } | |
| header { position: sticky; top: 0; backdrop-filter: blur(12px); background: var(--header-bg); border-bottom: 1px solid var(--border); padding: 12px 20px; z-index: 100; display: flex; justify-content: space-between; align-items: center; } | |
| header h1 { font-size: 1.2rem; margin: 0; font-weight: 800; background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } | |
| .controls { display: flex; gap: 8px; } | |
| .btn { background: var(--card-bg); border: 1px solid var(--border); color: var(--text); padding: 6px 12px; border-radius: 10px; cursor: pointer; font-size: 0.8rem; font-weight: 600; } | |
| .btn.active { background: var(--accent); color: white; border-color: var(--accent); } | |
| .nav-categories { background: var(--card-bg); border-bottom: 1px solid var(--border); padding: 10px 20px; display: flex; gap: 10px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; position: sticky; top: 57px; z-index: 90; } | |
| .nav-categories::-webkit-scrollbar { display: none; } | |
| .nav-categories a { text-decoration: none; color: var(--text); font-size: 0.8rem; font-weight: 600; padding: 6px 14px; border-radius: 20px; border: 1px solid var(--border); background: var(--bg); } | |
| .container { max-width: 900px; margin: 0 auto; padding: 15px; } | |
| .category-section { margin-bottom: 40px; display: none; } | |
| .category-section.has-books { display: block; } | |
| .section-title { font-size: 1.3rem; margin-bottom: 15px; padding-left: 10px; border-left: 4px solid var(--accent); } | |
| .library-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 15px; } | |
| .book-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 18px; padding: 15px; text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 160px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); } | |
| .book-title { font-weight: 700; font-size: 0.95rem; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; } | |
| .manage-ui { display: none; margin-top: 10px; } | |
| body.manage-mode .manage-ui { display: block; } | |
| body.manage-mode .open-btn { display: none; } | |
| .cat-select { width: 100%; padding: 5px; border-radius: 5px; background: var(--bg); color: var(--text); border: 1px solid var(--border); font-size: 0.75rem; } | |
| .open-btn { margin-top: auto; background: var(--accent-gradient); color: white; text-align: center; padding: 8px; border-radius: 10px; font-size: 0.8rem; font-weight: 700; } | |
| </style> | |
| </head> | |
| <body> | |
| <header> | |
| <h1>NobleLibrary</h1> | |
| <div class="controls"> | |
| <button id="theme-toggle" class="btn">🌙</button> | |
| <button id="manage-toggle" class="btn">⚙️ Manage</button> | |
| </div> | |
| </header> | |
| <div class="nav-categories" id="nav-cats"></div> | |
| <div class="container" id="main-content"></div> | |
| <script> | |
| // The data is now preserved from your old file! | |
| let initialBooks = [{"filename": "Finding moms dark secret_WebBook.html", "title": "Finding moms dark secret", "category": "Action"}, {"filename": "Latinas daughter bbc dp_WebBook.html", "title": "Latinas daughter bbc dp", "category": "Action"}, {"filename": "Lesbian sister used by bullys_WebBook.html", "title": "Lesbian sister used by bullys", "category": "Action"}, {"filename": "Losing daughter in bet to bully_WebBook.html", "title": "Losing daughter in bet to bully", "category": "Action"}, {"filename": "Mom hypnotized by friend_WebBook.html", "title": "Mom hypnotized by friend", "category": "Action"}, {"filename": "Mother and principal_WebBook.html", "title": "Mother and principal", "category": "Action"}, {"filename": "Mother fufiles bet-Ntr_WebBook.html", "title": "Mother fufiles bet-Ntr", "category": "Action"}, {"filename": "Mothers apolgy gift_WebBook.html", "title": "Mothers apolgy gift", "category": "Action"}, {"filename": "Musclar sister wrestles brothers freinds_WebBook.html", "title": "Musclar sister wrestles brothers freinds", "category": "Action"}, {"filename": "My mothers huge ass_WebBook.html", "title": "My mothers huge ass", "category": "Action"}, {"filename": "Only boy in a family full of women_WebBook.html", "title": "Only boy in a family full of women", "category": "Action"}, {"filename": "Pushover sister truth or dare_WebBook.html", "title": "Pushover sister truth or dare", "category": "Action"}, {"filename": "Siater shows friends her boobs_WebBook.html", "title": "Siater shows friends her boobs", "category": "Action"}, {"filename": "Sister blackmailed by friends_WebBook.html", "title": "Sister blackmailed by friends", "category": "Action"}, {"filename": "Sister loses bet_WebBook.html", "title": "Sister loses bet", "category": "Action"}, {"filename": "Sisters dare gangbang_WebBook.html", "title": "Sisters dare gangbang", "category": "Action"}, {"filename": "Stepbrother takes advantage of mother_WebBook.html", "title": "Stepbrother takes advantage of mother", "category": "Action"}, {"filename": "Sweaty big sister loses bet to friend_WebBook.html", "title": "Sweaty big sister loses bet to friend", "category": "Action"}, {"filename": "Blackmailing cheating mom_WebBook.html", "title": "Blackmailing cheating mom", "category": "Action"}, {"filename": "Blackmailing elder sistertxt_WebBook.html", "title": "Blackmailing elder sistertxt", "category": "Action"}, {"filename": "Daughter at glory hole_WebBook.html", "title": "Daughter at glory hole", "category": "Action"}]; | |
| const categories = ["Action", "Fantasy", "Mystery", "Romance", "Sci-Fi"]; | |
| const render = () => { | |
| const content = document.getElementById('main-content'); | |
| const nav = document.getElementById('nav-cats'); | |
| content.innerHTML = ''; | |
| nav.innerHTML = ''; | |
| const groups = {}; | |
| categories.forEach(c => groups[c] = []); | |
| initialBooks.forEach(book => { | |
| if(groups[book.category]) groups[book.category].push(book); | |
| else groups[categories[0]].push(book); | |
| }); | |
| categories.forEach(cat => { | |
| const catId = cat.replace(/\s+/g, '-').toLowerCase(); | |
| const link = document.createElement('a'); | |
| link.href = `#${catId}`; | |
| link.innerText = cat; | |
| nav.appendChild(link); | |
| const section = document.createElement('div'); | |
| section.className = `category-section ${groups[cat].length > 0 ? 'has-books' : ''}`; | |
| section.id = catId; | |
| section.innerHTML = `<h2 class="section-title">${cat}</h2>`; | |
| const grid = document.createElement('div'); | |
| grid.className = 'library-grid'; | |
| groups[cat].forEach(book => { | |
| const card = document.createElement('div'); | |
| card.className = 'book-card'; | |
| card.innerHTML = ` | |
| <div class="book-title">${book.title}</div> | |
| <div class="manage-ui"> | |
| <select class="cat-select" onchange="moveBook('${book.filename}', this.value)"> | |
| ${categories.map(c => `<option value="${c}" ${c === cat ? 'selected' : ''}>${c}</option>`).join('')} | |
| </select> | |
| </div> | |
| <a href="${book.filename}" class="open-btn">Open Book</a> | |
| `; | |
| grid.appendChild(card); | |
| }); | |
| section.appendChild(grid); | |
| content.appendChild(section); | |
| }); | |
| }; | |
| window.moveBook = (filename, newCat) => { | |
| const book = initialBooks.find(b => b.filename === filename); | |
| if(book) book.category = newCat; | |
| render(); | |
| }; | |
| document.getElementById('manage-toggle').onclick = (e) => { | |
| document.body.classList.toggle('manage-mode'); | |
| e.target.classList.toggle('active'); | |
| }; | |
| document.getElementById('theme-toggle').onclick = () => { | |
| document.body.classList.toggle('dark-mode'); | |
| localStorage.setItem('lib-theme', document.body.classList.contains('dark-mode') ? 'dark' : 'light'); | |
| }; | |
| if(localStorage.getItem('lib-theme') === 'dark') document.body.classList.add('dark-mode'); | |
| render(); | |
| </script> | |
| </body> | |
| </html> |
Xet Storage Details
- Size:
- 9.16 kB
- Xet hash:
- 4bce08c9b34d8c2de73e580086dcce3067531920686d44fd5e41f3c1e9f809d2
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.