Compare commits

..

2 commits

Author SHA1 Message Date
98b17d9ea1 doc: add npm start 2023-04-21 17:44:08 +03:00
8d873f7aa7 doc: logo 2023-04-21 17:34:28 +03:00
5 changed files with 36 additions and 15 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 - Notes service ![Anopaper logo with text](docs/imgs/Logo%20With%20Name.png)
[![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,6 +49,12 @@ 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.

After

Width:  |  Height:  |  Size: 187 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 122 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View file

@ -14,3 +14,20 @@
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,8 +19,6 @@
@tailwind components; @tailwind components;
@tailwind utilities; @tailwind utilities;
@layer base { @layer base {
/* styles for displaying markdown */ /* styles for displaying markdown */
.md h1 { .md h1 {
@ -42,7 +40,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;
@ -53,7 +51,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;
} }
@ -61,11 +59,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;
} }
@ -85,11 +83,8 @@
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 {
@ -100,7 +95,10 @@
@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, .math-inline { display: inline-block; } .md p,
.math-inline {
display: inline-block;
}
.md li p { .md li p {
display: inline; display: inline;
} }