forked from PriscaTonia/Animal-Trading-Card
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanimalTcard.css
86 lines (78 loc) · 1.52 KB
/
animalTcard.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* style the containers(divs) first mostly using Flexbox model*/
#img-container{
display: flex;
justify-content: center;
width: 100%;
height: 50%;
}
#details-container{
display: flex;
align-content: center;
text-align: justify;
padding: 5px;
font-family: cursive;
}
#properties-container{
display: flex;
text-align: center;
justify-content: space-around;
border: 1px solid transparent;
padding: 5px;
}
img{
width: 100%;
height: 300px;
max-width: 100%;
}
/* style the elements */
hr{
margin: 5px;
}
li {
list-style-type: none;
padding: 10px;
}
span{
font-family: cursive;
}
h2{
font-size: 1em;
text-align: center;
}
body{
background-color: white;
display: flex;
align-items: center;
justify-content: center;
justify-items: center;
}
main{
width: 320px;
height: 700px;
background-color: /*rgb(3, 44, 46);*/white;
box-shadow: 5px 5px 5px 5px #9c9a9a;
border: 1px solid black;
border-radius: 8px ;
color: rgb(10, 10, 10);
}
footer{
display: flex;
justify-content: center;
border: 1px solid black;
box-shadow: 5px 5px 5px 5px #9c9a9a
}
button{
background-color: gray;
border-radius: 10px;
color: black;
font-size: 1em;
font-family: cursive;
}
button:hover{
background-color:rgb(109, 58, 58);
}