garage-AI/app/static/main.css
2023-09-29 08:52:00 +02:00

214 lines
3.5 KiB
CSS

@font-face {
font-family: "ColfaxAI";
src: url(https://cdn.openai.com/API/fonts/ColfaxAIRegular.woff2)
format("woff2"),
url(https://cdn.openai.com/API/fonts/ColfaxAIRegular.woff) format("woff");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "ColfaxAI";
src: url(https://cdn.openai.com/API/fonts/ColfaxAIBold.woff2) format("woff2"),
url(https://cdn.openai.com/API/fonts/ColfaxAIBold.woff) format("woff");
font-weight: bold;
font-style: normal;
}
body,
input {
font-size: 16px;
line-height: 24px;
color: #353740;
font-family: "ColfaxAI", Helvetica, sans-serif;
}
body {
background-color: #24262B;
/* background: url("matrix.gif"); */
display: flex;
flex-direction: column;
align-items: center;
/* padding-top: 60px; */
min-height: 100%;
text-align: center;
}
.icon {
width: 34px;
}
h3 {
font-size: 32px;
line-height: 40px;
font-weight: bold;
color: #fff;
margin: 16px 0 40px;
}
form {
margin-top: 10px;
display: flex;
flex-direction: column;
width: 400px;
text-align: center;
}
input[type="text"] {
padding: 12px 16px;
border: 1px solid #10a37f;
border-radius: 4px;
margin-top: 5px;
margin-bottom: 24px;
}
::placeholder {
color: #8e8ea0;
opacity: 1;
}
input[type="submit"] {
padding: 12px 0;
color: #fff;
background-color: #10a37f;
border: none;
border-radius: 4px;
text-align: center;
cursor: pointer;
}
.result {
color: #10a37f;
max-width: 80%;
max-height: 80%;
border: 1px solid #10a37f;
border-radius: 4px;
cursor: pointer;
font-weight: bold;
margin-top: 40px;
margin-left: 50px;
margin-right: 50px;
margin-bottom: 30px;
}
label {
color: black;
}
.spinner {
padding-top: 250px;
width: 30%;
}
.footer {
padding: 10px 0;
/* position: fixed; */
color: #fff;
bottom: 0;
left: 0;
width: 100%;
text-align: center;
}
select, input {
margin-bottom: 20px;
text-align: center;
}
option {
text-align: center;
}
.settings {
border: 1px solid #10a37f;
border-radius: 4px;
text-align: center;
cursor: pointer;
margin-bottom: 10px;
}
.temps {
color: #fff;
text-align: center;
font-size: 10px;
}
div {
margin-left: 10px;
margin-top: 10px;
align-items: center;
}
.jumbotron {
height: auto;
padding-top: 0.3em;
padding-bottom: 0.3em;
margin: 20px;
background-color: #E9ECEF;
}
.container {
display: flex;
flex-direction: column;
justify-content: center; /* Centre verticalement */
align-items: center; /* Centre horizontalement */
}
a.nav-link {
color: cornflowerblue;
font-size: 30px;
}
pre {
background-color: #f4f4f4;
margin-left: 5px;
margin-right: 5px;
margin-top: 5px;
border: 1px solid #000;
padding: 10px;
white-space: pre;
}
button {
padding: 12px 10px;
color: #fff;
background-color: #10a37f;
border: none;
border-radius: 4px;
text-align: center;
cursor: pointer;
}
p {
margin-left: 5px;
margin-right: 5px;
margin-top: 5px;
}
#loading-spinner {
display: flex;
align-items: center;
justify-content: center;
height: 100vh; /* Hauteur égale à la hauteur de la fenêtre */
position: fixed;
width: 100%;
background-color: rgba(255, 255, 255, 0.8); /* Fond semi-transparent */
z-index: 9999; /* S'assurer qu'il apparaît au-dessus du contenu */
}
/* #loading-spinner::after {
content: '';
display: inline-block;
width: 50px;
height: 50px;
border: 5px solid #3498db;
border-radius: 50%;
border-top: 5px solid #f3f3f3;
} */
/* @keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
} */