Posted in site bugs
3299
2:26 am, January 14, 2021
 

style page numbers [fixed]

need to style the page numbers.

https://kruxor.com/list-table/search_links/ 

Before:

After:

Dark Mode

Light Mode

 

HTML

<ul class="pagination" id="page-numbers"><li class="page-item"><a href="/list/search_links/latest/0/" class="page-link">0</a></li><li class="page-item"><a href="/list/search_links/latest/1/" class="page-link">1</a></li><li class="page-item"><a href="/list/search_links/latest/2/" class="page-link">2</a></li><li class="page-item"><a href="/list/search_links/latest/3/" class="page-link">3</a></li><li class="page-item"><a href="/list/search_links/latest/4/" class="page-link active">4</a></li><li class="page-item"><a href="/list/search_links/latest/5/" class="page-link">5</a></li><li class="page-item"><a href="/list/search_links/latest/6/" class="page-link">6</a></li><li class="page-item"><a href="/list/search_links/latest/7/" class="page-link">7</a></li></ul>

CSS

/* Pagination */
ul.pagination li a {
  padding:5px 12px;
  border-radius:3px;
  text-align:center;
  margin-right:3px;
  margin-bottom:3px;
  float:left;
}
ul.pagination li {
  margin:0px;
  padding:0px;
}
ul.pagination {
  margin:0px;
  padding:0px;
  list-style:none;
}
.dark-mode ul.pagination li a:hover,
.dark-mode ul.pagination li a.active
{
  background:var(--dark-mode-2);
}
.dark-mode ul.pagination li a {
  background:#1f2937;
}
.light-mode ul.pagination li a:hover,
.light-mode ul.pagination li a.active
{
  background:#FFF;
}
.light-mode ul.pagination li a {
  background:#f3f3f3;
}
/* Pagination */

View Statistics
This Week
69
This Month
310
This Year
494

No Items Found.

Add Comment
Type in a Nick Name here
 
Search Code
Search Code by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code here, mostly for my reference. Also if i find a good link, i usually add it here and then forget about it. more...

Subscribe to weekly updates about things i have added to the site or thought interesting during the last week.

You could also follow me on twitter or not... does anyone even use twitter anymore?

If you found something useful or like my work, you can buy me a coffee here. Mmm Coffee. ☕

❤️👩‍💻🎮

🪦 2000 - 16 Oct 2022 - Boots
Random Quote


minecraft
Random CSS Property

unset

The unset CSS keyword resets a property to its inherited value if the property naturally inherits from its parent, and to its initial value if not. In other words, it behaves like the inherit keyword in the first case, when the property is an inherited property, and like the initial keyword in the second case, when the property is a non-inherited property.
unset css reference