Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Responsive website #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 60 additions & 1 deletion client/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ a {
/* Homepage */
.Homepage {
background-image: url('./assets/Landing-Page.gif');
background-size: cover;
background-size: 100vw 100vh;
margin: 0;
height: 100vh;
}
Expand Down Expand Up @@ -385,3 +385,62 @@ a {
.msg-receive:hover, .msg-send:hover{
opacity: .9;
}
/*media query*/
@media only screen and (max-width: 480px)
{

.homepage-form {
flex-direction: column;
align-items: center;
}

.topInfo
{
flex-direction: column;
height: auto;
}
.topInfoText {
margin-top: 51px;
font-size: 18px;
}
.topInfo>h1 {
font-size: 18px;
}
.topInfo>img {
width: 40px;
}

.material-icons
{
font-size:16px;
}

.game-button{
font-size: 10px;
padding: 2px 9px 6px;
}

.playerDeckText{
font-size: 18px;
}

.player1Deck
{
flex-wrap: wrap;
}

.Card
{
width: 2rem;
}
/*chat box */
.chat-box{
width: auto;
right: 0;
left: 0;
}
.chat-text{
width: 100%;
position: initial;
}
}