Comments (2)
Hi @diasdmhub,
If you want to override the default browser/OS text selection color, you could add the following to your "Custom HTML Head Content" customization setting in BookStack:
<style>
/* Use a purple background and white text for just code block elements*/
.page-content code::selection { background: #b86ad3; color: #FFF; }
/* As above, but for all page content elements*/
.page-content *::selection { background: #b86ad3; color: #FFF; }
</style>
There are two examples in there, you could choose the one you want and tweak the colors as desired.
from bookstack.
Thanks @ssddanbrown. The purple background is easier on my eyes.
However, as shown in my clicked
example, just clicking on an inline code text will highlight it in blue.
Note that it is not a selection, it is just a click or placing the cursor on the inline code text.
My browser does not highlight any code text like this. Only Bookstack's text editor does that.
I wish it wouldn't highlight the text like that.
from bookstack.
Related Issues (20)
- Add Schema Markup Functionality to Enhance SEO and Structured Data
- Single apostrophes and quotes change search behaviour
- Inconsistency Between Documented and Actual API Responses: user_id Missing in /users Endpoint Responses #5178 HOT 4
- Include the `cover` property in the response for a `LIST` request on the `/books` endpoint HOT 1
- Include the `cover` property in the response for a `LIST` request on the `/books` endpoint
- Why BookStack's documentation is in Hugo? HOT 2
- Add support for theme-specific API request/response examples in Logical Theme System
- Missing type specifications for `name` and `password` in /users CREATE endpoint documentation HOT 1
- Enhance `/pages/{id}` and `/chapters/{id}` `READ` responses with additional book and chapter information HOT 4
- Export to PDF / missing link icon in pdf file HOT 1
- Unable to search in markdown editor HOT 2
- Add other scaled images in gallery
- Expand/enlarge image within the page
- General API call HOT 3
- Docker error after update of Ubuntu OS. HOT 10
- Behaviour of OIDC group sync HOT 4
- Mermaid & Bookstack HOT 5
- Microsoft Graph mail driver HOT 3
- An unknown error occurred when the SMTP host could not be reached HOT 5
- install docs wrong due to missing directory "vendor" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bookstack.