-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
95 lines (80 loc) · 1.39 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
87
88
89
90
91
92
93
94
95
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: #ccc;
}
.container {
max-width: 900px;
margin: 0 auto;
}
.project_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);
border-radius: 10px;
}
.title {
font-size: 18px;
}
.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;
margin-bottom: 5px;
}
label {
font-size: 15px;
}
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: end;
margin-top: 20px;
}
button {
background-color: red;
border: transparent solid 2px;
padding: 5px 10px;
color: white;
border-radius: 8px;
transition: 0.3s ease-in;
}
button:hover {
background-color: blue;
border: 2px solid red;
color: black;
transition: 0.3s ease-out;
cursor: pointer;
}
.textarea_control {
grid-column: 1 /span 2;
}
.textarea_control textarea {
width: 100%;
}
@media (max-width:460px) {
.textarea_control {
grid-column: 1 /span 1;
}
}