mirror of
https://github.com/FranP-code/Hangman-game-with-React.git
synced 2025-10-13 00:42:32 +00:00
Styles fixes
This commit is contained in:
@@ -81,7 +81,7 @@ header .account-preview .full-name {
|
|||||||
opacity: 0%;
|
opacity: 0%;
|
||||||
transition: 0.4s ease-in-out;
|
transition: 0.4s ease-in-out;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 0px 0.5vw;
|
padding: 0px 2vw;
|
||||||
padding-bottom: 1vh;
|
padding-bottom: 1vh;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
@@ -89,6 +89,14 @@ header .account-preview .full-name.show {
|
|||||||
opacity: 100%;
|
opacity: 100%;
|
||||||
transition: 0.4s ease-in-out;
|
transition: 0.4s ease-in-out;
|
||||||
}
|
}
|
||||||
|
@media (max-width: 991.98px) {
|
||||||
|
header .account-preview {
|
||||||
|
left: 80%;
|
||||||
|
}
|
||||||
|
header .account-preview .full-name.show {
|
||||||
|
opacity: 0%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: 991.98px) {
|
@media (max-width: 991.98px) {
|
||||||
header h2 {
|
header h2 {
|
||||||
@@ -440,6 +448,11 @@ header .account-preview .full-name.show {
|
|||||||
height: 50px;
|
height: 50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 991.98px) {
|
||||||
|
.loading {
|
||||||
|
height: 150vh;
|
||||||
|
}
|
||||||
|
}
|
||||||
.letters-registered {
|
.letters-registered {
|
||||||
padding: 0px 5vw;
|
padding: 0px 5vw;
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -1023,8 +1036,15 @@ header.demo h1 span.demoSpan:hover, header.demo h1 span.demoSpan:focus, header.d
|
|||||||
padding-bottom: 5vh;
|
padding-bottom: 5vh;
|
||||||
padding-left: 3vw;
|
padding-left: 3vw;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 991.98px) {
|
||||||
|
.made-with-love {
|
||||||
|
position: initial;
|
||||||
|
}
|
||||||
|
}
|
||||||
.credits {
|
.credits {
|
||||||
font-family: "Helveltica", sans-serif;
|
font-family: "Helveltica", sans-serif;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -12,4 +12,15 @@
|
|||||||
padding-left: 3vw;
|
padding-left: 3vw;
|
||||||
|
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 991.98px) {
|
||||||
|
|
||||||
|
.made-with-love {
|
||||||
|
|
||||||
|
position: initial;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -20,3 +20,11 @@
|
|||||||
height: 50px;
|
height: 50px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 991.98px) {
|
||||||
|
|
||||||
|
.loading {
|
||||||
|
|
||||||
|
height: 150vh;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -55,7 +55,7 @@
|
|||||||
transition: 0.4s ease-in-out;
|
transition: 0.4s ease-in-out;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
padding: 0px 0.5vw;
|
padding: 0px 2vw;
|
||||||
padding-bottom: 1vh;
|
padding-bottom: 1vh;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
|
|
||||||
@@ -67,3 +67,20 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 991.98px) {
|
||||||
|
|
||||||
|
.account-preview {
|
||||||
|
|
||||||
|
left: 80%;
|
||||||
|
|
||||||
|
.full-name {
|
||||||
|
|
||||||
|
|
||||||
|
&.show {
|
||||||
|
|
||||||
|
opacity: 0%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
10
src/App.js
10
src/App.js
@@ -27,21 +27,23 @@ function App() {
|
|||||||
<>
|
<>
|
||||||
<Switch>
|
<Switch>
|
||||||
|
|
||||||
<Route path='/pokemon'>
|
{/* <Route path='/pokemon'>
|
||||||
|
|
||||||
<PokemonScripts />
|
<PokemonScripts />
|
||||||
|
|
||||||
</Route>
|
</Route> */}
|
||||||
|
|
||||||
<Route path="/my-account">
|
<Route path="/my-account">
|
||||||
|
|
||||||
<AccountInfo />
|
<AccountInfo />
|
||||||
|
<Footer />
|
||||||
|
|
||||||
</Route>
|
</Route>
|
||||||
|
|
||||||
<Route path="/password-recovery">
|
<Route path="/password-recovery">
|
||||||
|
|
||||||
<PasswordRecovery />
|
<PasswordRecovery />
|
||||||
|
<Footer />
|
||||||
|
|
||||||
</Route>
|
</Route>
|
||||||
|
|
||||||
@@ -60,22 +62,24 @@ function App() {
|
|||||||
<Route path='/identify'>
|
<Route path='/identify'>
|
||||||
|
|
||||||
<AdminIdentify />
|
<AdminIdentify />
|
||||||
|
<Footer />
|
||||||
|
|
||||||
</Route>
|
</Route>
|
||||||
|
|
||||||
<Route path="/credits">
|
<Route path="/credits">
|
||||||
|
|
||||||
<Credits />
|
<Credits />
|
||||||
|
<Footer />
|
||||||
|
|
||||||
</Route>
|
</Route>
|
||||||
|
|
||||||
<Route path="/">
|
<Route path="/">
|
||||||
|
|
||||||
<Game />
|
<Game />
|
||||||
|
<Footer />
|
||||||
|
|
||||||
</Route>
|
</Route>
|
||||||
</Switch>
|
</Switch>
|
||||||
<Footer />
|
|
||||||
</>
|
</>
|
||||||
</Router>
|
</Router>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user