-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
151 lines (138 loc) · 2.57 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #dedede;
color: #383838;
}
.container {
max-width: 700px;
margin: 0 auto;
padding: 20px;
position: relative;
min-height: 100vh;
box-sizing: border-box;
overflow: hidden;
}
.chat-header {
background-color: #007bff;
color: #fff;
padding: 10px;
text-align: center;
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 1;
}
.back-button{
position: fixed;
top: 20px;
background-color: #1482ff;
color: #ffffff;
border: none;
border-radius: 5px;
cursor: pointer;
padding: 10px 15px;
display: flex;
align-items: center;
text-align: center;
}
.back-button i:hover{
color: rgb(255, 255, 255);
font-size: larger;
}
.back-button a:link{
color: rgb(255, 255, 255);
font-size: xx-large;
}
.back-button:hover{
background-color: black;
}
form{
justify-content: center;
}
.message-form {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
background-color: #ffffff;
padding: 10px;
box-sizing: border-box;
display: flex;
align-items: center;
}
.message-form input {
flex: 1;
max-width: 700px;
margin-right: 10px;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
resize: vertical;
}
.submit-button {
background-color: #007bff;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
padding: 10px 15px;
display: flex;
align-items: center;
text-align: center
}
.desktop-text {
display: block;
}
.message{
width: 100%;
height: auto;
margin-top: 10px;
margin-bottom: 5px;
}
/* For phones */
@media only screen and (max-width: 600px) {
/* hides the submit*/
.button-hide{
display: none;
}
.desktop-text {
display: none;
}
.mobile-icon {
display: flex;
align-items: center;
right: 20px;
}
.container {
width: 100%;
margin: 0 ;
padding: 3px;
padding-top: 20px;
position: relative;
min-height: 100vh;
box-sizing: border-box;
overflow: hidden;
}
}
/* For desktops */
@media only screen and (min-width: 601px) {
.mobile-icon {
display: none;
}
}
/* Scroll button styles */
.scroll-button {
position: fixed;
bottom: 60px;
right: 20px;
background-color: #007bff;
color: #fff;
border: none;
border-radius: 50%;
cursor: pointer;
padding: 10px;
display: none; /* Initially hidden */
}