Files
Hangman-game-with-React/public/sass/_header.scss

47 lines
812 B
SCSS

header {
border-bottom: 1px solid rgb(200, 200, 200);
height: 15vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
h1 {
@include titleFont();
@include titleNormalize();
}
h2 {
@include titleFont();
@include titleNormalize();
color: #48a6fd;
margin-top: 0.5vh;
cursor: pointer;
}
}
@media (max-width: 991.98px) {
header {
h2 {
color: #fff;
background-color: #48a6fd;
padding: 1vh 1vw;
border-radius: 5px;
transition: 0.2s ease-in-out;
&:active {
background-color: #1f476d;
transition: 0.4s ease-in-out;
}
}
}
}