Files
freedit/static/css/main.css
2025-08-19 18:17:07 +08:00

178 lines
2.7 KiB
CSS

#sign {
max-width: 350px;
}
nav,
section,
footer {
max-width: 1100px;
margin: 0 auto;
}
nav {
height: 48px;
}
@media screen and (max-device-width: 769px) {
main {
padding-right: 0 !important;
}
aside {
padding-left: 0 !important;
}
}
#notification-indicator {
border-radius: 50%;
width: 14px;
height: 14px;
margin-left: -16px;
margin-top: -4px;
}
.media-content {
min-width: 0;
}
.list-item-content {
min-width: 0;
}
.divider {
margin: 1.5rem 0 0;
}
.section {
padding: 1.5rem 0 0;
min-height: calc(100vh - 48px - 144px - 1.5em);
/* ^ header ^ divider
^ footer */
}
.tabs.is-toggle a {
background-color: white;
}
.pagination > a {
background-color: white;
}
.pagination {
padding-bottom: 1.5rem;
}
.overlay {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: rgba(0, 0, 0, 0.7);
transition: opacity 500ms;
visibility: hidden;
opacity: 0;
}
.overlay:target {
visibility: visible;
opacity: 1;
}
.overlay:target ~ .column {
visibility: hidden;
}
.popup {
min-width: 300px;
margin: 70px auto;
padding: 20px;
background: #fff;
border-radius: 5px;
width: 30%;
position: relative;
transition: all 2s ease-in-out;
}
.popup .close {
position: absolute;
top: 20px;
right: 15px;
transition: all 200ms;
font-size: 30px;
color: #333;
}
.popup .close:hover {
color: #06d85f;
}
pre {
overflow-x: auto;
border: 1px solid #b5b5b5;
border-radius: 5px;
padding: 1rem;
}
p {
word-wrap: break-word;
text-align: justify;
}
details summary {
cursor: pointer;
}
.replytag {
display: inline-block;
line-height: 1;
font-weight: 700;
font-size: 0.7rem;
background: #e8e8e8;
padding: 0.5833em 0.833em 0.5833em 0.5em;
border-radius: 0.28571429rem;
}
.replytag img {
height: 2.1666em;
display: inline-block;
vertical-align: top;
margin: -0.5833em 0.5em -0.5833em -0.5em;
border-radius: 0.28571429rem 0 0 0.28571429rem;
}
.replytag a {
text-decoration: none;
color: rgba(62, 212, 70, 0.6);
}
#transcript-wrapper {
max-height: 400px;
margin: 0 auto;
overflow-y: auto;
border: 1px solid #ccc;
padding: 1rem;
text-align: justify;
}
#transcript {
line-height: 1.8;
font-size: 1.2rem;
}
.audio-player {
position: sticky;
top: 0;
padding: 10px;
z-index: 100;
}
audio {
max-width: 100%;
height: auto;
display: block;
box-sizing: border-box;
}
.editor-container {
height: 300px;
}