80 lines
1.6 KiB
CSS
80 lines
1.6 KiB
CSS
body, html {
|
|
height: 100vh;
|
|
width: 100vw;
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: "Pridi", sans-serif;
|
|
background-color: #4A628A;
|
|
}
|
|
|
|
.container {
|
|
height: 100vh;
|
|
width: 100vw;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.header {
|
|
text-align: center;
|
|
margin-top: 10px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.title {
|
|
font-size: 48px;
|
|
font-weight: 500;
|
|
color: white;
|
|
}
|
|
|
|
.announcement-body {
|
|
max-height: 300px; /* Limit the height to make it scrollable if content overflows */
|
|
width: 80%;
|
|
overflow-y: auto; /* Enable vertical scrolling */
|
|
padding: 20px;
|
|
color: white;
|
|
background-color: rgba(0, 0, 0, 0.2); /* Slight background to make text stand out */
|
|
border-radius: 8px;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Customize scrollbar appearance */
|
|
.announcement-body::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
|
|
.announcement-body::-webkit-scrollbar-track {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.announcement-body::-webkit-scrollbar-thumb {
|
|
background-color: rgba(255, 255, 255, 0.8);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.announcement-body::-webkit-scrollbar-thumb:hover {
|
|
background-color: rgb(158, 158, 158);
|
|
}
|
|
|
|
.announcement-footer {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
#closeButton {
|
|
padding: 10px 20px;
|
|
margin-bottom: 15px;
|
|
font-size: 16px;
|
|
color: #4A628A;
|
|
background-color: white;
|
|
border: none;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
#closeButton:hover {
|
|
background-color: #f0f0f0;
|
|
}
|