-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdiary.css
More file actions
65 lines (55 loc) · 1.31 KB
/
diary.css
File metadata and controls
65 lines (55 loc) · 1.31 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
body {
background-color: #b38e67;
background-image: url("./images/patternsbg/madraschecks.jpg");
background-repeat: repeat;
background-size:15% auto;
margin: 0;
background-repeat: repeat; /*(default) image tiles horizontally + vertically until it fills the element.*/
/* height: 100vh; */
text-align:justify;
letter-spacing: 2px;
margin:0;padding:0;
}
/* .diary-container {
width: 115vh;
height: 80vh; adjust to what looks good
overflow: hidden;
align-items: center;
}
.diary-container iframe {
width: 100%;
height: 100%;
border: none;
} */
.iframe-wrapper {
display: flex;
justify-content: center; /* centers horizontally */
padding: 2em 0; /*space from top*/
}
.iframe-wrapper iframe {
width: 822px;
height: 600px;
border: none;
border-radius: 20px; /* smooth rounded corners */
}
.music-button {
position: fixed;
bottom: 30px;
right: 30px;
width: 100px;
height: 100px;
cursor: pointer;
animation: bobbing 2s ease-in-out infinite;
transition: transform 0.2s;
}
.music-button:hover {
transform: scale(1.1);
}
@keyframes bobbing {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-10px);
}
}