Template:Infobox RP/styles.css: Difference between revisions
Appearance
Created page with "→BadWolfMC RP Infobox button: .bwmc-btn a { display: inline-block; padding: 10px 20px; border-radius: 10px; font-size: 1.05em; font-weight: 600; font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background: linear-gradient(180deg, #4a90e2, #3a7ed6); color: #fff !important; border: 1px solid #2e6ec5; box-shadow: 0 2px 5px rgba(0,0,0,.25); text-decoration: none !important; transition: background 0.15s ease, transform 0.15s ea..." |
No edit summary |
||
| (15 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
.bwmc-btn a { | .bwmc-btn a { | ||
display: inline-block; | display: inline-block; | ||
padding: | padding: 20px 30px; | ||
border-radius: 10px; | border-radius: 10px; | ||
font-size: | font-size: 2em; | ||
font-weight: 600; | font-weight: 600; | ||
font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; | font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; | ||
line-height: 1.4; | |||
background: linear-gradient(180deg, #4a90e2, #3a7ed6); | background: linear-gradient(180deg, #4a90e2, #3a7ed6); | ||
color: # | color: #8099da !important; | ||
border: | border: 0px solid #003b6f; | ||
box-shadow: 0 2px 5px rgba(0,0,0,.25); | box-shadow: 0 2px 5px rgba(0,0,0,.25); | ||
text-decoration: none !important; | text-decoration: none !important; | ||
| Line 23: | Line 24: | ||
background-image: none !important; /* remove the little external-link icon */ | background-image: none !important; /* remove the little external-link icon */ | ||
padding-right: 20px; | padding-right: 20px; | ||
} | |||
/* force line wrapping for long hashes and similar data */ | |||
.bwmc-wrap { | |||
word-break: break-all; /* older browsers */ | |||
overflow-wrap: anywhere; /* modern spec */ | |||
white-space: normal !important; | |||
} | } | ||
Latest revision as of 10:45, 4 November 2025
/* BadWolfMC RP Infobox button */
.bwmc-btn a {
display: inline-block;
padding: 20px 30px;
border-radius: 10px;
font-size: 2em;
font-weight: 600;
font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
line-height: 1.4;
background: linear-gradient(180deg, #4a90e2, #3a7ed6);
color: #8099da !important;
border: 0px solid #003b6f;
box-shadow: 0 2px 5px rgba(0,0,0,.25);
text-decoration: none !important;
transition: background 0.15s ease, transform 0.15s ease;
}
.bwmc-btn a:hover {
background: linear-gradient(180deg, #5aa0f2, #4a90e2);
transform: translateY(-1px);
}
.bwmc-btn a.external {
background-image: none !important; /* remove the little external-link icon */
padding-right: 20px;
}
/* force line wrapping for long hashes and similar data */
.bwmc-wrap {
word-break: break-all; /* older browsers */
overflow-wrap: anywhere; /* modern spec */
white-space: normal !important;
}