Custom style snippets

Bonjourr is customisable through its settings interface, but there are many more things you can do! Copy and paste those style snippets in their dedicated section of the settings to unlock some new possibilities.

Want your own style snippet here ? Contact us !

Backgrounds

I like my backgrounds fast.

Faster background transition on startup.
#background_overlay {
	transition: transform 0.2s, opacity 0s;
}

Unicolor is the new meta

Makes background a uniform color. Replace '#234' with your color of choice.
#background_overlay {
	background-color: #234;
}
#background, #background-bis {
	display: none;
}

Clock

I like my clocks thick

Makes analog clock thicker.
#interface {
	--anlg-w: 6px; /* Change size here */
}
#analog #center {
	width: calc(var(--anlg-w) * 4);
	height: calc(var(--anlg-w) * 4);
}
#analog {
	border-width: calc(var(--anlg-w) * 2);
}
#analog span {
	width: calc(var(--anlg-w) * 2);
	margin-left: calc(var(--anlg-w) * -1);
}

#analog #analogSeconds {
	width: var(--anlg-w);
}

Rolex ๐Ÿ˜Ž

Makes analog clock look like a Rolex.
#analog-face,
#analog-face:hover {
	border-radius: 100%;
	border-width: 1px;
	background-size: cover;
	background-image: url('https://bonjourr.fr/misc/rolex.png') !important;
}

Greetings

I want my own greeting

Sets a custom greeting phrase instead of Good Morning, Good Afternoon, etc.
#greetings:before {
	content: 'Your custom greeting';
	visibility: visible;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	text-align: center;
	text-transform: none;
}
#greetings { visibility: hidden;
	position: relative;
}
Some site icons come as PNGs with a transparent background. This snippet will remove Bonjourr's default white background for links and make these icons shine.
li.block div {
	border-color: transparent;
	background: transparent;
	box-shadow: unset;
}
li.block div:hover {
	box-shadow: unset;
}

Fonts

My fonts shall be black (or any other color ๐Ÿ˜ฏ)

Changes font color to black. Can help if you mainly use bright backgrounds. Change "black" to a color Code if you'd like another specific color.

#linkblocks span,
#interface,
#credit,
#credit a {
	color: black;
}

And my clock shall be black too

#analogClock {
	border-color: black;
}
#analogClock #center,
#analogClock span {
		background-color: black;
}

Other

I don't care about artist exposure

Hides Unsplash photo author credits.

#creditContainer {
	display: none;
}

23 what, carrots?

Adds a C after the temperature.

#current::after,
#tempContainer p::after {
	content: 'C';
}

No GPU, only CPU ๐Ÿ˜ 

This disables graphics intensive `backdrop-filter` style property on some elements.

#bookmarks_container,
#bookmarks,
#element-mover,
.move-overlay {
	backdrop-filter: none !important;
}

#editlink,
#bookmarks,
#element-mover {
	background-color: #f2f2f7;
}

body.dark #editlink,
body.dark #bookmarks,
body.dark #element-mover,
body.autodark #editlink,
body.autodark #bookmarks,
body.autodark #element-mover {
	background-color: #222;
}

For laggy computers

Disables most settings transitions and animations. You can also add the styles above to improve performances.

#settings .as,
#settings,
.move-overlay {
	transition: none;
	}
#interface {
	transform: translateX(0) !important;
	transition: none !important;
}