generated from nhcarrigan/template
feat: add dark mode and announcement component
This commit is contained in:
28
components/announcement-banner/common/common.scss
Normal file
28
components/announcement-banner/common/common.scss
Normal file
@ -0,0 +1,28 @@
|
||||
.announcement {
|
||||
background-color: #a32952;
|
||||
font-family: monospace;
|
||||
color: #ffefef;
|
||||
font-size: 1em;
|
||||
line-height: 1.4;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
margin: 1em 0;
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
.announcement a {
|
||||
color: #ffefef;
|
||||
font-weight: bold;
|
||||
text-decoration: underline;
|
||||
padding: 0 4px;
|
||||
}
|
||||
|
||||
.announcement a:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.announcement-heading {
|
||||
text-align: center;
|
||||
}
|
Reference in New Issue
Block a user