Skip to content

Commit

Permalink
decreased font size and padding for elements when in mobile view
Browse files Browse the repository at this point in the history
  • Loading branch information
firebreathingrabbit committed May 31, 2023
1 parent baede50 commit 825e38e
Showing 1 changed file with 34 additions and 33 deletions.
67 changes: 34 additions & 33 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,38 +39,6 @@ input[name="answer"] {
width: 100%;
}

@media (max-width: 700px) {
section{
width: 100%;
}
#rightCol {
float: none;
padding-top: 50px;
height:70%;
}
#leftCol {
float: none;

height:30%;
}
#questionTxt,#answerTxt{
font-size: 2rem;
}

input[name="answer"] {
font-size: 2rem;
width: 5rem;
height: 2rem;
}

button {
font-size: 1rem;
padding: 2px 2px;
margin: 0 2px;
cursor: pointer;
}
}

/* button{
border: 0.5px solid black;
padding:0.5rem 1rem;
Expand Down Expand Up @@ -112,4 +80,37 @@ button {

i {
padding-right: 0.5rem;
}
}

@media (max-width: 700px) {
section{
width: 100%;
}
#rightCol {
float: none;
padding-top: 50px;
height:70%;
}
#leftCol {
float: none;

height:30%;
}
#questionTxt,#answerTxt{
font-size: 2rem;
}

input[name="answer"] {
font-size: 2rem;
width: 5rem;
height: 2rem;
}

button {
font-size: 1rem;
padding: 5px 10px;
margin: 0 1px;
border-radius: 10px;
cursor: pointer;
}
}

0 comments on commit 825e38e

Please sign in to comment.