Skip to content

Commit 73ba7d8

Browse files
brunoborgesCopilot
andcommitted
Fix info card styling: match CSS selectors to template class names
The template used .info-label/.info-value but CSS targeted .label/.value, causing no styling to apply. Fixed selectors and added color classes (red, green, accent, blue) for visual distinction between the four cards. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 468c6ac commit 73ba7d8

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

site/styles.css

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -960,26 +960,31 @@ nav {
960960
}
961961

962962
.info-card {
963-
padding: 16px;
963+
padding: 20px 16px;
964964
background: var(--surface);
965965
border: 1px solid var(--border);
966966
border-radius: var(--radius-sm);
967967
text-align: center;
968968
}
969969

970-
.info-card .label {
970+
.info-label {
971971
font-size: 0.72rem;
972972
color: var(--text-muted);
973973
text-transform: uppercase;
974974
letter-spacing: 0.05em;
975-
margin-bottom: 6px;
975+
margin-bottom: 8px;
976976
}
977977

978-
.info-card .value {
979-
font-size: 1.1rem;
978+
.info-value {
979+
font-size: 1.15rem;
980980
font-weight: 700;
981981
}
982982

983+
.info-value.red { color: #ef4444; }
984+
.info-value.green { color: #22c55e; }
985+
.info-value.accent { color: var(--accent); }
986+
.info-value.blue { color: #3b82f6; }
987+
983988
/* ---------- JDK Support Section ---------- */
984989
.bs-section {
985990
margin: 48px 0;

0 commit comments

Comments
 (0)