AchyuthGamer commited on
Commit
36526b2
1 Parent(s): 9444121

Update client/css/message.css

Browse files
Files changed (1) hide show
  1. client/css/message.css +23 -60
client/css/message.css CHANGED
@@ -1,65 +1,28 @@
1
- .message {
2
- width: 100%;
3
- overflow-wrap: break-word;
4
- display: flex;
5
- gap: var(--section-gap);
6
- padding: var(--section-gap);
7
- padding-bottom: 0;
8
  }
9
 
10
- .message:last-child {
11
- animation: 0.6s show_message;
 
 
 
 
 
 
12
  }
13
 
14
- @keyframes show_message {
15
- from {
16
- transform: translateY(10px);
17
- opacity: 0;
18
- }
19
- }
20
-
21
- .message .avatar-container img {
22
- max-width: 48px;
23
- max-height: 48px;
24
- box-shadow: 0.4px 0.5px 0.7px -2px rgba(0, 0, 0, 0.08), 1.1px 1.3px 2px -2px rgba(0, 0, 0, 0.041),
25
- 2.7px 3px 4.8px -2px rgba(0, 0, 0, 0.029), 9px 10px 16px -2px rgba(0, 0, 0, 0.022);
26
- }
27
-
28
- .message .content {
29
- display: flex;
30
- flex-direction: column;
31
- width: 90%;
32
- gap: 18px;
33
- }
34
-
35
- .message .content p,
36
- .message .content li,
37
- .message .content code {
38
- font-size: 1rem;
39
- line-height: 1.3;
40
- }
41
-
42
- @media screen and (max-height: 720px) {
43
- .message {
44
- padding: 12px;
45
- gap: 0;
46
- }
47
-
48
- .message .content {
49
- margin-left: 8px;
50
- width: 80%;
51
- }
52
-
53
- .message .avatar-container img {
54
- max-width: 32px;
55
- max-height: 32px;
56
- }
57
-
58
- .message .content,
59
- .message .content p,
60
- .message .content li,
61
- .message .content code {
62
- font-size: 0.875rem;
63
- line-height: 1.3;
64
- }
65
  }
 
 
 
 
 
 
 
1
+ .wrapper {
2
+ height: 100vh;
3
+ /*This part is important for centering*/
4
+ display: grid;
5
+ place-items: center;
 
 
6
  }
7
 
8
+ .typing-demo {
9
+ width: 22ch;
10
+ animation: typing 2s steps(22), blink .5s step-end infinite alternate;
11
+ white-space: nowrap;
12
+ overflow: hidden;
13
+ border-right: 3px solid;
14
+ font-family: monospace;
15
+ font-size: 2em;
16
  }
17
 
18
+ @keyframes typing {
19
+ from {
20
+ width: 0
21
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  }
23
+
24
+ @keyframes blink {
25
+ 50% {
26
+ border-color: transparent
27
+ }
28
+ }