Posted in site bugs
3148
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
90
This Month
376
This Year
343

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
There is a qualitative and quantitative difference between a day that begins with a little exercise, a book, meditation, a good meal, a thoughtful walk, and the start of a day that begins with a smartphone in bed.
Unknown
Random CSS Property

border-inline-start

The border-inline-start CSS property is a shorthand property for setting the individual logical inline-start border property values in a single place in the style sheet.
border-inline-start css reference