Skip to content

Commit

Permalink
update all
Browse files Browse the repository at this point in the history
  • Loading branch information
godismygirl committed May 21, 2024
1 parent db194ad commit 27f38c1
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 23 deletions.
Binary file added public/font/Verdana.ttf
Binary file not shown.
Binary file added public/font/verdanab.ttf
Binary file not shown.
7 changes: 1 addition & 6 deletions src/AllyConfig/AttackRollConfig/index.jsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
import React from 'react';
import { Checkbox } from 'antd';
import { AC_MODIFIER } from '../../GlobalStore';
import css from './css.module.css';

const options = ['DARKNESS', 'HINDERING', 'CROSS_ALLY', 'FLANKING'];
const options = ['DARKNESS', 'HINDERING', 'CROSS_ALLY'];

//夹击

const AttackRollConfig = () => {
const options = React.useMemo(() => {
return AC_MODIFIER.map((el) => ({ label: el.name, value: el.name }));
}, []);
return <Checkbox.Group options={options}></Checkbox.Group>;
};

Expand Down
1 change: 0 additions & 1 deletion src/AllyConfig/WeaponConfig/css.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

.desc {
font-size: 14px;
font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.item {
Expand Down
1 change: 0 additions & 1 deletion src/AllyConfig/css.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
}
.sectionHeader .titleTag {
font-weight: bold;
font-family: Verdana, Geneva, Tahoma, sans-serif;
color: #fff;
background: #222;
padding: 4px 15px 4px 10px;
Expand Down
1 change: 0 additions & 1 deletion src/BattleField/css.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
.tag {
border-radius: 20px;
white-space: nowrap;
font-family: Verdana, Geneva, Tahoma, sans-serif;
border: 2px solid;
font-size: 14px;
padding: 2px 6px;
Expand Down
1 change: 0 additions & 1 deletion src/Dice/css.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
display: flex;
transform: translate(-50%, -50%);
font-style: normal;
font-family: 'Times New Roman', Times, serif;
font-weight: bold;
margin-top: -1%;
}
Expand Down
2 changes: 0 additions & 2 deletions src/EnemySelectPanel/css.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
padding: 0 2vh;
border-radius: 0 0 8px 8px;
cursor: pointer;
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.panel {
display: flex;
Expand Down Expand Up @@ -61,7 +60,6 @@
.action .count {
flex-grow: 1;
text-align: center;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-size: 2.5vh;
}

Expand Down
3 changes: 3 additions & 0 deletions src/GlobalStore/names.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ export const DISCRIPLINE_NAMES = [
'PRECISE_STRIKE',
'MASTER_OF_THE_VESSEL',
];

export const DEBUFF_NAMES = ['DARKNESS', 'HINDERING', 'CROSS_ALLY'];
export const BUFF_NAMES = ['WILT', 'NEMESIS'];
11 changes: 11 additions & 0 deletions src/global.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
@font-face {
font-family: 'Verdana';
src: url('../public/font/Verdana.ttf');
}

@font-face {
font-family: 'Verdana-Bold';
src: url('../public/font/verdanab.ttf');
}

html,
body,
#root {
height: 100%;
overflow: hidden;
font-family: 'DIN';
}
15 changes: 4 additions & 11 deletions src/index.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
monospace;
margin: 0;
font-family: 'HELVATICA';
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

0 comments on commit 27f38c1

Please sign in to comment.