# Share your CSS

**URL:** <https://discourse.joplinapp.org/t/share-your-css/1730>\
**Category:** Lounge\
**Tags:** tips-and-tricks\
**Created:** [28 February 2019 15:51 UTC](https://discourse.joplinapp.org/t/share-your-css/1730 "2019-02-28T15:51:09Z")\
**Posts on this page:** 20\
**Page:** 6

<div class="post-metadata">

**Author:** ![uar](https://avatars.discourse-cdn.com/v4/letter/u/5fc32e/32.png) [@uar](https://discourse.joplinapp.org/u/uar)\
**Post date:** [27 May 2020 10:36 UTC](https://discourse.joplinapp.org/t/share-your-css/1730/118 "2020-05-27T10:36:00Z")

</div>

Here is my userchrome, I mostly managed to get all the classes looking at the code from @uxamanda

```
/* VARIABLES ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */

:root {
	--Menu-background: #A3A79F;
	--Sidebar-background: #2E3033;
	--Editor-background: #363B40;

	--light: #dedede;
}

/* MAIN MENU ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */

.editor-toolbar .button {
    height: 40px !important;
}

.header {
	background-color: var(--Sidebar-background) !important;
	border-bottom: 2px solid var(--light) !important;
}

/* BUTTONS */

/* new notebook */
.header>*:nth-child(5) {
	order: 1;
}

/* new note */
.header>*:nth-child(3) {
	order: 2;
}

/* new todo */
.header>*:nth-child(4) {
	order: 3;
	display: none !important;
}

/* toggle sidebar */
.header>*:nth-child(1) {
	order: 4;
	margin-left: 24px !important;
}

/* toggle notebooks */
.header>*:nth-child(2) {
	order: 5;
}

/* Code view */
.header>*:nth-child(6) {
	order: 6;
	display: none !important;
}

/* layout */
.header>*:nth-child(7) {
	margin-left: 24px !important;
	order: 7;
}

/* search */
.header>*:nth-child(8) {
	position: absolute;
	top: 3px;
	right: 0px;
	width: 300px;
	order: 8;
}

/* SIDEBAR ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */

.side-bar {
    background-color: var(--Sidebar-background) !important;
}

/* tags */
.side-bar>*:nth-child(1)>*:nth-child(4) {
	display: none !important;
}

/* Note counters */
.list-item div {
    margin-left: auto !important;
    padding-right: 13px !important;
    opacity: 0.3 !important;
}

/* NOTE LIST ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */

.note-list {
	padding-top: 5px !important;
}

/* NOTE MENU HEADER ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */

.editor-toolbar {
    border-bottom: 0px !important;
}

/* MARKDOWN EDITOR ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */

.ace_content {
	border-right: 1px solid #000 !important;
	background-color: var(--Editor-background) !important;
}

.ace_heading {
	font-weight: bold;
	text-transform: uppercase;
	color: var(--white) !important;
}

```

It only modifies a few things regarding color, it’s not a full theme declaration, so works best by selecting the Dark Mode and adding this to your CSS.

Besides that, it does a few minor tweaks to margins, reposition the note counters, and remove a few items from the menu that I don’t use.

What I could not figure out, is how to change the blue highlight color for the menu buttons and the notebook selection.  
Also, I would love to remove the forth and back arrow buttons as well as the tag button from the editor menu.  
Moving the Info button beside the note title would be great, but I guess that is out of the CSS limits.

Any ideas about which classes should I point to?

---

<div class="post-metadata">

**Author:** ![uxamanda](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/uxamanda/32/6786_2.png) [@uxamanda](https://discourse.joplinapp.org/u/uxamanda)\
**Post date:** [27 May 2020 17:34 UTC](https://discourse.joplinapp.org/t/share-your-css/1730/119 "2020-05-27T17:34:20Z")

</div>

Very cool, [uar](https://discourse.joplinapp.org/u/uar)!

At the moment, I have not found a way to target the selected state of the notebook from CSS. I just made a request for the same, since I’d like to change that as well (See: [Cleaner design of the sidebar?](https://discourse.joplinapp.org/t/cleaner-design-of-the-sidebar/7604/31))

You can target the menu highlight with:

```auto
.editor-toolbar .button:not(.disabled):hover, .header .button:not(.disabled):hover{
 background-color: orange !important;
 border: 1px solid orange !important;
}

```

For the back and forth and tag button, you can remove them by:

```auto
#react-root>div>div>div:last-child>div>div>.editor-toolbar a:nth-child(1), #react-root>div>div>div:last-child>div>div>.editor-toolbar a:nth-child(2), #react-root>div>div>div:last-child>div>div>.editor-toolbar a:nth-child(5){
	display: none !important
}

```

You can see I’m counting the number of buttons in the row to target them, so keep an eye on this. New versions might have a different number of buttons.

As for the info button, I agree, I am not sure how to do this with CSS.

Hope that helps!

---

<div class="post-metadata">

**Author:** ![uar](https://avatars.discourse-cdn.com/v4/letter/u/5fc32e/32.png) [@uar](https://discourse.joplinapp.org/u/uar)\
**Post date:** [27 May 2020 18:16 UTC](https://discourse.joplinapp.org/t/share-your-css/1730/120 "2020-05-27T18:16:41Z")

</div>

That was very helpful! Thanks!  
I managed to move the Info button and completely remove the extra line.

```
#react-root>div>div>div:last-child>div>div>.editor-toolbar a:nth-child(3){
	position: absolute;
	top: 70px;
	right: 0px;
}

```

Here is a shot of it, with a few items removed and the minor color tweaks, which for my use-case is perfect.

 ![Screenshot 2020-05-27 at 20.19.30](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/7/7b82da9109636492a78892432acf77257e670757.png)

---

<div class="post-metadata">

**Author:** ![Rolograaf](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/rolograaf/32/1675_2.png) [@Rolograaf](https://discourse.joplinapp.org/u/Rolograaf)\
**Post date:** [13 June 2020 09:47 UTC](https://discourse.joplinapp.org/t/share-your-css/1730/121 "2020-06-13T09:47:36Z")

</div>

Amanda, as a feature request, would you be willing to add a user setting in the variables, so the icons are twice the size? My old eyes and fast mouse are having issues…

to get something like this

 ![diff3](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/8/85b503ec084cbfde161939cae10ca2c45b654fe9.png)

thanks  
Lourens

---

<div class="post-metadata">

**Author:** ![uxamanda](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/uxamanda/32/6786_2.png) [@uxamanda](https://discourse.joplinapp.org/u/uxamanda)\
**Post date:** [14 June 2020 22:47 UTC](https://discourse.joplinapp.org/t/share-your-css/1730/122 "2020-06-14T22:47:06Z")

</div>

Yep, good idea! Just did some refactoring in V0.8, so now you can adjust font size and icon size. Now headers are relative to those sizes as well.

```auto
    --font-size: var(--base-size-13);
    --icon-size: var(--font-size);

```

Thanks for the suggestion.

---

<div class="post-metadata">

**Author:** ![xplosionmind](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/xplosionmind/32/2080_2.png) [@xplosionmind](https://discourse.joplinapp.org/u/xplosionmind)\
**Post date:** [20 June 2020 07:12 UTC](https://discourse.joplinapp.org/t/share-your-css/1730/123 "2020-06-20T07:12:40Z")

</div>

> [@uxamanda](#):
>
> At the moment, I have not found a way to target the selected state of the notebook from CSS. I just made a request for the same, since I’d like to change that as well (See: [Cleaner design of the sidebar?](https://discourse.joplinapp.org/t/cleaner-design-of-the-sidebar/7604/31))

I lost so much time trying to make this customization work... thanks a lot!

---

<div class="post-metadata">

**Author:** ![xplosionmind](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/xplosionmind/32/2080_2.png) [@xplosionmind](https://discourse.joplinapp.org/u/xplosionmind)\
**Post date:** [20 June 2020 07:49 UTC](https://discourse.joplinapp.org/t/share-your-css/1730/124 "2020-06-20T07:49:49Z")

</div>

Hello everybody, I waited a long time before posting, I started following this thread almost since its beginning and I followed suggestions and tweaks written here to improve my Joplin app styling.

Now, **the time has come** :

**[this](https://github.com/xplosionmind/joplin-theme)** is the GitHub repository with my `userchrome.css` and my `userstyle.css`.

I’m very thankful to @uxamanda and @tessus, who are the ones whose stylesheets inspired me the most.

My custom design is thought to be totally black and without any borders. Here are a few screenshots:

 ![Parsed sample part 1](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/4/4ad8618eab07fa43bcb434d72389bfd548c45629.jpeg)  
 ![Markdown source part 1](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/b/b7e34df5d5f7ebd5b1f3609c5c9046cfaf55b9ae.jpeg)  
 ![Parsed sample part 2](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/c/c1c1a7c13f0501e35ae6f7458fd84d4445537466.jpeg)  
 ![Markdown source part 2](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/b/b2eec90b139b02c4dad388c8921805b38e47067f.jpeg)

Please **tell me what you think** and give me an heads-up if you’re gonna use my theme! Just for me to be proud somebody enjoys my design so much he/she uses it him/herself.

Thanks a lot again, proud to be part of this community.

Have a nice day!  
_Tommi_

---

<div class="post-metadata">

**Author:** ![uxamanda](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/uxamanda/32/6786_2.png) [@uxamanda](https://discourse.joplinapp.org/u/uxamanda)\
**Post date:** [20 June 2020 21:10 UTC](https://discourse.joplinapp.org/t/share-your-css/1730/125 "2020-06-20T21:10:04Z")

</div>

Nice work! Love the all black, tempted to test that out. Also like the placement of your search bar, makes a lot of sense.

---

<div class="post-metadata">

**Author:** ![inkspreads](https://avatars.discourse-cdn.com/v4/letter/i/f6c823/32.png) [@inkspreads](https://discourse.joplinapp.org/u/inkspreads)\
**Post date:** [21 June 2020 06:43 UTC](https://discourse.joplinapp.org/t/share-your-css/1730/126 "2020-06-21T06:43:21Z")

</div>

Can someone please let me know how to increase the font size and change the font family of everything in the sidebar. I tried many ways, but I could only change the font size and family of the notes counter in the side bar.

@uxamanda 👋

Will you be able to help me?

Any help is much appreciated. 🙂

---

<div class="post-metadata">

**Author:** ![xplosionmind](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/xplosionmind/32/2080_2.png) [@xplosionmind](https://discourse.joplinapp.org/u/xplosionmind)\
**Post date:** [22 June 2020 09:40 UTC](https://discourse.joplinapp.org/t/share-your-css/1730/127 "2020-06-22T09:40:43Z")

</div>

Thanks a lot! If you do test it, please share your impressions! Cheers

---

<div class="post-metadata">

**Author:** ![uxamanda](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/uxamanda/32/6786_2.png) [@uxamanda](https://discourse.joplinapp.org/u/uxamanda)\
**Post date:** [22 June 2020 19:07 UTC](https://discourse.joplinapp.org/t/share-your-css/1730/128 "2020-06-22T19:07:02Z")

</div>

@inkspreads Tested this on the base dark theme. The first two definitions affect the Notebook list, the last definition is for the notes list. Hope that helps!

```auto
.side-bar div {
    font-size: 20px !important;
}

a.list-item {
    font-size: 20px !important;
}

.list-item-container a {
    font-size: 20px !important;
}

```

---

<div class="post-metadata">

**Author:** ![uxamanda](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/uxamanda/32/6786_2.png) [@uxamanda](https://discourse.joplinapp.org/u/uxamanda)\
**Post date:** [22 June 2020 19:13 UTC](https://discourse.joplinapp.org/t/share-your-css/1730/129 "2020-06-22T19:13:26Z")

</div>

It looks nice installed! I like the condensed font, especially on a smaller display. I don’t have the same fonts installed, so the rendered markdown doesn’t look as slick as yours. I also see a different color black for the markdown. I am on **1.0.218** , so maybe that is why.

---

<div class="post-metadata">

**Author:** ![pat3](https://avatars.discourse-cdn.com/v4/letter/p/91b2a8/32.png) [@pat3](https://discourse.joplinapp.org/u/pat3)\
**Post date:** [23 June 2020 09:06 UTC](https://discourse.joplinapp.org/t/share-your-css/1730/130 "2020-06-23T09:06:56Z")

</div>

Here my reports, as you ask.  
I’d like better a deep grey background color ( that could be very deep, like `#111`) than a totally black, that seems to be more readable to me. And I don’t really understand why using capitals in the bars; not really good to read.

---

<div class="post-metadata">

**Author:** ![pat3](https://avatars.discourse-cdn.com/v4/letter/p/91b2a8/32.png) [@pat3](https://discourse.joplinapp.org/u/pat3)\
**Post date:** [23 June 2020 09:09 UTC](https://discourse.joplinapp.org/t/share-your-css/1730/131 "2020-06-23T09:09:34Z")

</div>

Very fancy, and seems to remain readable too. Good !

---

<div class="post-metadata">

**Author:** ![inkspreads](https://avatars.discourse-cdn.com/v4/letter/i/f6c823/32.png) [@inkspreads](https://discourse.joplinapp.org/u/inkspreads)\
**Post date:** [23 June 2020 10:58 UTC](https://discourse.joplinapp.org/t/share-your-css/1730/132 "2020-06-23T10:58:09Z")

</div>

Thanks @uxamanda ! It works. 🙂  
Gotta start digging on CSS soon I guess.

---

<div class="post-metadata">

**Author:** ![xplosionmind](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/xplosionmind/32/2080_2.png) [@xplosionmind](https://discourse.joplinapp.org/u/xplosionmind)\
**Post date:** [23 June 2020 13:32 UTC](https://discourse.joplinapp.org/t/share-your-css/1730/133 "2020-06-23T13:32:38Z")

</div>

Inter is an **awesome** font I fell in love with. I suggest you to try it, you’ll probably never abandon it!

I understand totally black background may be a bit too much, maybe I’ll swap it with the default MacOS dark grey for the dark theme. Does anyone know what exact shade is it? I looked up on [this page](https://developer.apple.com/design/human-interface-guidelines/macos/visual-design/color/), but I found only the accent colors…

Thanks a lot!

---

<div class="post-metadata">

**Author:** ![xplosionmind](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/xplosionmind/32/2080_2.png) [@xplosionmind](https://discourse.joplinapp.org/u/xplosionmind)\
**Post date:** [23 June 2020 13:34 UTC](https://discourse.joplinapp.org/t/share-your-css/1730/134 "2020-06-23T13:34:42Z")

</div>

I’m a capital titles enthusiast, btw I don’t remember adding `text-transform: uppercase` to the sidebars, it’s me who writes in capitals every note and folder title.

About the background, I shared my thoughts about it [here](https://discourse.joplinapp.org/t/share-your-css/1730/133)

Thanks for the feedback.

---

<div class="post-metadata">

**Author:** ![pat3](https://avatars.discourse-cdn.com/v4/letter/p/91b2a8/32.png) [@pat3](https://discourse.joplinapp.org/u/pat3)\
**Post date:** [5 July 2020 08:01 UTC](https://discourse.joplinapp.org/t/share-your-css/1730/135 "2020-07-05T08:01:33Z")

</div>

As the shared CSS amount increased, it would be great to improve the way to choose beetwen them in the app: first to keep them instead of replace them with the new one, and second to pick one in a list, with at least a preview on the list, or best, an app preview before choosing.  
Do you think it could be hard to implement ?

---

<div class="post-metadata">

**Author:** ![uxamanda](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/uxamanda/32/6786_2.png) [@uxamanda](https://discourse.joplinapp.org/u/uxamanda)\
**Post date:** [6 July 2020 02:29 UTC](https://discourse.joplinapp.org/t/share-your-css/1730/136 "2020-07-06T02:29:51Z")

</div>

Is #252525 the one you are looking for?

---

<div class="post-metadata">

**Author:** ![xplosionmind](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/xplosionmind/32/2080_2.png) [@xplosionmind](https://discourse.joplinapp.org/u/xplosionmind)\
**Post date:** [6 July 2020 18:45 UTC](https://discourse.joplinapp.org/t/share-your-css/1730/137 "2020-07-06T18:45:48Z")

</div>

Actually, I updated my Joplin theme repo with [Mac-like colors](https://github.com/xplosionmind/colors#dark-app-palette), that I tried to get by myself. I’ll see if with Big Sur something changes (I expect it will)

[Previous page](https://discourse.joplinapp.org/t/share-your-css/1730.md?page=5)

[Next page](https://discourse.joplinapp.org/t/share-your-css/1730.md?page=7)
