nicolaydef commited on
Commit
b8671f3
·
verified ·
1 Parent(s): 9ae8ed0

Update static/styles.css

Browse files
Files changed (1) hide show
  1. static/styles.css +27 -2
static/styles.css CHANGED
@@ -55,8 +55,33 @@ body {
55
  .avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(45deg, #4facfe, #00f2ea); }
56
  .user-info { flex: 1; }
57
  .username { font-weight: bold; font-size: 0.9rem; }
58
- .user-tag { font-size: 0.7rem; color: rgba(255,255,255,0.5); cursor: pointer; transition: 0.3s; }
59
- .user-tag:hover { color: var(--accent); text-shadow: 0 0 8px var(--accent); }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
 
61
  /* Main Chat */
62
  .chat-area { display: flex; flex-direction: column; position: relative; }
 
55
  .avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(45deg, #4facfe, #00f2ea); }
56
  .user-info { flex: 1; }
57
  .username { font-weight: bold; font-size: 0.9rem; }
58
+ .user-tag {
59
+ font-size: 0.6rem; /* Маленький шрифт */
60
+ font-weight: 700; /* Жирный */
61
+ letter-spacing: 1px;
62
+ text-transform: uppercase;
63
+
64
+ /* Делаем "нормальную" кнопку */
65
+ color: rgba(255, 255, 255, 0.9);
66
+ background: rgba(0, 0, 0, 0.3); /* Темный фон */
67
+ border: 1px solid rgba(255, 255, 255, 0.2); /* Четкая рамка */
68
+ padding: 4px 8px; /* Отступы внутри */
69
+ border-radius: 4px; /* Скругление */
70
+
71
+ cursor: pointer;
72
+ transition: all 0.2s ease-in-out;
73
+ display: inline-block;
74
+ margin-top: 6px;
75
+ }
76
+
77
+ .user-tag:hover {
78
+ /* При наведении - яркая вспышка */
79
+ background: var(--accent); /* Голубой фон */
80
+ color: black; /* Черный текст для контраста */
81
+ border-color: var(--accent);
82
+ box-shadow: 0 0 15px rgba(0, 242, 234, 0.5); /* Неоновое свечение */
83
+ transform: translateY(-1px);
84
+ }
85
 
86
  /* Main Chat */
87
  .chat-area { display: flex; flex-direction: column; position: relative; }