This repository has been archived on 2025-03-12. You can view files and clone it, but cannot push or open issues or pull requests.
asklyphe-frontend/static/themes/default/inline-announcement.css

96 lines
1.8 KiB
CSS

#preview {
color: #9baba4;
display: flex;
flex-direction: column;
align-items: center;
font-family: monospace;
font-weight: bold;
}
#preview a {
text-decoration: unset;
color: unset;
background-image: unset;
text-shadow: unset;
box-shadow: unset;
color: unset;
min-height: unset;
border: unset;
border-radius: unset;
padding: unset;
margin: unset;
font-size: unset;
transition: unset;
font-family: unset;
font-weight: unset;
}
.announcement {
background: url("/static/img/announcement.png");
width: 532px;
height: 148px;
}
@media screen and (max-width: 800px) {
.announcement {
margin-top: 10px;
background-size: cover;
width: 354px;
height: 98px;
}
}
.announcement > h4 {
text-align: left;
font-weight: bold;
font-size: 1.3em;
line-height: 1.2em;
margin: 28px 32px -16px;
padding: 0;
}
@media screen and (max-width: 800px) {
.announcement > h4 {
margin: 8px 12px -16px;
font-size: 1.1em;
}
}
.announcement > p {
text-align: left;
font-weight: normal;
font-size: 1.1em;
margin: 24px 32px -16px;
line-height: 1em;
}
@media screen and (max-width: 800px) {
.announcement > p {
margin: 14px 12px -12px;
font-size: 0.9em;
}
}
.announcement > p > a {
font-size: 0.6em !important;
font-family: monospace !important;
font-weight: bold !important;
}
.announcement-date {
float: right;
margin: 32px 32px 0 3px;
font-size: 0.8em;
}
@media screen and (max-width: 800px) {
.announcement-date {
float: none;
text-align: left;
margin: 14px 12px -5px;
color: black;
display: block;
font-size: 0.6em;
line-height: 0;
}
}