-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
61 lines (47 loc) · 823 Bytes
/
style.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
body{
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
li {
text-decoration: none;
display: inline;
padding: 5px;
}
li:hover{
cursor: pointer;
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
}
article{
width: 40%;
margin-right: auto;
margin-left: auto;
text-align: center;
}
.card {
/* Add shadows to create the "card" effect */
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
transition: 0.3s;
height: 60vh;
padding: 20px;
position: relative;
clear: both;
}
/* On mouse-over, add a deeper shadow */
.card:hover {
box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}
sub{
position: absolute;
bottom: 5%;
right: 30%;
left: 30%;
}
img{
width: 50%;
}
p{
margin-top: 10%;
}