-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtribute.css
59 lines (57 loc) · 801 Bytes
/
tribute.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
body {
margin: 0;
font-family: Arial, Helvetica, sans-serif;
background-color: white;
}
#main {
margin: 10px;
margin-top: 30px;
background-color: #f0f0f0;
display: grid;
grid-template-areas:
"header header header header"
". image image ."
". content content .";
}
.top {
grid-area: header;
text-align: center;
}
#title {
font-size: 40px;
}
.top p {
margin-top: -20px;
}
#img-div {
grid-area: image;
width: 2fr;
background-color: white;
padding: 20px;
margin: 20px;
}
#image {
width: 1fr;
height: 1fr;
}
#tribute-info {
grid-area: content;
text-align: center;
}
ul {
text-align: left;
width: 30%;
margin: 50px;
}
li {
margin: 20px;
}
@media screen and (min-width: 480px){
#image{
display:block;
max-width: 70%;
}
ul{
width:70%;
}
}