-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
127 lines (109 loc) · 1.99 KB
/
style.css
File metadata and controls
127 lines (109 loc) · 1.99 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
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
display: grid;
grid-template-rows: auto 1fr auto;
background-image: url('pixabay.jpg');
background-size: cover;
background-repeat: no-repeat;
background-position: center;
max-width: 100%;
height: 100vh;
background-attachment: fixed;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
header {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 0px;
}
#heading {
color: white;
}
#word1 {
animation: fade 1s ease-in-out forwards;
}
#word2 {
animation: fade 1s ease-in-out 1s forwards;
}
#word3 {
animation: fade 2s ease-in-out 2s forwards;
}
#search-form input,
#colors,
#Go {
border-radius: 5px;
}
#image-container {
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
margin-left: 50px;
margin-right: 50px;
margin-top: 20px;
}
@keyframes fade {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.image-item {
display: flex;
flex-direction: column;
align-items: center;
margin: 5px;
text-align: center;
animation: fade 1s;
}
.image-item img {
width: 200px;
height: 200px;
margin: 5px;
border: solid 5px white;
border-radius: 10px;
margin-left: 20px;
margin-right: 20px;
background-color: white;
}
.image-item p {
color: white;
width: 200px;
}
footer {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
}
#turn-page {
display: flex;
justify-content: space-between;
align-items: center;
width: 230px;
gap: 20px;
}
#next-page {
display: none;
border-radius: 5px;
width: 80px;
margin-left: auto;
}
#previous-page {
display: none;
border-radius: 5px;
width: 100px;
margin-left: auto;
}
@media screen and (max-width: 800px) {
body {
background-image: url(pixabay_smaller.jpg);
}
}