- Use proper HTML; - Add CSS file specific to this page; - Deduplicate common style by moving it into the admin_ui CSS file and do the corresponding changes in the admin CSS and HTML files; - Add common header; - Move questions's JavaScript in a dedicated file, improve its code and fix its access to DOM elements.
44 lines
875 B
CSS
44 lines
875 B
CSS
.add_npc_link {
|
|
align-items: center;
|
|
border-color: var(--admin-white-color);
|
|
border-radius: 1em;
|
|
border-style: solid;
|
|
border-width: 0.125em;
|
|
display: flex;
|
|
flex-direction: row;
|
|
font-size: 1.25em;
|
|
justify-content: center;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
max-width: 15em;
|
|
padding: 0.25em;
|
|
}
|
|
|
|
.character_item {
|
|
font-size: 1.5em;
|
|
list-style-type: none;
|
|
margin: 0.5em;
|
|
}
|
|
|
|
.character_item a {
|
|
padding: 0.25em;
|
|
text-decoration: underline;
|
|
text-decoration-color: var(--admin-white-color);
|
|
}
|
|
|
|
.character_item a:hover {
|
|
text-decoration-color: var(--admin-grey-color);
|
|
}
|
|
|
|
.character_list {
|
|
align-content: center;
|
|
align-items: center;
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
margin-bottom: 1em;
|
|
margin-top: 1em;
|
|
padding: 0;
|
|
}
|