forked from CodeYourFuture/HTML-CSS-Module-Project
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstore.css
More file actions
171 lines (134 loc) · 2.57 KB
/
store.css
File metadata and controls
171 lines (134 loc) · 2.57 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
170
171
/* ---------- Header style ---------- */
nav li:nth-child(3) a {
color: var(--dark-orange);
}
header {
border-bottom: var(--soft-grey) solid 1px;
}
/* ---------- Main style ---------- */
main {
display: flex;
height: 95vh;
background-color: var(--main-white);
}
/* ---------- Main style (SECTION LEFT) ---------- */
.left-section {
width: 50%;
padding: 50px 5vw 30px 5vw;
}
.left-section h1 {
color: var(--dark-orange);
}
form {
display: flex;
flex-direction: column;
}
fieldset {
border: none;
padding: 0;
margin: 0;
}
fieldset div {
margin-bottom: 20px;
display: flex;
flex-direction: column;
}
label {
color: var(--dark-grey);
font-size: 0.8rem;
font-weight: 500;
margin-bottom: 0.5em;
}
input {
border: 1px solid var(--dark-grey);
border-radius: 3px;
padding: 7px;
width: 100%;
}
/* ---------- Name and address style (SECTION LEFT) ---------- */
.name-fieldset {
width: 100%;
display: flex;
gap: 15px;
justify-content: space-between;
}
.name-fieldset div {
flex: 1;
}
.city-postcode-div {
width: 100%;
gap: 15px;
flex-direction: row;
}
.city-container {
width: 65%;
}
.postcode-div {
width: 35%;
}
/* ---------- Radio style (SECTION LEFT) ---------- */
.color-fieldset p {
color: var(--dark-grey);
font-size: 0.8rem;
font-weight: 500;
margin-bottom: 1em;
}
.color-fieldset div {
flex-direction: row;
}
.color-fieldset input {
width: min-content;
accent-color: var(--dark-orange);
}
.color-fieldset input:checked {
background-color: var(--dark-orange);
}
.color-fieldset label {
margin-left: 10px;
margin-bottom: 0;
}
.color-radio-div {
gap: 15px;
}
/* ---------- Checkbox style (SECTION LEFT) ---------- */
.terms-fieldset {
display: flex;
flex-direction: row;
}
#terms {
width: min-content;
}
.terms-fieldset label {
margin-left: 10px;
margin-bottom: 0;
font-weight: 400;
}
.terms-fieldset input {
accent-color: var(--dark-orange);
}
.terms-fieldset a {
color: var(--dark-orange);
}
/* ---------- Button style (SECTION RIGHT) ---------- */
.orange-button {
padding: 0.7em;
background-color: var(--dark-orange);
color: var(--main-white);
border-radius: 3px;
font-size: 1.3rem;
margin-top: 20px;
border: none;
width: 50%;
}
/* ---------- Main style (SECTION RIGHT) ---------- */
.right-section {
width: 50%;
background-image: url("../level-2/store-image_by-andrew-neel-unsplash.jpg");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
/* ---------- Footer style ---------- */
footer {
background-color: var(--main-white);
}