-
Notifications
You must be signed in to change notification settings - Fork 0
/
styleform.css
117 lines (111 loc) · 1.98 KB
/
styleform.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
:root {
--primary-color: linear-gradient(to top, #f0cb35, #c02425);
--secondary-color: hsla(48, 74%, 51%, 0.899);
--tertiary-color: #e65c00;
--font: "Dongle", sans-serif;
}
html {
height: 88%;
font-family: var(--font);
margin: 0;
padding: 0;
}
img {
width: 7%;
}
body {
background-color: var(--tertiary-color);
max-width: 100%;
height: 100%;
}
main {
min-height: 100%;
width: 100%;
position: relative;
}
.link-main-page {
display: flex;
flex-direction: row;
justify-content: center;
}
h1 {
border-bottom: solid 1px;
justify-content: center;
padding-bottom: 1rem;
text-align: center;
}
.checkbox {
height: 1rem;
display: flex;
align-items: center;
padding-top: 1rem;
}
.checkbox input {
margin-right: 1rem;
}
.add-rest-div {
text-align: center;
padding-bottom: 2rem;
padding-top: 2rem;
}
button {
width: 10rem;
padding-top: 2%;
padding-bottom: 2%;
}
.other {
height: 2.5rem;
}
#add-rest {
border-radius: 5px;
border-color: var(--tertiary-color);
background-color: var(--secondary-color);
}
#add-rest:hover {
background-color: var(--tertiary-color);
border-color: var(--secondary-color);
}
footer {
bottom: 0;
display: flex;
justify-content: space-between;
background-color: #c02425;
align-items: center;
padding: 0 10px;
border-top: solid 1px;
}
footer img {
width: 50px;
}
.corps-formulaire {
display: flex;
justify-content: center;
flex-wrap: wrap;
align-content: space-evenly;
flex-direction: column;
background-color: whitesmoke;
border-radius: 1rem;
margin: auto;
padding: 1rem 0 1rem 1rem;
}
@media screen and (min-width: 768px) {
.checkbox-media {
display: flex;
}
.checkbox {
height: 100%;
}
.corps-formulaire {
display: flex;
justify-content: center;
flex-wrap: wrap;
align-content: space-evenly;
flex-direction: column;
background-color: whitesmoke;
border-radius: 1rem;
width: 80%;
margin: auto;
padding-top: 1rem;
margin-bottom: 2%;
}
}