Files
freedit/static/css/main.css
2023-06-25 14:17:14 +08:00

133 lines
2.0 KiB
CSS

#sign {
max-width: 350px;
}
nav,
section,
footer {
max-width: 1100px;
margin: 0 auto;
}
nav {
height: 48px;
}
#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;
}
.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: .7rem;
background: #e8e8e8;
padding: .5833em .833em .5833em .5em;
border-radius: .28571429rem;
}
.replytag img {
height: 2.1666em;
display: inline-block;
vertical-align: top;
margin: -.5833em .5em -.5833em -.5em;
border-radius: .28571429rem 0 0 .28571429rem;
}
.replytag a {
text-decoration: none;
color: rgba(62, 212, 70, 0.6);
}