Files
projetCGroupe8/FrontEnd/style.css

170 lines
2.6 KiB
CSS

body{
font-family: 'Open Sans', sans-serif;
background-color: #313338;
color: white;
overflow: scroll;
display: flex;
flex-direction: column;
min-height: 100vh;
}
#bottom{
color: white;
background-color: #1E1F22;
text-align: center;
padding-left: 0.5em;
padding-right: 0.5em;
}
#link{
text-decoration: underline;
color: white;
}
h1{
text-align: center;
font-size: 3em;
}
#research{
text-align: center;
}
.searchField{
width: 40%;
height: 4em;
background-color: #1E1F22;
color: white;
border: none;
margin-bottom: 2em;
text-align: center;
}
.searchButton{
width: 25%;
height: 4em;
margin-bottom: 2em;
background-color: #3B428A;
color: white;
border: none;
cursor: pointer;
}
#stop{
width: 10%;
height: 4em;
margin-bottom: 2em;
background-color: #FF0000;
color: white;
border: none;
cursor: pointer;
}
#result{
display: grid;
grid-template-columns: 1fr 5fr;
grid-template-rows: repeat(4, minmax(0,1fr));
grid-column-gap: 0px;
grid-row-gap: 0px;
margin: 5%;
margin-top: 10%;
}
#resultTitleContainer{
grid-area: 1 / 1 / 5 / 2;
}
#resultContentContainer1{
grid-area: 1 / 2 / 2 / 3;
}
#resultContentContainer2{
grid-area: 2 / 2 / 3 / 3;
}
#resultContentContainer3{
grid-area: 3 / 2 / 4 / 3;
}
#resultContentContainer4{
grid-area: 4 / 2 / 5 / 3;
}
.resultContent{
display: flex;
}
#resultTitle{
text-align: center;
margin-top: 5%;
font-size: 20px;
}
.card{
background-color: #2B2D31;
color: white;
margin-left: 2%;
margin-right: 2%;
margin-top: 2%;
margin-bottom: 2%;
padding: 2%;
transition: background-color 0.3s ease-in-out;
border-radius: 10px;
box-shadow: #b0b2b9 0px 0px 10px 0px;
}
.card:hover{
background-color: #3b428a;
}
#returnToHome{
margin-left: 37.5%;
}
#stop\ stopResult{
margin-left: 45%;
width: 10%;
height: 4em;
margin-bottom: 2em;
background-color: #FF0000;
color: white;
border: none;
cursor: pointer;
}
.error{
color: red;
}
.searchButton:disabled{
background-color: rgba(59, 66, 138, 0.5);
color: white;
border: none;
cursor: not-allowed;
}
.pageButton{
width: 2em;
height: 2em;
background-color: #3B428A;
border: none;
align-self: center;
margin-bottom: 1em;
cursor: pointer;
}
#navButton{
display: flex;
justify-content: center;
flex-direction: row;
}
#navButton > button{
margin: 1em;
}
#pageNumbers{
display: flex;
justify-content: center;
flex-direction: row;
}