-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
52 lines (52 loc) · 1.39 KB
/
Copy pathstyle.css
File metadata and controls
52 lines (52 loc) · 1.39 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
@import url('https://fonts.googleapis.com/css2?family=Sansita+Swashed&display=swap');
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: 'Sansita Swashed', cursive;
}
.mainDiv {
width: 100%;
height: 100vh;
position: relative;
background-color: #fafafa;
}
.centerDiv {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-51%, -50%);
text-align: center;
}
h1 {
text-transform: capitalize;
margin-bottom: 30px;
color: #424242;
text-shadow: 1px 2px 3px #BDBDBD;
font-size: 2.1rem;
}
h2 {
text-align: center;
}
textarea {
height: 150px;
width: 100%;
background-color: #EEEEEE;
box-shadow: 0 0 1px rgba(0,0,0,0.2);
border-radius: 10px 10px 0 0;
border: 20px solid #E0E0E0;
color: #424242;
outline-color: #EEEEEE;
resize: none;
}
.mainbtn {
padding: 10px 20px;
border-radius: 20px;
border: 5px solid #E0E0E0;
background-color: #ecf0f1;
font-size: 1rem;
cursor: pointer;
}
@media only screen and (max-width: 768px) {h1 {font-size: 1.8rem;}}
@media only screen and (max-width: 425px) {h1 {font-size: 16px;}#msg {font-size: 11px;}textarea {padding: 5px;height: 100px;border: 10px solid #E0E0E0;}.mainbtn {padding: 5px 15px;}p {font-size: 13px;}}
@media only screen and (max-width: 375px) {#msg {font-size: 12px;}p {font-size: 12px;}}