contributors, Interface administrators, uploadaccess
875
edits
No edit summary |
No edit summary |
||
Line 45: | Line 45: | ||
/* | /* Category filter style */ | ||
.category-list | .category-filter { | ||
background-color: transparent; | |||
padding: 10px; | |||
border: 1px solid #ddd; | |||
border-radius: 8px; | |||
margin-bottom: 20px; | |||
text-align: center; | |||
width: 100%; /* Adjust the width as needed */ | |||
margin-left: auto; | |||
margin-right: auto; | |||
} | |||
.category-filter h2 { | |||
color: #4b0082; | |||
} | |||
.category-filter ul { | |||
list-style-type: none; | |||
padding: 0; | padding: 0; | ||
display: flex; | display: flex; | ||
justify-content: center; | justify-content: center; | ||
align-items: center; | |||
margin: 5px !important; | |||
} | |||
.category-filter li { | |||
margin: 0 10px; /* Equal spacing on both sides */ | |||
} | } | ||
.category-link { | .category-link { | ||
display: inline-block; | |||
padding: 8px 12px; | |||
border-radius: 5px; | |||
color: #fff; | |||
text-align: center; | |||
cursor: pointer; | |||
transition: background-color 0.3s; | |||
} | |||
.category-link-characters, | |||
.category-link-events, | |||
.category-link-village, | |||
.category-link-drakenberg, | |||
.category-link-miscellanea { | |||
background-color: #4b0082; | |||
flex: 1; /* Equal width for all buttons */ | |||
} | |||
.category-link:hover { | |||
background-color: #632971; | |||
} | } | ||