Template talk:Keypress: Difference between revisions

From Vintage Story Wiki
m
(added proposal to make this make sense)
Line 27: Line 27:
Compromise solution: group the classes under classes of keys based on formatting needs.
Compromise solution: group the classes under classes of keys based on formatting needs.
* base class {{ic|keyboard-key}} for all regular-width keys, A-Z 0-9 and all punctuation, including arrow keys. Pick one unified font family, style, size, color, and key background.
* base class {{ic|keyboard-key}} for all regular-width keys, A-Z 0-9 and all punctuation, including arrow keys. Pick one unified font family, style, size, color, and key background.
* {{ic|key.modifier}} Covers Shift (left and right), Control (CTRL), Alt, Command (CMD), Caps, Tab, Backspace (BKSPC) and Delete (DEL) keys. This should be slightly wider than the base class and fit 5-6 characters.
* {{ic|keyboard-modifier}} Covers Shift (left and right), Control (CTRL), Alt, Command (CMD), Caps, Tab, Backspace (BKSPC) and Delete (DEL) keys. This should be slightly wider than the base class and fit 5-6 characters.
* {{ic|key.function}} Covers F1-12 and ESC, as well as Insert (INS), Home, End, Page Up (PGUP) and Page Down (PGDN). Wider than {{ic|key}} but not as much as {{ic|key.modifier}}.
* {{ic|keyboard-function}} Covers F1-12 and ESC, as well as Insert (INS), Home, End, Page Up (PGUP) and Page Down (PGDN). Wider than {{ic|keyboard-key}} but not as much as {{ic|keyboard-modifier}}.
* {{ic|key.space}} Covers the spacebar. Probably doesn't need to be a full 226px wide.
* {{ic|keyboard-space}} Covers the spacebar. Probably doesn't need to be a full 226px wide.


-- [[User:Veerserif|Veerserif]] ([[User_talk:Veerserif|talk here]] or on Discord) 19:01, 31 July 2023 (UTC)
-- [[User:Veerserif|Veerserif]] ([[User_talk:Veerserif|talk here]] or on Discord) 19:01, 31 July 2023 (UTC)
Confirmedusers, editor
2,831

edits