File size: 1,196 Bytes
ce1ab17
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/*
 * SPDX-FileCopyrightText: Hadad <[email protected]>
 * SPDX-License-Identifier: Apache-2.0
 */

@media (max-width: 480px) {
  :root {
    --header-height: 2.75rem;
    --footer-height: 4rem;
    --border-radius: 0.75rem;
    --bubble-radius: 0.75rem;
    --prompt-radius: 0.75rem;
  }

  .main-header, .chat-header {
    padding: 0.4rem 0.6rem;
  }

  #chatBox {
    padding: 0.5rem 0.6rem calc(var(--footer-height) + 0.6rem) 0.6rem;
  }

  #footerForm {
    padding: 0.5rem 0.6rem;
  }

  #userInput {
    padding: 0.5rem 0.7rem;
    font-size: 0.9rem;
  }

  #sendBtn, #stopBtn {
    width: 2.25rem;
    height: 2.25rem;
  }

  .title {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
    margin-bottom: 1rem;
  }

  .prompts {
    gap: 0.6rem;
    margin-bottom: 1rem;
  }

  .prompt-item {
    padding: 0.7rem 0.9rem;
    gap: 0.6rem;
  }

  .icon {
    width: 1rem;
    height: 1rem;
  }

  .system {
    font-size: 0.7rem;
    margin-top: 1rem;
  }

  .bubble {
    padding: 0.7rem 0.9rem;
    font-size: 0.85rem;
    border-radius: 0.75rem;
    margin: 0.5rem 0;
  }

  .chat-title {
    font-size: 0.9rem;
  }

  .icon-btn {
    padding: 0.35rem;
    width: 2rem;
    height: 2rem;
  }
}