-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
75 lines (58 loc) · 1.28 KB
/
style.css
File metadata and controls
75 lines (58 loc) · 1.28 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background-color: #0c1524;
/* padding-top: 80px; */
}
#header{
position:fixed;
z-index:1;
width:100%;
}
#close:hover{
cursor: pointer;
background-color: red;
}
#img{
height: 400px;
border-radius: 15px;
}
#eve{
font-size: 3rem;
font-weight: bold;
color: white;
}
@media(max-width:780px){
#story{
height: auto;
display: flex;
flex-direction: column;
}
#bod{
width: 100%;
}
}
#cpre:hover{
cursor:pointer ;
background-color:pink;
}
#hlink:hover{
color: blue;
}
#logo{
width: 200px;
height: 80px;
border-radius: 15px;
}
.cpre {
transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth animation */
cursor: pointer; /* Changes mouse to pointer */
}
.cpre:hover {
transform: scale(1.1); /* Increases size by 10% */
box-shadow: 0 10px 20px rgba(0,0,0,0.3); /* Optional: Adds a shadow for depth */
z-index: 10; /* Ensures the card pops on top of others */
}