-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyle.css
113 lines (92 loc) · 1.59 KB
/
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
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
body {
display: flex;
justify-content: center;
padding: 1em;
}
.container {
width: 100%;
display: grid;
grid-template-rows: 1fr 400px 400px 400px 400px 400px 400px 10px;
gap: 1em;
}
@media only screen and (min-width: 700px) {
.container {
width: 900px;
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: 80px 400px 400px 400px 10px;
gap: 1em;
}
}
.item {
border: .1rem solid black;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
background-color: rgb(240,240,240);
padding: 1em;
}
.item:hover {
background-color: rgb(220,220,220);
}
.header {
font-size: 80%;
}
@media only screen and (min-width: 700px) {
.header {
grid-column: 1 / 3;
font-size: 80%;
}
}
.header h1 {
margin: 0;
text-align: center;
}
.pic {
width: 100%;
height: 80%;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}
.title {
width: 100%;
margin-top: .5em;
display: flex;
justify-content: center;
align-items: center;
font-size: 1.5em;
}
a {
text-decoration: none;
text-align: center;
}
.footer {
}
@media only screen and (min-width: 700px) {
.footer {
grid-column: 1 / 3;
}
}
.footer .info {
text-align: center;
}
.mp1 .pic {
background-image: url("assets/mp1.png");
}
.mp2-1 .pic {
background-image: url("assets/mp2-1.png");
}
.mp2-2 .pic {
background-image: url("assets/mp2-2.png");
}
.mp3 .pic {
background-image: url("assets/mp3.png");
}
.mp4 .pic {
background-image: url("assets/mp4.png");
}
.project .pic {
background-image: url("assets/project.png");
}