text_generator / static /style.css
arcsu1's picture
Add application file
b912aca
:root {
--primary-color: #524868;
--secondary-color: #d3d8f0;
--text-color: #231e3b;
--background-color: #bac6f3;
}
body {
font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-size: 18px;
color: #231e3b;
background-color: #c4cdec;
}
i{
font-size: 70px;
}
a:hover {
text-decoration: none;
}
i {
text-decoration: none;
}
.card-title {
font-size: 20px;
margin-top: 1rem;
margin-bottom: none;
}
.title {
font-size: 3rem;
text-align: center;
margin-top: none;
margin-bottom: 0.5rem;
}
.grid {
grid-template-columns: repeat(2, 245px);
gap: 5rem;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}
.card {
border-radius: 55px;
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
transition: all 0.3s ease-in-out;
background-color: var(--secondary-color);
text-align: center;
text-decoration: none;
margin-bottom: 1rem;
}
.algorithm-box {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 2rem;
}
.algorithm-box .icon {
width: 30px;
height: 120px;
}
.algorithm-box .title {
font-size: 5rem;
text-align: center;
margin-top: 3rem;
margin-bottom: 1rem;
}
.algorithm-box .btn {
margin-top: 7rem;
padding: 0.5rem 1rem;
background-color: #bac6f3(--primary-color); /*color sng button ari tani diri pero di madala , so ginbutang na lng sa index.html*/
color: #22326C;
border: none;
border-radius: 10px;
font-size: 1rem;
cursor: pointer;
}
.btn:hover {
background-color: #97a0c2;/*color sng button mag hover*/
color: #fff;
}
.algorithm-box:hover {
background-color: #97a0c2; /* Background color when hovering */
color: #fff; /* Text color when hovering */
border-radius: 55px;
}
.circle {
width: 150px;
height: 150px;
border-radius: 50%;
margin-top: 2rem;
background-color: #bac6f3;
display: flex;
align-items: center;
justify-content: center;
}
/*sa tile sang taga model page*/
.model-title{
display: flex;
justify-content: center;
align-items: center;
}
/*box sa taga model page*/
.custom-box {
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
padding: 20px;
border-radius: 80px;
background-color: #cbd2eb;
width: 700px;
height: 500px;
margin: 0 auto;
margin-bottom: 2rem;
display: flex;
justify-content: center;
align-items: center;
}
#gener{
justify-content: left;
height: fit-content;
}
/* left side sang unod sang box*/
.left-div {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
width: 40%;
}
/*para sa bilog nga ara sa lft side */
.res_photo{
width: 150px;
height: 150px;
border-radius: 50%;
margin-top: 2rem;
display: flex;
align-items: center;
justify-content: center;
margin: 1rem;
margin-bottom: 2rem;
background-color: #97a0c2;
}
.larger-icon {
width: 100px;
height: 100px;
}
.x{
color: red;
}
.check{
color: rgb(0, 255, 64);
}
.questions{
color: rgb(151, 137, 137);
}
/* right side sang unod sang box*/
.right-div {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
width: 40%;
}
/*para sa inputs*/
.form-container {
width: 300px;
padding: 20px;
text-align: center;
}
.custom-box h1 {
font-size: 2em;
margin-top: 1.5em;
text-align: left;
}
/*para sa inputs*/
.custom-box form {
margin-top: 1em;
text-align: left;
}
/*para sa labels*/
.custom-box label {
display: block;
margin-top: 1em;
font-size: 1.1em;
text-align: left;
}
/*design sang bilog nga form*/
.custom-box .form-control{
width: 90%;
padding: 8px;
font-size: 1em;
border: 1px solid #ccc;
border-radius: 4px;
text-align: left;
}
textarea.form-control {
resize: vertical;
height: 200px;
}
/*width sang input field*/
.form-select{
width: 90%;
}
/*width sang input field*/
.custom-box .form-select {
width: 90%;
padding: 8px;
font-size: 1em;
border: 1px solid #ccc;
border-radius: 4px;
text-align: left;
}
/*predict button*/
.custom-button {
background-color: #B2BAE4;
color: #1b1a1a;
border: none;
padding: 10px 20px;
font-style: 'Roboto', sans-serif;
font-size: 18px;
}
.custom-box .custom-button {
display: block;
width: 70%;
padding: 10px;
font-size: 1em;
background-color: #B2BAE4;
color: #fff;
border: none;
border-radius: 20px;
cursor: pointer;
margin-top: 1em;
text-align: center;
}
/*design sang predict button*/
.box .custom-button:hover {
background-color: #0056b3;
}
/* res generat*/
.inline-p {
font-size: 14px;
display: inline-flex;
max-width: 99%;
max-height: 400px;
white-space: nowrap;
overflow: auto;
border-right: .15em solid rgb(0, 0, 0); /* The typwriter cursor */
white-space: nowrap; /* Keeps the content on a single line */
margin: 0 auto; /* Gives that scrolling effect as the typing happens */
letter-spacing: .15em; /* Adjust as needed */
animation:
typing 3.5s steps(40, end),
blink-caret .75s step-end infinite;
}
@keyframes typing {
from { width: 0 }
to { width: 99% }
}
@keyframes blink-caret {
from, to { border-color: transparent }
50% { border-color: transparent }
}
#style-7::-webkit-scrollbar-track
{
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
background-color: #F5F5F5;
border-radius: 10px;
}
#style-7::-webkit-scrollbar
{
width: 10px;
height: 5px;
background-color: #F5F5F5;
}
#style-7::-webkit-scrollbar-thumb
{
border-radius: 10px;
background-image: -webkit-gradient(linear,
left bottom,
left top,
color-stop(0.44, rgb(122,153,217)),
color-stop(0.72, rgb(73,125,189)),
color-stop(0.86, rgb(28,58,148)));
}
.statement{
margin-top: 0.5em;
font-size: 1em;
text-indent: 40px;
align-items: center;
text-align: center;
}