-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
130 lines (122 loc) · 2.27 KB
/
style.css
File metadata and controls
130 lines (122 loc) · 2.27 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
*{
padding: 0;
margin: 0;
font-family: sans-serif;
box-sizing: border-box;
}
.top{
background-color: #c1ed13;
font-size: 10px;
min-height: 20px;
line-height: 20px;
}
.top h4{
padding-left: 10px;
}
.nav{
background-color: #fff;
padding: 10px 0;
display: flex;
justify-content: center;
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}
.container{
display: flex;
background-color: #fff;
min-height: 75vh;
width: 97%;
margin: 20px auto 0;
padding: 0 50px;
}
.left{
display: flex;
flex-direction: column;
flex-basis: 50%;
}
.box{
width: 95%;
min-height: 160px;
background-color: #c1ed13;
margin: 5px auto;
display: flex;
padding: 10px;
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}
.box img{
height: 150px;
width: 200px;
margin-right: 20px;
}
.info button{
max-height: 30px;
padding: 5px 7px;
margin-top: 18px;
transition-duration: 200ms;
}
.info button:hover{
scale: 1.05;
}
.pic{
display: flex;
}
.info{
display: flex;
flex-direction: column;
padding: 10px 15px 0;
}
.right{
display: flex;
flex-basis: 50%;
}
.display{
width: 90%;
height: 530px;
background-color: #c1ed13;
margin: 5px auto;
display: flex;
flex-direction: column;
padding: 10px;
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}
.image_from_API{
display: flex;
margin: auto;
}
.image_from_API img{
max-height: 500px;
max-width: 500px;
}
@media screen and (max-width: 600px){
body{
width: 100vh;
display: flex;
flex-direction: column;
}
.container{
display: block;
}
.info h4{
font-size: 10px;
}
.pic img{
width: 100px;
height: 105px;
margin: auto;
}
.display{
display: flex;
flex-direction: column;
justify-content: center;
width: 470px;
max-height: 400px;
margin-top: 20px;
}
.image_from_API img{
display: flex;
justify-content: center;
height: 380px;
width: 380px;
padding: 0;
margin: 0;
}
}