Skip to content

Commit

Permalink
Create style.css
Browse files Browse the repository at this point in the history
  • Loading branch information
Niravprajapati1 authored Mar 29, 2022
1 parent 3b8ec8e commit 81efe83
Showing 1 changed file with 106 additions and 0 deletions.
106 changes: 106 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html{
font-size: 10px;
scroll-behavior: smooth;
}
body {
height: 100vh;
width: 100vw;
display: flex;
align-items: center;
justify-content: center;
background: #FFCDEA;
}

main{
padding: 2rem;
width:80vw;
height: 70vh;
text-align: center;
background: #FFB5DF;
border: 0.1rem solid #CACACA;
border-radius: 1.5rem;
}

#mainimg {
width: 90%;
height: auto;
margin: 1rem 0 4rem 0;
}
.btnWrapper{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin-top: 2rem;
}
.btn{
min-width: 28rem;
background: linear-gradient(90deg,#EF8EC5,#FF8ACD,#ED9ECB);
border-radius:0.8rem;
border-style: none;
border-color: #FFA2D7;
color: #fff;
cursor: pointer;
padding: 2.5rem 2rem;
font-size: 1rem;
text-align: center;
margin-bottom: 1rem;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.btn:hover{
background: #4ECE56;
color:#C2FFC5;
}
.btn:nth-child(2):hover{
background: #FF0000;
color:#FFA6A6;
}
/*----Second screen------*/
#secondScreen{

display: flex;
flex-direction: column;
align-items: center;
justify-content: center;

}
#secondScreen h1{
margin-top: 2rem;
}
#newGame{
margin: 1rem 0;
}
input{
border: 0.1rem solid lightgray;
border-radius: 0.5rem;
background: transparent;
margin: 2rem 0;
padding: 1rem 0;
width: 25rem;
text-align: center;
outline: none;
}
.info{
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
margin-top: 3rem;
padding: 0.2rem;
}
.info p{
font-size: 1.2rem;
font-weight: 400;
}
.Results{
margin: 2rem;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

0 comments on commit 81efe83

Please sign in to comment.