generated from Newton-School/html-css-js-project-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcheckout.css
150 lines (140 loc) · 2.44 KB
/
checkout.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
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
*{
box-sizing: border-box;
color: white;
}
body{
background-color: #9b9db1;
}
.navigation{
background-color: #78dfb6;
}
#back{
color: black;
margin: 0;
padding: 0;
}
.logo{
align-items: center;
text-align: center;
font-size: 3rem;
padding-bottom:10px;
}
a:link{
text-decoration: none;
color: green;
}
a:visited{
text-decoration: none;
color: green;
}
.main{
display: flex;
/* border: 1px solid black; */
justify-content: space-evenly;
padding-top:20px ;
}
h2{
text-align: center;
padding: 0;
margin: auto;
font-size: 3rem;
}
.summary,.paymentMethod{
border: 1px solid black;
background-color: #5ed6d6;
}
.summary{
width: 25%;
padding: 5px;
font-weight: bold;
position:static;
}
.paymentMethod{
width: 50%;
}
.summary h3{
text-align: center;
font-size: 20px;
}
.summary .movie-name, .price, .ticketCount, .fee, .total{
padding: 3px;
}
.summary .movie-name{
color: goldenrod;
font-size: 20px;
text-shadow:1px 1px 1px red;
}
.price{
display: flex;
justify-content: space-between;
margin-right: 5px;
}
.ticketCount{
display: flex;
justify-content: space-between;
margin-right: 7px;
}
.ticketCount input{
color: black;
}
.fee{
display: flex;
justify-content: space-between;
margin-right: 5px;
}
.total{
display: flex;
justify-content: space-between;
margin-right: 5px;
}
.paymentMethod{
padding: 5px;
line-height: 0.5;
}
form h3{
text-align: center;
}
form input{
color: black;
}
form button{
color: black;
width: 95%;
border-radius: 7px;
text-align: center;
cursor: pointer;
}
.paymentDetail{
display: flex;
flex-direction: column;
padding-top: 10px;
}
.paymentDetail div{
display: flex;
justify-content: space-evenly;
}
.submit{
background-color: #e2c24d;
}
#inputItem{
display: flex;
}
#inputItem input{
width: 60%;
}
#item{
display: flex;
}
#item label{
padding: 5px;
}
@media screen and (max-width: 900px) {
.ticketCount input {
color: black;
width: 50%;
}
}
@media screen and (max-width: 768px) {
}
@media screen and (max-width: 600px) {
}