Jump to content

Template:Infobox RP/styles.css: Difference between revisions

From BadWolfMC Wiki
No edit summary
No edit summary
 
(2 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: 20px 10px;
   padding: 20px 30px;
   border-radius: 10px;
   border-radius: 10px;
   font-size: 2em;
   font-size: 2em;

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;
}