-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
95 lines (77 loc) · 1.76 KB
/
styles.css
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
body, html {
height: 100%;
margin: 0;
font-family: Arial, sans-serif;
background: #FFFFEE;
}
#chat-container {
/* height: 100%; */
display: flex;
flex-direction: column;
align-items: flex-start; /* Aligns items to the start of the flex container, not stretching them */
justify-content: space-between;
padding: 20px;
background: #FFFFEE;
box-sizing: border-box; /* Ensures padding is included in the height */
}
.post {
background: #F0E0D6;
color: #800000;
overflow-wrap: break-word;
word-break: break-word; /* Optional, for additional control if overflow-wrap isn't enough */
padding-left: 10px;
padding-right: 10px;
padding-top: 3px;
margin: 3px;
display: inline-block; /* Makes the div width as per the content inside */
}
.author {
color: #117743;
font-weight: 800;
}
.time {
padding-left: 5px;
}
.content {
padding-left: 30px;
padding-right: 30px;
}
.top-bar {
background: #E04000;
text-align: center;
padding-top: 2px;
padding-bottom: 2px;
color: #FFFFFF;
width: 100%;
}
#message-input {
padding: 10px;
font-size: 16px;
border: 1px solid #ddd;
margin: 3px;
width: calc(100% - 6px); /* Adjust the total pixel reduction based on padding, border, and margin */
box-sizing: border-box; /* Ensures padding is included in the height */
}
.logo {
clear: both;
text-align: center;
font-size: 2em;
color: #800000;
width: 100%;
}
.status-bar {
text-align: right;
width: 95%;
padding-top: 2px;
padding-bottom: 2px;
font-size: 12px;
color: #800000;
}
.links-bar {
text-align: center;
width: 100%;
padding-top: 2px;
padding-bottom: 2px;
font-size: 12px;
color: #800000;
}