You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

120 lines
1.8 KiB
CSS

html,
body {
font-size: 1.125rem;
background-color: #fee;
font-family: Arial, Helvetica, sans-serif;
}
.info {
border: 1px solid tomato;
border-radius: 16px;
display: inline-block;
margin: 16px;
padding: 16px;
}
input[type="file"] {
display: none;
}
.info .file-upload,
input[type="submit"] {
cursor: pointer;
background-color: transparent;
font-size: 16px;
padding: 0;
line-height: 1;
border: none;
border-bottom: 1px solid tomato;
color: tomato;
}
#categories {
border-radius: 16px;
display: block;
margin: 16px;
margin-top: 32px;
margin-bottom: 64px;
}
.tag {
display: inline-block;
border: 1px solid currentColor;
padding: 0 0.5ch;
border-radius: 1em;
margin: 4px;
transform: translate(0);
transition: transform 0.4s ease-out;
text-transform: capitalize;
}
.tag:hover {
transition: transform 0.1s ease-in;
transform: translateY(-4px);
cursor: pointer;
}
.tag.active {
background-color: tomato;
color: white;
}
.tag.all {
background-color: transparent;
color: currentColor;
}
.all-button {
font-size: 1.125rem;
display: inline-block;
background-color: transparent;
border: 1px solid currentColor;
padding: 0 0.5ch;
border-radius: 1em;
margin: 4px;
cursor: pointer;
}
.all-button.active {
background-color: tomato;
color: white;
}
#chat-container {
padding: 0 8px;
margin: 0 auto;
display: flex;
justify-content: flex-start;
align-items: center;
flex-wrap: wrap;
}
.baloon {
display: none;
position: relative;
background-color: #fff;
border-radius: 16px;
padding: 16px;
margin: 16px;
max-width: 40ch;
line-height: 1.4;
}
.baloon.active {
display: inline-block;
}
.baloon .author {
font-family: "Times New Roman", Times, serif;
position: absolute;
top: 0;
margin: 0;
transform: translateY(-24px);
color: tomato;
white-space: pre;
}
.baloon .contents {
margin: 0;
}