-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
70 lines (70 loc) · 996 Bytes
/
styles.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
@font-face {
font-family: 'Great Day';
src: url('GreatDay.ttf') format('truetype');
}
body {
margin: 0;
background-image: url("slothbkg.jpg");
}
main {
position: relative;
top: 5em;
margin: auto;
background-color: white;
max-width: 70%;
}
figure {
display: inline-block;
width: min-content;
vertical-align: top;
outline: 1px solid black;
outline-offset: 1em;
min-height: 100%;
}
h2 {
font-family: 'Great Day';
}
section, footer {
display: block;
position: relative;
margin: 2em;
}
img {
height: 200px;
width: 400px;
object-fit: cover;
}
footer {
position: relative;
width: 100%;
margin: 0;
padding: 2em 0;
background: hsla(180, 0%, 30%, .5);
}
footer p {
margin: auto;
text-align: center;
}
h1 {
margin: auto;
display: block;
}
#maintitle {
text-align: center;
padding-top: 1em;
}
table {
margin: 16px auto;
}
@media only screen and (max-width : 600px) {
main {
max-width: 100%;
}
figure {
width: 80%;
}
img {
width: 90%;
height: auto;
}
}