mirror of
https://github.com/FranP-code/Hangman-game-with-React.git
synced 2025-10-13 00:42:32 +00:00
Styled the button to admin place
This commit is contained in:
@@ -28,6 +28,27 @@ header {
|
||||
left: 5%;
|
||||
|
||||
width: 10vw;
|
||||
padding: 2vh 0px;
|
||||
|
||||
$backgroundColor: rgb(231, 111, 75);
|
||||
|
||||
background-color: $backgroundColor;
|
||||
border: 1px solid adjust-color($color: $backgroundColor, $saturation: 33%, $alpha: 1.0);
|
||||
border-radius: 5px;
|
||||
|
||||
color: #fff;
|
||||
font-weight: bold;
|
||||
|
||||
cursor: pointer;
|
||||
|
||||
transition: ease-in-out 0.1s;
|
||||
|
||||
&:hover {
|
||||
background-color: adjust-color($color: $backgroundColor, $blackness: 10%, $alpha: 1.0);
|
||||
|
||||
transition: ease-in-out 0.2s;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user