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.
173 lines
2.5 KiB
CSS
173 lines
2.5 KiB
CSS
html,
|
|
body {
|
|
font-size: 1.125rem;
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
}
|
|
|
|
.meta {
|
|
margin: 16px;
|
|
}
|
|
|
|
.meta .back {
|
|
display: inline-block;
|
|
}
|
|
|
|
.info {
|
|
border: 1px solid tomato;
|
|
border-radius: 16px;
|
|
display: none;
|
|
margin: 16px;
|
|
padding: 16px;
|
|
}
|
|
|
|
.info.show {
|
|
display: inline-block;
|
|
}
|
|
|
|
#info-button {
|
|
border: 1px solid tomato;
|
|
border-radius: 16px;
|
|
display: inline-block;
|
|
width: 32px;
|
|
height: 32px;
|
|
margin: 16px;
|
|
color: tomato;
|
|
background-color: transparent;
|
|
font-size: 1.125rem;
|
|
cursor: pointer;
|
|
transform: translate(0);
|
|
transition: transform 0.4s ease-out;
|
|
}
|
|
|
|
#info-button.active {
|
|
background-color: tomato;
|
|
color: white;
|
|
}
|
|
|
|
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;
|
|
user-select: none;
|
|
}
|
|
|
|
.tag:hover,
|
|
#show-info: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;
|
|
}
|
|
|
|
.baloon .category {
|
|
color: #fcc;
|
|
}
|
|
|
|
.category::after {
|
|
content: ", ";
|
|
}
|
|
|
|
/* .category::before {
|
|
content: "#";
|
|
} */
|
|
|
|
.category:first-of-type::before {
|
|
content: " ";
|
|
}
|
|
|
|
.category:last-of-type::after {
|
|
content: "";
|
|
}
|