-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
105 lines (89 loc) · 1.52 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
body {
background-image: url('./static/pixel_plant_big.png');
background-repeat: no-repeat;
/*background-attachment: fixed; */
background-size: cover;
margin-top: 1500px;
background-position: center top;
}
/*google photos: https://www.publicalbum.org/blog/embedding-google-photos-image*/
/* paired images*/
* {
box-sizing: border-box;
}
p {
font-size: 20px;
font-family: sans-serif;
color: #6439a9;
}
.container {
padding: 50px 30px;
width: 100%;
margin: 0 auto;
max-width: 500px;
}
.image-stack {
display: grid;
position: relative;
grid-template-columns: repeat(12, 1fr);
}
/*right top*/
.image-stack__item--rt {
grid-row: 1;
grid-column: 1 / span 8;
padding-top: 40%;
z-index: 1;
}
/*left bottom*/
.image-stack__item--lb {
grid-row: 1;
grid-column: 4 / -1;
}
/*right bottom*/
.image-stack__item--rb {
grid-row: 1;
grid-column: 4 / -1;
padding-top: 40%;
z-index: 1;
}
/*left-top*/
.image-stack__item--lt {
grid-row: 1;
grid-column: 1 / span 8;
}
img {
width: 100%;
display: block;
}
/*zooming*/
* {
box-sizing: border-box;
}
.zoom {
/*padding: 50px;*/
/*background-color: none;*/
/*transition: transform .2s;*/
width: 200px;
/*height: 200px;*/
margin: 0 auto;
}
.zoom:hover {
-ms-transform: scale(2.5); /* IE 9 */
-webkit-transform: scale(2.5); /* Safari 3-8 */
transform: scale(2.5);
}
/*fadein*/
#container
{
height:2000px;
}
#container DIV
{
/*margin:50px; */
/*padding:50px; */
background-color:pink;
}
.fadein
{
opacity:0;
}