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 issues in read later and enhance reader connections #4840

Merged
merged 2 commits into from
Nov 9, 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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -824,6 +824,7 @@
├── scifi.html
├── script.js
├── scripts.js
├── scrollToTop.js
├── scrollbar.css
├── scrollbar.js
├── sense-sensibility_01_austen_64kb.mp3
Expand Down
196 changes: 196 additions & 0 deletions assets/html/ConnReader.html
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,203 @@
display: block;
}
</style>
<style>
/* Base styling */
* {
box-sizing: border-box;
padding: 0;
margin: 0;
font-family: 'Poppins', sans-serif;
}

/* General layout */
.reader {
max-width: 900px;
padding: 20px;
background-color: #fefefe;
border-radius: 10px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
text-align: center;
}

.reader h1 {
font-size: 2rem;
color: #d23b57;
margin-bottom: 20px;
}

/* Pseudo-nav styling */
.Psuedo-nav {
display: flex;
justify-content: center;
gap: 30px;
margin-bottom: 20px;
}

.nav-btn {
padding: 10px 20px;
background-color: #f84f35;
color: #ffffff;
font-weight: 600;
font-size: 1.3rem;
border: none;
border-radius: 8px;
cursor: pointer;
transition: background-color 0.3s;
}

.nav-btn:hover {
background-color: #d23b57;
}

/* Section styling */
main {
padding: 20px;
}

.section {
display: none;
animation: fadeIn 0.5s ease;
}

.section h2 {
color: #7b1b3f;
font-size: 1.6rem;
margin-bottom: 15px;
border-bottom: 2px solid #ffd3d9;
padding-bottom: 5px;
}

#search-bar,
#message-input {
width: 100%;
padding: 12px;
font-size: 1rem;
margin-top: 10px;
border: 1px solid #ddd;
border-radius: 8px;
transition: border-color 0.3s;
background-color: whitesmoke;
}

#search-bar:focus,
#message-input:focus {
border-color: #d23b57;
outline: none;
}

button#send-btn {
padding: 10px 16px;
background-color: #f84f35;
color: #ffffff;
font-size: 1rem;
font-weight: 600;
border: none;
border-radius: 8px;
cursor: pointer;
transition: background-color 0.3s;
}

button#send-btn:hover {
background-color: #d23b57;
}

/* Privacy settings checkboxes */
#privacy-settings label {
display: flex;
align-items: center;
gap: 10px;
font-size: 1.2rem;
color: rgb(83, 2, 2);
margin-bottom: 10px;
}

#privacy-settings input[type="checkbox"] {
width: 18px;
height: 18px;
accent-color: #d23b57;
}

/* Book list and connections styling */
#user-list,
#connections-list,
#chat-list,
#chat-window {
margin-top: 15px;
padding: 15px;
border-radius: 8px;
background-color: #ffe6eb;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Fade-in animation */
@keyframes fadeIn {
0% { opacity: 0; transform: translateY(10px); }
100% { opacity: 1; transform: translateY(0); }
}

/* Dark mode styling */
.dark-mode .reader {
background-color: #2e2e2e;
color: #f5f5f5;
}

.dark-mode .reader h1 {
color: #eaeaea;
}

.dark-mode .nav-btn {
background-color: #7b1b3f;
color: #ffffff;
}

.dark-mode .nav-btn:hover {
background-color: #5a1e30;
}

.dark-mode .section h2 {
color: #f9b0ab;
border-bottom-color: #7b1b3f;
}

.dark-mode #search-bar,
.dark-mode #message-input {
background-color: #3d3d3d;
border-color: #555;
color: #f5f5f5;
}

.dark-mode #search-bar::placeholder,
.dark-mode #message-input::placeholder {
color: #eaeaea;
}

.dark-mode button#send-btn {
background-color: #7b1b3f;
color: #ffffff;
}

.dark-mode button#send-btn:hover {
background-color: #5a1e30;
}

.dark-mode #user-list,
.dark-mode #connections-list,
.dark-mode #chat-list,
.dark-mode #chat-window {
background-color: #444;
color: #f5f5f5;
}

.dark-mode #privacy-settings label {
color: #eaeaea;
}

.dark-mode #privacy-settings input[type="checkbox"] {
accent-color: #f84f35;
}

</style>
</head>
<body>

Expand Down
Loading
Loading