-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
113 lines (94 loc) · 1.51 KB
/
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
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
body {
margin: 0;
font-family: 'Nanum Gothic', sans-serif;
}
.logo {
width: 100px;
margin-top: -40px;
}
.nav {
display: flex;
justify-content: center;
padding: 20px 0;
}
ul {
display: flex;
}
li {
list-style-type: none;
padding: 20px;
}
.row {
display: flex;
}
.container {
width: 20%;
position: relative;
padding: 2px;
transition: transform 500ms;
display: block;
}
.container img {
width: 100%;
opacity: 1;
height: auto;
display: block;
}
.row .container:focus,
.row .container:hover {
transform: scale(1.5);
z-index: 1;
}
.middle {
transition: .5s ease;
opacity: 0;
position: absolute;
top: 50%;
transform: translate(-50%, -50%);
left: 50%;
width: 50%;
height: 50%;
text-align: center;
}
.container:hover .middle {
opacity: 1;
}
.text {
color: white;
font-size: 16px;
padding: 16px 32px;
}
.footer {
display: flex;
justify-content: center;
position: fixed;
bottom: 0;
padding: 30px 0;
width: 100%;
}
a {
text-decoration: none;
color: black;
}
@media only screen and (max-width: 1500px) {
.text {
font-size: 10px;
padding: 32px 16px;
}
}
@media only screen and (max-width: 800px) {
.extra-item {
display: none;
}
.container {
width: 100%;
}
.row .container:focus,
.row .container:hover {
transform: none;
z-index: 1;
}
.footer {
position: relative;
}
}