#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-image: url("/static/themes/water/bg.png"); border-radius: 6px; width: 532px; height: 148px; box-shadow: dimgray 0 0 10px; } @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.4em; line-height: 1.2em; margin: 28px 32px -16px; padding: 0; } @media screen and (max-width: 800px) { .announcement > h4 { margin: 8px 12px -16px; } } .announcement > p { text-align: left; font-weight: normal; font-size: 1.2em; margin: 24px 32px -16px; } @media screen and (max-width: 800px) { .announcement > p { margin: 14px 12px -12px; font-size: 1em; } } .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 0; color: black; display: block; font-size: 0.7em; line-height: 0; } }