-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathstyles.css
85 lines (74 loc) · 1.23 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
width: 100vw;
height: 100vh;
background-color: #D6001C;
font-family: sans-serif;
color: white;
overflow: hidden;
}
h1 {
text-align: center;
margin-top: 5vmin;
}
#calendar {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
position: relative;
}
.house-img {
height: 90vmin;
}
.doors {
position: absolute;
margin-top: 8vmin;
margin-left: -10vmin;
width: 43vmin;
display: grid;
gap: 1vmin;
grid-template-columns: repeat(5, 1fr);
}
.doors .door {
width: 10vmin;
height: 10vmin;
display: flex;
justify-content: center;
align-items: center;
position: relative;
cursor: pointer;
overflow: hidden;
}
.doors .door .door-number {
position: absolute;
display: block;
background: #CDB69D;
width: 4vmin;
height: 4vmin;
font-family: sans-serif;
color: black;
font-size: 5vmin;
margin-top: -4vmin;
margin-left: -1vmin;
text-align: center;
}
.doors .door img {
width: 100%;
}
.doors .door:hover {
overflow: visible;
z-index: 9999;
}
.doors .door img.bird-image {
transition-duration: 2s;
}
.doors .door img.bird-image:hover {
transform: scale(3);
z-index: 9999;
}