Comments (2)
Hi all -
Here is my workaround after reading some css guides. I changed my _layouts/post.html and added the following style:
<!-- https://www.w3schools.com/howto/howto_css_bullet_color.asp -->
<style>
ul.task-list {
list-style: none; /* Remove default bullets */
}
ul.task-list li::before {
content: "\2022"; /* Add content: \2022 is the CSS Code/unicode for a bullet */
color: #151515; /* Change the color */
font-weight: bold; /* If you want it to be bold */
display: inline-block; /* Needed to add space between the bullet and the text */
width: 1em; /* Also needed for space (tweak if needed) */
margin-left: -3em; /* Also needed for space (tweak if needed) */
}
li.task-list-item {
list-style-image: url("{{ '/assets/images/black-dot.png' | relative_url }}");
}
</style>
I basically created a small black svg from a screen grab of hacker default background and then the css above changed the bullet color to the same color as the background. Threw in some liquid tag to make the svg relative.
Let me know if you think there is a fix that is not so "hacky".
Thanks for the theme again!
JIM
from hacker.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from hacker.
Related Issues (20)
- Hey, I just discovered this cool repository thanks to the GitNews app (https://gitnews.learn.uno) 🚀
- fonts are not working
- 786
- Bugado
- Great theme - some suggestions
- navigation docs
- provide a index file with layout
- Hack
- Hi
- Hacker HOT 2
- Option to remove horizontal line on header HOT 1
- Support Google Analytics 4 (GA4)
- Hacker theme does not print well
- Madara HOT 1
- CODEOWNERS errors
- Inder HOT 1
- Ik ben zak HOT 3
- Hallo boss HOT 2
- option for Resume button under show downloads in _config.yml instead of just .zip or tar.gz
- Markdown Rendering Issue with Section Bold Text And Quotes in Jekyll Hacker Theme
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 hacker.