-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmessage.css
More file actions
169 lines (156 loc) · 3.11 KB
/
message.css
File metadata and controls
169 lines (156 loc) · 3.11 KB
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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');
*{
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: Arial, Helvetica, sans-serif;
font-family: 'Roboto', sans-serif;
}
.x{
color: #6e07f3;
text-decoration: none;
font-size: 1.5rem;
font-weight: bolder;
}
.top{
height: 7rem;
width: 100%;
display: flex;
align-items: center;
justify-content: space-around;
}
.logo img{
width: 10rem;
}
.message-caption img{
width: 7rem;
}
.message-caption{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center ;
}
.message-caption h1{
margin: 1rem 18rem;
letter-spacing: 2px;
text-align: center;
}
.message input,textarea{
width: 10rem;
}
.body{
width: 100%;
display: flex;
justify-content: center;
}
.container{
width: 50%;
background-color: white;
outline: 0.5px solid rgb(212, 206, 206);
height: 35rem;
display: flex;
justify-content: center;
box-shadow: 5px 10px #888888;
border-radius: 1rem;
margin-bottom: 5rem;
}
span{
color: red;
}
.message{
width: 90%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
background-color: white;
gap: 11px;
}
.name input, .email input,select{
width: 25rem;
height: 2rem;
border: 1px solid gray;
padding-left: 7px;
font-weight: bold;
}
.textarea textarea{
width: 25rem;
padding-left: 7px;
height: 10rem;
}
.textarea ,.name, .email,.select {
display: flex;
flex-direction: column;
}
.submit button{
background-color: transparent;
padding: 1rem 3rem;
border-radius: 1rem;
border: 1px solid #6e07f3;
cursor: pointer;
font-weight: bold;
display: flex;
margin: auto;
margin-top: 3rem;
}
.submit button:hover{
background-color: #6e07f3;
color: white;
transition: 0.5s ease-out;
}
.darkmode{
background-color: black;
transition: 0.5s ease-in-out;
}
.darkmode h1{
color: white;
}
@media (max-width: 950px) {
.message-caption h1{
width: 90%;
}
.body {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
margin: auto;
}
.container{
width: 90%;
min-width: 27rem;
display: flex;
justify-content: center;
align-items: center;
margin-top: 2rem;
height: 40rem;
}
.message input, textarea input,select input,label{
width: 95%;
display: flex;
margin: auto auto;
padding: 1rem 0;
padding-left: 11px;
}
.message textarea{
width: 95%;
display: flex;
margin: auto;
padding: 5px 0;
}
.message select{
color: black;
}
.submit{
margin-bottom: 3rem;
}
.submit button{
background-color: #6e07f3;
color: white;
width: 15rem;
border-radius: 1px;
display: flex;
justify-content: center;
}
}