Main page/styles.css: Difference between revisions
From Project Rebearth
Created page with ".rb-modal-box { box-sizing: border-box; display: inline-block; } .rb-modal-box * { box-sizing: border-box; } .rb-scooped-corners { mask: radial-gradient(circle at top left, transparent 15px, black 15.5px) top left, radial-gradient(circle at top right, transparent 15px, black 15.5px) top right, radial-gradient(circle at bottom left, transparent 15px, black 15.5px) bottom left, radial-gradient(circle at bottom right, transp..." |
No edit summary |
||
| Line 20: | Line 20: | ||
.rb-modal-border { | .rb-modal-border { | ||
background-color: #f3e5ab; | background-color: #f3e5ab; | ||
padding: 4px; | |||
width: 100%; | |||
margin: 0 auto; | |||
} | |||
.rb-modal-border-alt { | |||
background-color: #3e2318; | |||
padding: 4px; | padding: 4px; | ||
width: 100%; | width: 100%; | ||
| Line 28: | Line 35: | ||
background-color: #3e2318; | background-color: #3e2318; | ||
color: #f3e5ab; | color: #f3e5ab; | ||
text-align: center; | |||
padding: 30px 40px; | |||
display: flex; | |||
flex-direction: column; | |||
align-items: center; | |||
gap: 8px; | |||
} | |||
.rb-modal-content-alt { | |||
background-color: #f3e5ab; | |||
color: #3e2318; | |||
text-align: center; | text-align: center; | ||
padding: 30px 40px; | padding: 30px 40px; | ||
Revision as of 18:43, 9 February 2026
.rb-modal-box {
box-sizing: border-box;
display: inline-block;
}
.rb-modal-box * {
box-sizing: border-box;
}
.rb-scooped-corners {
mask:
radial-gradient(circle at top left, transparent 15px, black 15.5px) top left,
radial-gradient(circle at top right, transparent 15px, black 15.5px) top right,
radial-gradient(circle at bottom left, transparent 15px, black 15.5px) bottom left,
radial-gradient(circle at bottom right, transparent 15px, black 15.5px) bottom right;
mask-size: 51% 51%;
mask-repeat: no-repeat;
}
.rb-modal-border {
background-color: #f3e5ab;
padding: 4px;
width: 100%;
margin: 0 auto;
}
.rb-modal-border-alt {
background-color: #3e2318;
padding: 4px;
width: 100%;
margin: 0 auto;
}
.rb-modal-content {
background-color: #3e2318;
color: #f3e5ab;
text-align: center;
padding: 30px 40px;
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
}
.rb-modal-content-alt {
background-color: #f3e5ab;
color: #3e2318;
text-align: center;
padding: 30px 40px;
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
}
.rb-welcome-text {
font-size: 1.4rem;
font-weight: 600;
color: #f3e5ab;
margin: 0 0 5px 0;
}
.rb-title-row {
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
margin-bottom: 8px;
}
.rb-server-name {
font-size: 1.8rem;
font-weight: 700;
color: #ffb74d;
margin: 0;
line-height: 1.2;
}
.rb-stats-row {
display: flex;
gap: 20px;
align-items: center;
justify-content: center;
margin-bottom: 12px;
font-size: 1.1rem;
color: #e0e0e0;
}
.rb-stat-item {
display: flex;
align-items: center;
gap: 8px;
}
.rb-description {
font-size: 1.1rem;
line-height: 1.5;
color: #f3e5ab;
margin: 0;
max-width: 95%;
}