Compare commits

...

11 commits

Author SHA1 Message Date
bb1ff382fe
Merge remote-tracking branch 'origin/main' into mobile-optimization
# Conflicts:
#	css/style.css
2024-11-17 14:33:19 +01:00
3cfc87ae72 Merge pull request 'Sync with main repo' (#1) from revengeday/cyber-circle-creator:main into main
Reviewed-on: #1
2024-11-17 13:32:31 +00:00
914511074d Merge pull request 'Add .gitignore to the project' (#10) from kaiserkiwi/cyber-circle-creator:gitignore into main
Reviewed-on: revengeday/cyber-circle-creator#10
2024-11-17 11:11:02 +00:00
ac239ee4cd Merge branch 'main' into gitignore 2024-11-17 11:10:53 +00:00
d5ca592e11 Merge pull request 'Add template for pull requests' (#9) from kaiserkiwi/cyber-circle-creator:pull-request-template into main
Reviewed-on: revengeday/cyber-circle-creator#9
2024-11-17 11:10:45 +00:00
245ee4a2a0 Merge branch 'main' into pull-request-template 2024-11-17 11:10:35 +00:00
f270e3f06e Merge pull request 'Optimize font family integration' (#7) from kaiserkiwi/cyber-circle-creator:font-family into main
Reviewed-on: revengeday/cyber-circle-creator#7
2024-11-17 11:09:00 +00:00
fb97e48458
chore: Add template for pull requests 2024-11-17 11:57:37 +01:00
6a7cd24fe4
chore: Add .gitignore 2024-11-17 11:52:59 +01:00
cb7f54ce0b
fix: Add missing fallback
- Change font family for input and button to inherit to reduce duplication and make code more maintainable
2024-11-17 06:44:30 +01:00
a26bcacde8
style: Remove unnecessary .woff file type
Info: WOFF2 is supported in all major browsers since 2016
2024-11-17 06:40:38 +01:00
3 changed files with 18 additions and 5 deletions

View file

@ -0,0 +1,8 @@
## Description
<!-- Describe the changes in this PR. -->
## How to test
<!-- Describe how to test the changes made in this PR. -->
## Related issues
<!-- Mention the issue(s) this PR closes or is related to. -->

6
.gitignore vendored Normal file
View file

@ -0,0 +1,6 @@
# IDE stuff
.idea
# All files in the fonts directory except the README
fonts/*
!fonts/README.md

View file

@ -4,8 +4,7 @@
For more information, please refer to the README.md file located in the 'fonts' directory.
*/
font-family: 'Departure Mono';
src: url('../fonts/DepartureMono-Regular.woff2') format('woff2'),
url('../fonts/DepartureMono-Regular.woff') format('woff');
src: url('../fonts/DepartureMono-Regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
font-display: swap;
@ -35,7 +34,7 @@
}
body {
font-family: 'Departure Mono';
font-family: 'Departure Mono', monospace;
font-size: 18px;
line-height: 1.75;
background-color: var(--cyber-bg-color);
@ -109,7 +108,7 @@ main {
}
input[type="text"] {
font-family: 'Departure Mono';
font-family: inherit;
font-size: inherit;
line-height: 1.35;
width: 100%;
@ -167,7 +166,7 @@ input[type="text"]:focus {
/* Buttons */
button {
font-family: 'Departure Mono';
font-family: inherit;
font-size: inherit;
line-height: 1.35;
padding: 10px 20px;