mirror of
https://github.com/FranP-code/Hangman-game-with-React.git
synced 2025-10-13 00:42:32 +00:00
principal screen done
This commit is contained in:
@@ -1,5 +1,22 @@
|
||||
@import 'hangman';
|
||||
|
||||
.app {
|
||||
|
||||
}
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
|
||||
margin-top: 2vh;
|
||||
|
||||
.column-1 {
|
||||
|
||||
}
|
||||
|
||||
.column-2 {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
justify-content: space-between
|
||||
}
|
||||
}
|
||||
|
||||
@import 'hangman';
|
||||
@import 'puzzleWord';
|
||||
@import 'current-score';
|
||||
16
public/sass/_current-score.scss
Normal file
16
public/sass/_current-score.scss
Normal file
@@ -0,0 +1,16 @@
|
||||
.current-score {
|
||||
|
||||
display: flex;
|
||||
|
||||
flex-direction: row-reverse;
|
||||
|
||||
@include titleFont();
|
||||
|
||||
font-size: 18pt;
|
||||
|
||||
color: rgb(88, 255, 107);
|
||||
|
||||
.text {
|
||||
user-select: none;
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,7 @@
|
||||
.hangman {
|
||||
|
||||
user-select: none;
|
||||
|
||||
img {
|
||||
width: 20vw;
|
||||
}
|
||||
|
||||
29
public/sass/_puzzleWord.scss
Normal file
29
public/sass/_puzzleWord.scss
Normal file
@@ -0,0 +1,29 @@
|
||||
.puzzleWord {
|
||||
@include bodyFont();
|
||||
|
||||
font-size: 60pt;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
max-width: 70vw;
|
||||
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.letter {
|
||||
width: 3vw;
|
||||
height: 70pt;
|
||||
margin-left: 2vw;
|
||||
|
||||
border-bottom: 3px solid #000;
|
||||
}
|
||||
|
||||
.counter {
|
||||
font-size: 40pt;
|
||||
|
||||
font-family:Arial, Helvetica, sans-serif;
|
||||
|
||||
margin-left: 3vw;
|
||||
}
|
||||
}
|
||||
@@ -16,7 +16,7 @@ html, body {
|
||||
|
||||
@mixin bodyFont() {
|
||||
|
||||
font-family: 'Raleway', sans-serif;
|
||||
font-family: 'Rambla', sans-serif;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user