-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
117 lines (106 loc) · 1.65 KB
/
style.css
File metadata and controls
117 lines (106 loc) · 1.65 KB
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
114
115
116
117
* {
box-sizing: border-box;
}
body {
margin: 0;
padding: 2em;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background: #fff;
color: #222;
font-family: 'Inconsolata', monospace;
padding-bottom: 20vh;
}
a:link,
a:active,
a:hover,
a:visited {
color: #333;
transition: 0.1s all;
}
a:hover {
font-weight: bold;
}
.code,
.header {
text-align: center;
max-width: 480px;
width: 80%;
margin: 1em 0;
}
.avatar {
border-radius: 100%;
}
.feed {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: flex-start;
justify-content: center;
width: 100%;
max-width: 960px;
margin: 1em 0;
min-height: 50vh;
}
.item {
position: relative;
width: 30vh;
/* height: 30vh; */
margin: 1em;
overflow: hidden;
transition: 0.5s all;
font-size: 1.5vh;
}
img {
max-width: 100%;
max-height: 100%;
}
iframe {
border: none;
width: 100%;
height: 100%;
overflow: hidden;
transition: 0.5s all;
background: inherit;
}
.display {
position: relative;
height: 30vh;
width: 30vh;
overflow: hidden;
}
.display:hover {
background-image: none !important;
}
.display:hover::before {
content: '';
position: absolute;
width: 1em;
height: 1em;
border-radius: 1em;
background: #333;
animation-timing-function: cubic-bezier(0, 1, 1, 0);
left: calc(50% - 0.5em);
top: calc(50% - 0.5em);
animation: scaleUp 1s infinite;
z-index: -1;
}
.info {
text-align: center;
opacity: 0;
transition: opacity 0.5s;
}
.item:hover .info {
opacity: 1;
}
@keyframes scaleUp {
0% {
transform: scale(0);
}
100% {
transform: scale(1);
}
}