Skip to content

Commit

Permalink
Muda a fonte
Browse files Browse the repository at this point in the history
  • Loading branch information
andredarcie committed Sep 13, 2024
1 parent 6cb48e6 commit 0fde442
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 44 deletions.
8 changes: 3 additions & 5 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@font-face {
font-family: travelingTypewriter;
src: url(../TravelingTypewriter.ttf);
body {
font-family: Verdana, Geneva, Tahoma, sans-serif;
font-size: 0.8em;
}

* {
Expand Down Expand Up @@ -32,8 +32,6 @@ h2 {
}

#container {
font-size: 12px;
font-family: travelingTypewriter;
color: #ffffff;
padding: 0.7em;
width: 100%;
Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,14 @@
"@babel/core": "^7.14.6",
"@babel/preset-env": "^7.14.5",
"@babel/preset-typescript": "^7.14.5",
"@types/jest": "^24.0.22",
"babel-jest": "^24.9.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"cssnano": "^4.1.11",
"gh-pages": "^2.0.1",
"jest": "^24.9.0",
"parcel": "^1.12.4",
"parcel-bundler": "^1.12.5",
"parcel-plugin-static-files-copy": "^2.6.0",
"parcel-plugin-sw-cache": "^0.3.1",
"ts-jest": "^26.5.6",
"typescript": "^3.9.10"
},
"browserslist": [
Expand Down
8 changes: 4 additions & 4 deletions src/managers/SkillCheckManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export class SkillCheckManager {
this._firstDice.classList.remove('red-color');
this._secondDice.classList.remove('red-color');

this._resultLabel.innerHTML = '[ CRITICIAL SUCCESS ]';
this._resultLabel.innerHTML = ' CRITICIAL SUCCESS ';
this._resultLabel.style.fontSize = '1.3em';
this._resultLabel.classList.remove('red-color');
this._resultLabel.classList.add('green-color');
Expand All @@ -154,7 +154,7 @@ export class SkillCheckManager {
this._firstDice.classList.remove('red-color');
this._secondDice.classList.remove('red-color');

this._resultLabel.innerHTML = '[ SUCCESS ]';
this._resultLabel.innerHTML = ' SUCCESS ';
this._resultLabel.style.fontSize = '2.5em';
this._resultLabel.classList.remove('red-color');
this._resultLabel.classList.add('green-color');
Expand All @@ -171,7 +171,7 @@ export class SkillCheckManager {
this._firstDice.classList.add('red-color');
this._secondDice.classList.add('red-color');

this._resultLabel.innerHTML = '[ CRITICIAL FAILURE ]';
this._resultLabel.innerHTML = ' CRITICIAL FAILURE ';
this._resultLabel.style.fontSize = '1.3em';
this._resultLabel.classList.add('red-color');
this._resultLabel.classList.remove('green-color');
Expand All @@ -188,7 +188,7 @@ export class SkillCheckManager {
this._firstDice.classList.remove('red-color');
this._secondDice.classList.remove('red-color');

this._resultLabel.innerHTML = '[ FAILURE ]';
this._resultLabel.innerHTML = ' FAILURE ';
this._resultLabel.style.fontSize = '2.5em';
this._resultLabel.classList.add('red-color');
this._resultLabel.classList.remove('green-color');
Expand Down
32 changes: 0 additions & 32 deletions tests/character.test.ts

This file was deleted.

0 comments on commit 0fde442

Please sign in to comment.