86 lines
1.5 KiB
CSS
86 lines
1.5 KiB
CSS
.container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 90vw;
|
|
max-width: 500px;
|
|
color: white;
|
|
margin: 10px auto;
|
|
}
|
|
|
|
.title {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 100%;
|
|
min-height: 40px;
|
|
border: 1px solid white;
|
|
border-radius: 2px;
|
|
transform: scaleX(1.02);
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
|
|
padding: 0 10px;
|
|
text-align: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.title > h1 {
|
|
width: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
font-size: 20px;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 100%;
|
|
padding: 10px;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
|
|
border-left: 1px solid black;
|
|
border-right: 1px solid black;
|
|
border-bottom: 1px solid black;
|
|
border-radius: 0 0 2px 2px;
|
|
gap: 8px;
|
|
}
|
|
|
|
/* Tablet */
|
|
@media (max-width: 1024px) {
|
|
.container {
|
|
max-width: 450px;
|
|
margin: 8px auto;
|
|
}
|
|
|
|
.title > h1 {
|
|
font-size: 18px;
|
|
}
|
|
}
|
|
|
|
/* Mobile */
|
|
@media (max-width: 767px) {
|
|
.container {
|
|
width: 95vw;
|
|
max-width: 100%;
|
|
margin: 5px auto;
|
|
}
|
|
|
|
.title {
|
|
min-height: 35px;
|
|
padding: 0 8px;
|
|
}
|
|
|
|
.title > h1 {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.content {
|
|
padding: 8px;
|
|
gap: 6px;
|
|
}
|
|
}
|