-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
82 lines (76 loc) · 1.19 KB
/
styles.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
/*Generic styling*/
* {
box-sizing: border-box;
}
header {
width: 100%;
}
h1, h2, h3 {
text-align: center;
font-family: Papyrus;
}
body {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
background: lightgray;
}
footer {
display: flex;
/*align-items: flex-end;*/
justify-content: center;
}
/*index.php*/
.dbItems {
width: 400px;
margin: 50px;
display: flex;
flex-direction: column;
align-items: center;
border: 3px solid black;
background: darkred;
text-align: center;
}
img {
height: 200px;
width: 200px;
}
p {
font-family: Copperplate;
}
/*form.php*/
.formHeader {
margin-bottom: 50px;
}
input {
width: 210px;
height: 30px;
display: flex;
flex-direction: column;
}
.form {
display: flex;
flex-direction: column;
}
form {
margin: 10px;
}
.inputs {
display: flex;
justify-content: space-around;
width: 100%;
}
.submit {
width: 70px;
display: flex;
justify-content: center;
align-items: center;
}
@media screen and (max-width: 895px) {
div {
width: 300px;
display: flex;
flex-direction: column;
align-items: center;
}
}