-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
86 lines (85 loc) · 1.48 KB
/
style.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
* /* this will replace all the default settings of browser with the below one */
{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body
{
background-color: #ccc;
}
.container /*class selector*/
{
max-width: 900px;
margin: 0 auto; /*auto-fit*/
}
.apply_box
{
max-width: 600px;
padding: 20px;
background-color: white;
margin: 0 auto;
margin-top: 50px;
box-shadow: 4px 3px 5px rgba(1,1,1,0.1); /*left right top rgba*/
}
.form_container
{
margin-top: 20px;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
}
.form_control
{
display: flex;
flex-direction: column;
}
input,
select,
textarea
{
padding: 6px 10px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 15px;
}
input:focus
{
outline-color: red;
}
.button_container
{
display: flex;
justify-content: flex-end;
margin-top: 20px;
}
button
{
background-color: red;
border: transparent solid 2px;
padding: 5px 10px;
border-radius: 8px;
transition:0.3s ease-in;
}
button:hover
{
background-color: #ccc;
border: 2px solid yellow;
color: black;
transition: 0.3s ease-out;
}
.textarea_control
{
grid-column: 1/span 2;
}
.textarea_control textarea
{
width: 100%;
}
@media(max-width: 460px) /* To make it mobbile compatible */
{
.textarea_control
{
grid-column: 1/ span 1;
}
};