css and cleanup

This commit is contained in:
tooomm 2025-12-28 21:47:02 +01:00
parent a46419bde9
commit 304c15383c
8 changed files with 74 additions and 17 deletions

View file

@ -0,0 +1,33 @@
/*
See "Awesome Doxygen CSS" theme docs:
https://jothepro.github.io/doxygen-awesome-css/md_docs_2customization.html#autotoc_md36
Adjustments here are based on the css file of the theme and variables defined there.
*/
/* Light Mode overrides */
html {
--primary-color: #33a946;
--primary-dark-color: #33a946;
--primary-light-color: #33a946;
}
/* Dark Mode overrides */
@media (prefers-color-scheme: dark) {
html:not(.light-mode) {
--primary-color: #33a946;
--primary-dark-color: #33a946;
--primary-light-color: #33a946;
}
}
/* Dark Mode overrides, defined twice to support both the dark-mode without and with doxygen-awesome-darkmode-toggle.js */
html.dark-mode {
color-scheme: dark;
--primary-color: #33a946;
--primary-dark-color: #33a946;
--primary-light-color: #33a946;
}

View file

@ -1,3 +1,16 @@
@page card_database_schema_and_parsing Card Database Schema and Parsing
# Card Database Schemas
Cockatrice uses `XML files` to store information of available cards to be used in the app (`cards.xml`).
The token file follows the schema of the card database (`tokens.xml`), too.
Saved decks (`<deckname>.xml`) use a different schema.
- [XSD Schema for `Card Databases`](https://github.com/Cockatrice/Cockatrice/blob/master/doc/carddatabase_v4/cards.xsd) <kbd>v4</kbd>
- [XSD Schema for `Decks`](https://github.com/Cockatrice/Cockatrice/blob/master/doc/deck.xsd) <kbd>v1</kbd>
# Card Database Parsing
TODO

View file

@ -1,10 +1,8 @@
@mainpage Cockatrice Documentation
@mainpage Documentation
# Welcome
Welcome to the Cockatrice code documentation.
This is the **main landing page** of the Cockatrice documentation.
- @subpage user_reference
- @subpage developer_reference
- Go to the @subpage user_reference page
- Review the @subpage developer_reference
Or check out the [Cockatrice Webpage](https://cockatrice.github.io/).
Please also check the <a href="https://cockatrice.github.io/" target="_blank" rel="noopener noreferrer">Cockatrice Webpage</a> or our <a href="https://github.com/Cockatrice/Cockatrice" target="_blank" rel="noopener noreferrer">Code Repository</a> for general information.

View file

@ -1,9 +1,17 @@
@page user_reference User Reference
- @subpage search_syntax_help
- @subpage deck_search_syntax_help
## Deck Management
- @subpage creating_decks
- @subpage importing_decks
- @subpage editing_decks
- @subpage exporting_decks
## Release Channels
- @subpage beta_release
## Syntax Help
- @subpage search_syntax_help
- @subpage deck_search_syntax_help