-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
63 lines (54 loc) · 897 Bytes
/
index.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
* {
box-sizing: border-box;
}
body {
font-family: sans-serif;
margin: 0;
}
ul {
list-style-type: none;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
margin: 0;
}
h1 {
color: #333;
}
a {
display: inline-block;
margin: 20px;
width: 300px;
max-width: 300px;
max-height: 320px;
overflow: auto;
-webkit-box-shadow: 0 0 5px 1px rgba(155,155,155,0.2);
box-shadow: 0 0 5px 1px rgba(155,155,155,0.2);
transition: box-shadow 0.5s;
}
li a:hover,
li a:focus,
li a:active {
box-shadow: 0 0 20px 1px rgba(5,5,5,0.2);
transition: box-shadow 0.5s;
}
.container, a {
width: 100%;
height: 100%;
}
.container img {
width: 100%;
vertical-align: bottom;
}
main {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
flex-direction: column;
}
.heading {
text-align: center;
}