exptech commited on
Commit
c827ee5
·
verified ·
1 Parent(s): 70e8fd1

Add credit photo styles

Browse files
Files changed (1) hide show
  1. style.css +25 -1
style.css CHANGED
@@ -1073,10 +1073,34 @@ a.credit-card, .credit-card {
1073
  transition: border-color 0.2s;
1074
  text-decoration: none;
1075
  color: inherit;
1076
- display: block;
 
 
 
1077
  cursor: pointer;
1078
  }
1079
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1080
  a.credit-card:hover, .credit-card:hover {
1081
  border-color: var(--accent);
1082
  }
 
1073
  transition: border-color 0.2s;
1074
  text-decoration: none;
1075
  color: inherit;
1076
+ display: flex;
1077
+ flex-direction: column;
1078
+ align-items: center;
1079
+ text-align: center;
1080
  cursor: pointer;
1081
  }
1082
 
1083
+ .credit-photo {
1084
+ width: 80px;
1085
+ height: 80px;
1086
+ border-radius: 50%;
1087
+ object-fit: cover;
1088
+ margin-bottom: 0.75rem;
1089
+ border: 2px solid var(--border);
1090
+ }
1091
+
1092
+ .credit-initials {
1093
+ display: flex;
1094
+ align-items: center;
1095
+ justify-content: center;
1096
+ background: var(--border);
1097
+ color: var(--text-secondary);
1098
+ font-family: var(--font-mono);
1099
+ font-size: 1.1rem;
1100
+ font-weight: 600;
1101
+ letter-spacing: 0.05em;
1102
+ }
1103
+
1104
  a.credit-card:hover, .credit-card:hover {
1105
  border-color: var(--accent);
1106
  }