Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Home/Actions.css: Difference between revisions

Template page
Created page with "Actions bar: .lw-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin: 12px 0 28px 0; } .lw-actions a { display: inline-block; padding: 8px 12px; border: 1px solid #dfe5da; border-radius: 8px; background: #fff; color: #2d5016; font-weight: 600; text-decoration: none; line-height: 1.2; transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease; }..."
 
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Actions bar */
.mw-parser-output .lw-actions {
.lw-actions {
   display:flex;
   display: flex;
   justify-content:center;
   justify-content: center;
   align-items:center;
   align-items: center;
   flex-wrap:wrap;
   flex-wrap: wrap;
   gap:12px;
   gap: 8px;
   margin:18px 0 28px 0;
   margin: 12px 0 28px 0;
}
}


.lw-actions a {
.mw-parser-output .lw-actions .pill {
   display: inline-block;
   display:inline-flex;
   padding: 8px 12px;
  align-items:center;
   border: 1px solid #dfe5da;
  justify-content:center;
   border-radius: 8px;
   padding:9px 14px;
   background: #fff;
  min-width:13ch;
   color: #2d5016;
   border:1px solid #cfd7c9;
   font-weight: 600;
   border-radius:999px;
  text-decoration: none;
   background:#fff;
   line-height: 1.2;
   color:#2d5016;
   transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
   font-weight:600;
   line-height:1.1;
   text-decoration:none;
}
}


/* Hover/active */
.mw-parser-output .lw-actions a {
.lw-actions a:hover {
   text-decoration:none !important;
   background: #2d5016;
}
   color: #fff;
.mw-parser-output .lw-actions a:hover .pill {
   border-color: #2d5016;
   border-color:#9fb39a;
   box-shadow:0 1px 4px rgba(0,0,0,.08);
}
}
.lw-actions a:active { transform: translateY(1px); }
/* Neutralize MediaWiki redlink styling inside this bar */
.lw-actions a.new { color: #2d5016; }
.lw-actions a.new:hover { color: #fff; }

Latest revision as of 06:48, 26 August 2025

.mw-parser-output .lw-actions {
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  margin:18px 0 28px 0;
}

.mw-parser-output .lw-actions .pill {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:9px 14px;
  min-width:13ch;
  border:1px solid #cfd7c9;
  border-radius:999px;
  background:#fff;
  color:#2d5016;
  font-weight:600;
  line-height:1.1;
  text-decoration:none;
}

.mw-parser-output .lw-actions a {
  text-decoration:none !important;
}
.mw-parser-output .lw-actions a:hover .pill {
  border-color:#9fb39a;
  box-shadow:0 1px 4px rgba(0,0,0,.08);
}