-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
88 lines (74 loc) · 1.95 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
@import url('https://fonts.googleapis.com/css2?family=Allura&family=EB+Garamond:ital@1&family=Gwendolyn:wght@400;700&family=Inconsolata:[email protected]&display=swap');
* {
box-sizing: border-box; /* Ensures padding and border are included in the element's total width and height */
}
body {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 0;
margin: 0;
font-family: 'EB Garamond', serif;
font-style: italic;
font-weight: 400;
background-image: linear-gradient(to right, #987D9A, #EECEB9 50%, #987D9A);
width: 100%;
overflow-x: hidden; /* Prevent horizontal scrolling */
}
header {
display: flex;
justify-content: space-between;
background-color:#987D9A;
height: 100px;
width: 100%;
color: #921A40;
padding: 0;
position: sticky;
top: 0;
z-index: 1000;
}
.adj{
display:flex;
justify-content: center;
}
.fav{
font-size: 50px;
}
#count{
font-size: 50px;
}
.logo {
font-size: 75px;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
}
.col {
color:#5D0E41;
}
.library{
display: grid;
grid-template-columns: repeat(3,auto); /* Ensure columns share space evenly */
gap: 10px;
width: 100%;
}
.cinema {
padding-top: 5px;
padding-bottom: 10px;
word-wrap: break-word; /* Ensure long words break and wrap within the container */
overflow-wrap: break-word; /* Ensures that long words break within the column */
max-width: 100%; /* Prevents content from exceeding the column width */
text-align:center;
box-shadow:
5px 0px 5px rgba(0, 0, 0, 0.5),
-5px 0px 5px rgba(0, 0, 0, 0.5),
0px 5px 5px rgba(0, 0, 0, 0.5);
}
.cinema:hover{
transform: scale(1.1);
}
.cinema.img{
width:200px
}