Compare commits

..

No commits in common. "98b17d9ea15d32a3ffa301479312fccadb221cea" and "b58a9adff2681b0ac319f33b70f35669ec610a09" have entirely different histories.

5 changed files with 15 additions and 36 deletions

View file

@ -15,11 +15,11 @@
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
--> -->
![Anopaper logo with text](docs/imgs/Logo%20With%20Name.png) # AnoPaper - Notes service
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fartegoser%2FAnoPaper.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fartegoser%2FAnoPaper?ref=badge_shield) [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fartegoser%2FAnoPaper.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fartegoser%2FAnoPaper?ref=badge_shield)
**AnoPaper is a notes service** that allows you to save notes locally, complete notes using OpenAI API, collaborate on notes with other users and more. The notes supports markdown, MathJax, and GFM syntax. AnoPaper is a notes service that allows you to save notes locally, complete notes using OpenAI API, collaborate on notes with other users and more. The notes supports markdown, MathJax, and GFM syntax.
Running on: <https://anopaper.artegoser.ru/> Running on: <https://anopaper.artegoser.ru/>
@ -49,12 +49,6 @@ npm run build
- PORT: The port on which the server will listen. - PORT: The port on which the server will listen.
- KEY: Secret key to encrypt notes on the server - KEY: Secret key to encrypt notes on the server
- Start server
```bash
npm start
```
## Contributing ## Contributing
Contributions are welcome! If you would like to contribute to this project, please create a pull request. Contributions are welcome! If you would like to contribute to this project, please create a pull request.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 187 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 122 KiB

View file

@ -14,20 +14,3 @@
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
::-webkit-scrollbar {
width: 5px;
}
::-webkit-scrollbar-track {
background: #f2f2f2;
}
::-webkit-scrollbar-thumb {
background: #bdbdbd;
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background: #6e6e6e;
}

View file

@ -19,6 +19,8 @@
@tailwind components; @tailwind components;
@tailwind utilities; @tailwind utilities;
@layer base { @layer base {
/* styles for displaying markdown */ /* styles for displaying markdown */
.md h1 { .md h1 {
@ -40,7 +42,7 @@
@apply text-xl; @apply text-xl;
} }
.md blockquote { .md blockquote{
@apply border-l-4 pl-2 rounded-lg ml-4 mt-2 mb-2; @apply border-l-4 pl-2 rounded-lg ml-4 mt-2 mb-2;
@apply bg-zinc-200 border-zinc-400; @apply bg-zinc-200 border-zinc-400;
@apply dark:bg-zinc-800 dark:border-zinc-600; @apply dark:bg-zinc-800 dark:border-zinc-600;
@ -51,7 +53,7 @@
@apply mb-4 mt-4 border-2 rounded-lg; @apply mb-4 mt-4 border-2 rounded-lg;
} }
.md ul { .md ul{
@apply list-disc list-inside ml-4; @apply list-disc list-inside ml-4;
} }
@ -59,11 +61,11 @@
@apply list-disc list-inside; @apply list-disc list-inside;
} }
.md ol { .md ol{
@apply list-decimal list-inside ml-4; @apply list-decimal list-inside ml-4;
} }
.md li ol { .md li ol{
@apply list-decimal list-inside ml-4; @apply list-decimal list-inside ml-4;
} }
@ -83,8 +85,11 @@
border-style: hidden; border-style: hidden;
} }
.md table thead { .md table thead {
@apply bg-zinc-200 dark:bg-zinc-800; @apply bg-zinc-200 dark:bg-zinc-800;
} }
.md table tr { .md table tr {
@ -95,10 +100,7 @@
@apply w-96 ease-[cubic-bezier(.69,.58,.32,1.69)] hover:scale-105 rounded-2xl hover:drop-shadow-2xl transition duration-500 lg:ml-5; @apply w-96 ease-[cubic-bezier(.69,.58,.32,1.69)] hover:scale-105 rounded-2xl hover:drop-shadow-2xl transition duration-500 lg:ml-5;
} }
.md p, .md p, .math-inline { display: inline-block; }
.math-inline {
display: inline-block;
}
.md li p { .md li p {
display: inline; display: inline;
} }