anonymous_overflow/public/question.css

98 lines
1.5 KiB
CSS
Raw Normal View History

:root {
--code-bg: #36383d;
}
body {
margin: 0;
width: 100vw;
height: 100vh;
overflow-x: hidden;
background-color: #1b1f26;
color: white;
font-family: sans-serif;
display: flex;
justify-content: center;
padding-left: 5rem;
padding-right: 5rem;
padding-top: 2rem;
box-sizing: border-box;
}
.parent {
max-width: 90%;
width: fit-content;
}
code {
background-color: var(--code-bg);
padding: .15rem;
border-radius: 5px;
color: white;
}
pre {
background-color: var(--code-bg);
padding: 1rem;
border-radius: 5px;
color: white;
overflow-x: auto;
2022-12-27 22:46:31 -05:00
line-height: 1.35;
}
2022-12-27 22:46:31 -05:00
.timestamp {
color: #b3b3b3;
font-size: 0.8rem;
}
.answer-divider {
margin-top: 3rem;
margin-bottom: 3rem;
border: 0;
height: 1px;
background-color: #42464e;
}
img {
max-width: 100%;
}
.answer-meta {
border-radius: 5px;
padding: 1rem;
color: black;
margin-bottom: 1rem;
background-color: rgb(82, 82, 98);
color: white;
}
.answer-meta.accepted {
background-color: #8cffc0 !important;
color: black !important;
}
.answer-author-parent {
display: flex;
justify-content: flex-end;
}
.answer-author {
width: fit-content;
background-color: rgb(82, 82, 98);
padding: .5rem;
border-radius: 5px;
text-align: right;
font-size: .8rem;
}
@media only screen and (max-width: 800px) {
body {
padding-left: 1rem;
padding-right: 1rem;
}
2022-12-27 22:46:31 -05:00
}