This repository has been archived on 2024-07-05. You can view files and clone it, but cannot push or open issues or pull requests.
Infinitum/public/main/style.css

94 lines
1.7 KiB
CSS
Raw Normal View History

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,200&family=Source+Code+Pro:wght@300&display=swap");
/*
font-family: 'Source Code Pro', monospace;
font-family: 'DM Sans', sans-serif;
*/
body,
html {
font-family: "Source Code Pro", monospace;
background-image: linear-gradient(120deg, #fccb90 0%, #d57eeb 100%);
height: 100%;
margin: 0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.cosiRandomCentered {
height: 100vh;
width: 60vw;
background-color: rgba(240, 240, 240, 0.55);
display: flex;
flex-direction: column;
}
.inputHier {
margin-top: auto;
background-color: #f0f0f0; /* Optional: Set a background color for better visibility */
padding: 10px; /* Optional: Adjust padding as needed */
width: 100%;
box-sizing: border-box;
/*grid-template-columns: 2fr 1fr;*/
display: flex;
justify-content: center;
}
.inputHier > textarea {
font-family: "Source Code Pro", monospace;
font-size: large;
/*width: 1024px;*/
width: 90%;
box-sizing: border-box;
resize: none;
}
.inputHier > button {
font-family: "Source Code Pro", monospace;
font-size: larger;
font-weight: 700;
height: 100%;
box-sizing: border-box;
margin-left: 10px;
}
.chatHier {
overflow: scroll;
}
.message {
border: #d57eeb solid 5px;
border-radius: 20px;
width: max-content;
padding: 5px;
margin: 3px;
}
.time {
font-size: x-small;
}
.author {
font-size: x-small;
font-weight: 600;
}
.firstLine {
display: flex;
}
.spacer {
width: 50px;
}
.left {
color: darkslategray;
background-color: rgba(30, 215, 250, 0.8);
margin-right: auto;
}
.right {
color: darkslategray;
background-color: rgba(250, 65, 30, 0.8);
margin-left: auto;
}